Hi all,
I have a default.aspx page which has several web user controls (ascx) on it.
On one of these controls in the pre-render there is some code to populate a dropdownlist. There is a button that is on the default.aspx page.
When I click the button on the default page, the Page_PreRender on the ascx fires too and populates the dropdownlist, my problem is that I do not want to run the code that populates the ddl at the button click time. I need some way to find out in the Page_PreRender code (in the ascx) if the underlying event was a button click, I dont know if this is even possible, any help with this would be much appreciated.
Cheers
PR
...
Go to the complete details ...