Hi
I have an interesting problem that is driving me mad!
I have a user control, which contains a button. This button fires an event which runs in the code behind. However, when I load the control, the first time I press the button, it posts back (and goes into the Page_Load method), but fails to run it's own event code. If I press it again, it runs the code as it it supposed to.
I do not seem to be getting this problem in any other controls I have (and I have quite a few!).
Anybody any ideas about this one?
Thanks
I have an interesting problem that is driving me mad!
I have a user control, which contains a button. This button fires an event which runs in the code behind. However, when I load the control, the first time I press the button, it posts back (and goes into the Page_Load method), but fails to run it's own event code. If I press it again, it runs the code as it it supposed to.
I do not seem to be getting this problem in any other controls I have (and I have quite a few!).
Anybody any ideas about this one?
Thanks