I can see there are some problems with the validators but so far I haven't found exactly my scenario.
I've based my code on the example http://demos.telerik.com/aspnet-ajax/ajax/examples/common/loadingusercontrols/defaultcs.aspx
I have a FormTemplate popup within a RadGrid. On that template I have one RadAjaxPanel containing a RadComboBox and another RadAjaxPanel occupying a tab in a RadTabStrip. The first tab is always shown. The second is for displaying an ASCX that may or may not be shown.
When I select certain values of the combobox, its SelectedIndexChanged event loads and sets up an ASCX on the second tab. Everything is working properly except that when I hit the submit button on the FormTemplate itself, the ASCX Required Field Validators never fire. (Even though I've accessed and enabled them directly in the SelectedIndexChanged event. I know they're there.)
I have my RadAjaxManager set up as follows:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadComboBox1">
<UpdatedControls >
<telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
<telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
Also it appears so far that although the control is loaded I cannot access it as usual in the RadGrid's InsertCommand e.item FindControl.
Suggestions?
I've based my code on the example http://demos.telerik.com/aspnet-ajax/ajax/examples/common/loadingusercontrols/defaultcs.aspx
I have a FormTemplate popup within a RadGrid. On that template I have one RadAjaxPanel containing a RadComboBox and another RadAjaxPanel occupying a tab in a RadTabStrip. The first tab is always shown. The second is for displaying an ASCX that may or may not be shown.
When I select certain values of the combobox, its SelectedIndexChanged event loads and sets up an ASCX on the second tab. Everything is working properly except that when I hit the submit button on the FormTemplate itself, the ASCX Required Field Validators never fire. (Even though I've accessed and enabled them directly in the SelectedIndexChanged event. I know they're there.)
I have my RadAjaxManager set up as follows:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadComboBox1">
<UpdatedControls >
<telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
<telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
Also it appears so far that although the control is loaded I cannot access it as usual in the RadGrid's InsertCommand e.item FindControl.
Suggestions?