-
automatic refresh
Is there a way to automatically refresh background images on dynamically created tab pages without having to click a button. This is the scenario. Each tab that is created has calendars that can be scrolled through via a 'forward' and 'backward' button. When I go back to a tab page that I have previously created at run time, a refresh would occur if I could automatically press the 'Forward' then 'Backward' buttons, or vice versa. Is there code that will automatically click buttons???
Thanks
-Spectrum
-
-
My fault, Visual Basic.net.....The thing is is that in order to get buttons on my dynamic tab pages to perform, you have to add the addhandler for the button.....Now with that in mind, how can I automatically click those buttons each time I scroll through any of the dynamic pages already created at run time???
-
You just call the click event or whatever method is handling it and pass whatever parameters it needs.
HandleOnClick(tbpWhatever,EventArtgs.Empty)