Hi guys! This is my first post here
I have this really nagging problem which is driving me crazy for 3 days already.Thought I would come here and post the question in case someone can help!
I have a created a WebUserControl called AddEditPanel. In the usercontrol I have several text fields and one update button, which, when called is supposed to update some record in the database .
And then I call that usercontrol dynamically from the mother page. The control loads just fine. ONLY PROBLEM IS THAT I CAN NOT FIND ANY WAY TO CATCH THE BUTTON-CLICK EVENT IN THE MOTHER PAGE. NO MATTER WAHT I DO, THE PAGE JUST DOES A POST BACK AND THATS ALL.
I have searched the net and this forum and other forums as well. But none of them quite addresses the problem that I am facing.
Pleasee help me out.
Thanks to all in advance
I have this really nagging problem which is driving me crazy for 3 days already.Thought I would come here and post the question in case someone can help!
I have a created a WebUserControl called AddEditPanel. In the usercontrol I have several text fields and one update button, which, when called is supposed to update some record in the database .
And then I call that usercontrol dynamically from the mother page. The control loads just fine. ONLY PROBLEM IS THAT I CAN NOT FIND ANY WAY TO CATCH THE BUTTON-CLICK EVENT IN THE MOTHER PAGE. NO MATTER WAHT I DO, THE PAGE JUST DOES A POST BACK AND THATS ALL.
I have searched the net and this forum and other forums as well. But none of them quite addresses the problem that I am facing.
Pleasee help me out.
Thanks to all in advance
Comment