Reputation: 173
I want to load a complex ajax form into another file, the tabcontainer control inside the external ajax form is be default hidden, I cannot figure out why?
Upvotes: 0
Views: 616
Reputation: 49195
Are you referring to AjaxControlToolkit tab-container? Most probably, any start-up scripts that are needed for tab-container control to work are not getting fired when you are using jquery AJAX to get that form. You can inspect the response (for the request to get your external form) - compare the AJAX request to normal request to the same form and see what are the start-up scripts that are missing.
I also advise you to share some code so that better answer could be offered.
On different note, my experience is that ASP.NET Server controls (including ajax-toolkit) does not play well in jquery AJAX. They are designed to work with UpdatePanel model. I rather use html/java-script widgets such as Jquery plug-ins for the better control. In this case, do have a look at Jquery UI Tabs as alternative to tab container.
Upvotes: 1