| | |
Event Handler
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2005
Posts: 5
Reputation:
Solved Threads: 0
Hello,
I am facing problem with event handling.
Most elementary used to be …………. “Click any where on the Form “
But the problem is , that with VB.NET , the Page_Load , form1_Load , MyBase_Load , Me_Load ……………………. None of these events has an Onclick event . Every thing has to be handled through a button_Click event.
I an interested , that single click , directly on the home page , which is an JPG image , may direct me to another page of the site , ( say Login ) .
Please help me with this event handling problem , or suggest some alternative for redirecting without a link button.
Thanks.
Abdul Hayee.
I am facing problem with event handling.
Most elementary used to be …………. “Click any where on the Form “
But the problem is , that with VB.NET , the Page_Load , form1_Load , MyBase_Load , Me_Load ……………………. None of these events has an Onclick event . Every thing has to be handled through a button_Click event.
I an interested , that single click , directly on the home page , which is an JPG image , may direct me to another page of the site , ( say Login ) .
Please help me with this event handling problem , or suggest some alternative for redirecting without a link button.
Thanks.
Abdul Hayee.
Last edited by peter_budo; Apr 11th, 2008 at 9:12 pm. Reason: No need for bold text...
•
•
Join Date: Jan 2005
Posts: 5
Reputation:
Solved Threads: 0
Hello !
Thanks for reply .
I just want , to work without any controls ..............
Just click any where on the Form/Page , that is what a web page is.
A solution came to my mind.
1. make a large button of the From size ,
2. make the property transparent.
3. add a button_click event.
But it looks too crude .
There must be some nicer way
Clicking any where is so common a feature .
I do not know why it is not on web sites.
I am still searching on other engines.
Let me know if you find one.
Regards,
Abdul Hayee.
Thanks for reply .
I just want , to work without any controls ..............
Just click any where on the Form/Page , that is what a web page is.
A solution came to my mind.
1. make a large button of the From size ,
2. make the property transparent.
3. add a button_click event.
But it looks too crude .
There must be some nicer way
Clicking any where is so common a feature .
I do not know why it is not on web sites.
I am still searching on other engines.
Let me know if you find one.
Regards,
Abdul Hayee.
Last edited by peter_budo; Apr 11th, 2008 at 9:13 pm. Reason: No need for bold text
it doesnt sound like you need anything more complicated then a image wrapped in a link to your page.
ASP.NET Syntax (Toggle Plain Text)
<a href="homepage2"><img /></a>
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: Textarea Value
- Next Thread: Object reference not set to an instance of an object.
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 activexcontrol ajax alltypeofvideos anathor appliances application asp asp.net bc30451 beginner box browser button c# cac checkbox commonfunctions complex dataaccesslayer database datagridview datagridviewcheckbox datalist development dgv dialog dropdownlist dynamically edit editing expose feedback fileuploader fill flash form formatdecimal formview google gridview gudi iis image javascript list listbox login microsoft migration mouse mssql news numerical opera panelmasterpagebuttoncontrols parent problem project radio redirect registration relationaldatabases reportemail response.redirect richtextbox rows save schoolproject search security select session sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio web webapplications webdevelopemnt webprogramming webservice xsl youareanotmemberofthedebuggerusers





