web controls and web user control

i have a problem in a web form ,

I have a webform that contains a web user control which in turn contains a html input form ,the web control events don't fire up ,When I click button ,no effect ,I don't know what is the effect of the html form which is in the web user control on the web controls in the web form ??
can any one help me
0 a_sherbeeny 11/30/2004 3:19:42 AM
the web control event should be handle in the code behind page, is the event handler for the button you are clicking registered? You can try double clicking the button, should give you the default btn_click event handler in code behind. 

Also, make sure you have added a server control button, with runat=server in the html.
The web user control with a html is just a sort of embedded html you can reuse, if the button is not there, you don't have to worry about it, if the button is there, the event handler should be in the code behind of that web user control

Choice, the problem is choice - Neo
0 yuehoong 11/30/2004 7:35:21 AM

(Thread closed)