Posted on: 3/29/2012 3:38:12 AM | Views : 377

Hi,
In my web page, I have used a FormView which is bind with ObjectDataSource.
Within InsertItemTemplate, I have used one user control which is having some custom properties which are mapped with objectdatasource fields using Bind and Eval.
The user control is having some code in Page_Load event, that checks some properties of the same user control instance.
But the problem is that, the Page_Load event gets fired prior to DataBinding and so the user control is throwing error.
It works fine if I pass static values in properties during declaration.
Any idea of how we can resolve this issue?
Thanks

...

Go to the complete details ...