Hi,
I have a composite control that has a toolbar and a grid in it. I was using onLoad method of Composite control to ajaxify toolbar with grid. But i have a problem:
Since the onLoad method of Toolbar(child control) runs after Composite Control's(parent control) onLoad method and Since i need to get some properties from Toolbar's viewstate before making ajax settings, I have to ajaxify my controls after OnLoad method of CompositeControl.
The question is: Now I use the OnPrerender method of CompositeControl to ajaxify my controls thru the AjaxManager Located on MasterPage. is it acceptable? is this approach cause any problem?
Kind Regards,
Caglar Ozkul
I have a composite control that has a toolbar and a grid in it. I was using onLoad method of Composite control to ajaxify toolbar with grid. But i have a problem:
Since the onLoad method of Toolbar(child control) runs after Composite Control's(parent control) onLoad method and Since i need to get some properties from Toolbar's viewstate before making ajax settings, I have to ajaxify my controls after OnLoad method of CompositeControl.
The question is: Now I use the OnPrerender method of CompositeControl to ajaxify my controls thru the AjaxManager Located on MasterPage. is it acceptable? is this approach cause any problem?
Kind Regards,
Caglar Ozkul