Hi
I have a user control, which contains a button and gridview. When the user control is loaded in the browser it runs without error. However, when I click the button the button and the gridview simply disappears off the page.
When I view the page on the screen in view source, I noticed that the button doesn't have a unique id. Therefore, I think this may be my problem. Further, when I add a break point to the button, and run in debug mode, the break point is never reached!
The user control that I am having trouble is added to a collection object, which is also itself a user control. The collection object, when I add a button to it directly is fine.
Has anyone come across this problem before? Is the problem unique ids? If so, how do you assign unique ids to user control, and ensure uniqueness when the control is added to a collection?
...
Go to the complete details ...