locked
parameters to objectdatasource in page_load RRS feed

  • Question

  • User-788967271 posted

    Hi all:

    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

    Saturday, July 27, 2013 2:26 PM

Answers