OnDataBinding firing before OnLoad of a CustomGridViewControl in a UserControl?
Posted
by OutOFTouch
on Stack Overflow
See other posts from Stack Overflow
or by OutOFTouch
Published on 2010-04-07T23:18:52Z
Indexed on
2010/04/07
23:23 UTC
Read the original article
Hit count: 233
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!
© Stack Overflow or respective owner