PROKA Posted March 13, 2007 Posted March 13, 2007 (edited) Ok so I have a user control with a button and a label. When you click the button, it writes something into the label's .text field. Nothing unusual up 'till now. I load this control dynamically in a page, on a button_click event. When I click the button in the control, it doesn't change the label text. If I load it on page_load, instead of the button's Click event, it works. I have never been familiar with aspn's postbacks and all... Please help me, see attached files. Later Edit: You may also use Ajax Extensions as a resolution for this.WebApplication2.zip Edited March 13, 2007 by PlausiblyDamp Quote Development & Research Department @ Elven Soft
mandelbrot Posted March 14, 2007 Posted March 14, 2007 You don't appaer to have a definition for Panel1... Protected WithEvents Panel1 As Web.UI.WebControls.Panel Could this be the cause? (I'm afraid I'm only using 2003, so I can't run your app). Paul. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.