OnDataBinding firing before OnLoad of a CustomGridViewControl in a UserControl?
- by OutOFTouch
Hi,
I have a CustomGridViewControl that is on a UserControl, the UserControl is loaded outside of the Page_Init when a treeview in the page is clicked that changes the view, than on subsequent postbacks the UserControl is loaded in Page_Init.
The custom gridview is bound to a dataview that is dynamically retrieved.
Problem is that the OnDataBinding of the CustomGridView is firing before the OnLoad of the CustomGridView, which is causing me to not be able to get embedded resource urls.
Any suggestions?
Thanks!