D
Danny Bloodworth
I have a usercontrol (login.ascx) that is very simple. It accepts
input through two textboxes, and then the user clicks an Imagebutton
to submit.
I have a parent form that checks the page security (security level
needed) against current user security (stored in the context object)
and
if user security >= level needed to view page then
dynamically loads a content control and displays content
else
dynamically loads the login control
end if
The problem is that when I dynamically load the login control (into an
HTML table cell BTW), the ImageButton_Click event will not fire. It
simply posts the page back to the browser.
I've spent the entire day reading newsgroup posts about things like
eventbubbling, adding handlers, etc., but so far I just don't get it.
Can someone give me a "VB" answer to allowing the login control's
imagebutton event to fire?
input through two textboxes, and then the user clicks an Imagebutton
to submit.
I have a parent form that checks the page security (security level
needed) against current user security (stored in the context object)
and
if user security >= level needed to view page then
dynamically loads a content control and displays content
else
dynamically loads the login control
end if
The problem is that when I dynamically load the login control (into an
HTML table cell BTW), the ImageButton_Click event will not fire. It
simply posts the page back to the browser.
I've spent the entire day reading newsgroup posts about things like
eventbubbling, adding handlers, etc., but so far I just don't get it.
Can someone give me a "VB" answer to allowing the login control's
imagebutton event to fire?