如何从一个页面导航到另一个页面? [英] How to get navigated to another page from one?

查看:140
本文介绍了如何从一个页面导航到另一个页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用asp.net C#,因为我创建了一个欢迎页面和另一个主页。

只有欢迎页面上的图像,我希望当用户点击任何地方欢迎页面他被定向到主页,

所以请帮助我如何做到这一点。

i不想使用任何按钮..只需点击图像上的任何地方重定向到另一页

I am working on asp.net C#, as i had created one welcome page and another home page.
there is only on image on welcome page and i want that when user clicks anywhere on welcome page he is directed to home page,
so please help me how can i do this.
i dont want to use any button..just clicking anywhere on image it redirects to another page

推荐答案

你能用:asp:ImageButton Control

[http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.imagebutton.aspx [ ^ ]
Can you use: asp:ImageButton Control
[http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.imagebutton.aspx[^]


JUST ADD <a href="your page url to redirect"> YOUR IMAGE HTML </a>


这篇关于如何从一个页面导航到另一个页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆