Last post Jul 27, 2013 09:06 PM by Prashant Kumar
Jul 27, 2013 02:26 PM|Volar|LINK
I have 10 gridviews attached to 10 objectdatasource that have a parameter.
If I don't say anything, this parameter is null. Ok
Sometimes I put a value to the parameter in page_load. But it fails and act as if I do not give the parameter. I concluded I can't give the parameter in page_load because the objectdatasources are not loaded yet. Is it true?
If so. which event is better to give the parameter to the objectdatasources?
Thanks in advance
Jul 27, 2013 09:06 PM|Prashant Kumar|LINK
Can you post the relevant code?
Have a look at this http://stackoverflow.com/questions/235166/how-do-i-set-up-objectdatasource-select-parameters-at-runtime