something similar for me -- user controls in a WebTab control are null on postbacks:
http://blogs.infragistics.com/forums/p/59566/306047.aspx#306047
good luck with this; please let me know if anyone gives you a hint, although i wouldn't hold my breath.
Ha, no joke.
I decided to put the tab initialize in the OnInit for the page. See snippet:
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
Tabs.InstantiateTemplates();
EnsureChildControls();
}
This works along with the html like:
<
PostBackOptions EnableAjax="true" EnableAsyncUpdateAllTabs="true" EnableLoadOnDemand="false" />
The update panel on the tab works fine now.
i think that i solved this by checking for null before assigning values to the controls; this was so i believe because there were are a number of post backs taking place (my tab was in a user control).
I am having this "null" issue on postback using the WebTab. Everything is null, nothing is loaded on postback even with the ViewState enabled. I can't seem to find anything else about this in the forums. I can't imagine that I have to manually reload every control on the tabs even when they are all loaded with the aspx page.
Is that really what has to be done?
Hi All,
Thank you for posting in our community. Do this on Load event of the WebTab not on Load of the page. This time all the controls placed in the WebTab will be initialized and you will not experience the "Object reference not set to an instance of an object." Error.
I hope this information helps.
For any further questions do not hesitate to contact me.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support