Hi,
I have many problems to fix this scenario. I need to use one radUploader usercontrol loaded in one ajax multipanel but i can't loaded my files. I have used the conditionalPostback registred from loaded usercontrols to stop ajax refreshing or created a realPostBack in page and registred in page-Load of Loaded usercontrol but still not working.
Use the wizard sample of demo of RadTabs and loading one RadUploader control
The LoadedControl in pageView use RadUploader and page load to register realPostBack and stop the ajax event.
This realpostback is firing but no upload is performed.
Use one ClientEvents-OnRequestStart="conditionalPostback" in RadAjaxPanel1 is not possible in this scenario where controls are loaded in the panel.
The object is one Ajax RadTab and one RadUpload control loaded inside and fonctional. Some suggestions. Thanks.
I have many problems to fix this scenario. I need to use one radUploader usercontrol loaded in one ajax multipanel but i can't loaded my files. I have used the conditionalPostback registred from loaded usercontrols to stop ajax refreshing or created a realPostBack in page and registred in page-Load of Loaded usercontrol but still not working.
Use the wizard sample of demo of RadTabs and loading one RadUploader control
<telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" IsSticky="true"> |
</telerik:RadAjaxLoadingPanel> |
<telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="LoadingPanel1" > |
<telerik:RadComboBox runat="server" ID="RadComboTipo" Skin="Vista" AutoPostBack="true" Width="200px" |
OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged" > |
<Items> |
<telerik:RadComboBoxItem Text="Select" Value="-1" Selected="true"></telerik:RadComboBoxItem> |
<telerik:RadComboBoxItem Text="Case1" Value="1" ></telerik:RadComboBoxItem> |
</Items> |
</telerik:RadComboBox> |
<div style="height:33px;"></div> |
<telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1" |
Skin="Default" CssClass="tabStrip"> |
</telerik:RadTabStrip> |
<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated" CssClass="multiPage"> |
</telerik:RadMultiPage> |
</telerik:RadAjaxPanel> |
The LoadedControl in pageView use RadUploader and page load to register realPostBack and stop the ajax event.
bool isOnClickAttached = false; |
IEnumerator keys = this.buttonSubmit.Attributes.Keys.GetEnumerator(); |
while (keys.MoveNext()) |
{ |
if (keys.Current.Equals("onClick")) |
{ |
isOnClickAttached = true; |
break; |
} |
} |
if (!isOnClickAttached) |
this.buttonSubmit.Attributes.Add("onClick", string.Format("realPostBack('{0}', ''); return false;", this.buttonSubmit.UniqueID)); |
Use one ClientEvents-OnRequestStart="conditionalPostback" in RadAjaxPanel1 is not possible in this scenario where controls are loaded in the panel.
The object is one Ajax RadTab and one RadUpload control loaded inside and fonctional. Some suggestions. Thanks.