7 Answers, 1 is accepted
0

Kevin
Top achievements
Rank 2
answered on 21 Jan 2013, 03:50 PM
Hello Kuldeep,
You can refer to this help article to achieve what you want.
http://www.telerik.com/help/aspnet-ajax/ajax-disable-controls-during-ajax.html
I hope that helps.
You can refer to this help article to achieve what you want.
http://www.telerik.com/help/aspnet-ajax/ajax-disable-controls-during-ajax.html
I hope that helps.
0

Kuldeep
Top achievements
Rank 1
answered on 21 Jan 2013, 05:12 PM
Can you please suggest me My code is like below:
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerScreens" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadButtonCompleteTransaction">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadNumericTextBoxPaid" />
<telerik:AjaxUpdatedControl ControlID="lblTotal" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
Now where I need to add
<ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" /> in this above code.
0

Kevin
Top achievements
Rank 2
answered on 21 Jan 2013, 06:31 PM
Hello Kuldeep,
You would that to the RadAjaxManager control on your MasterPage.
You would that to the RadAjaxManager control on your MasterPage.
0

Kuldeep
Top achievements
Rank 1
answered on 22 Jan 2013, 01:18 PM
Enabled false control automatically hides after
running the RadAjaxLoadingPanel.
<telerik:AjaxSetting AjaxControlID="RadButton1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnl1" LoadingPanelID="RadAjaxLoadingPanel1" />
<telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" />
<telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" />
<telerik:AjaxUpdatedControl ControlID="RadButton1" />
</UpdatedControls>
</telerik:AjaxSetting>
From backend code I set the RadButton1 enabled = false on RadButton1 click. but after running this RadAjaxLoadingPanel rad button hide. I am not getting why? I need visible true and enabled false only.
Please help me. How I can make it visible true.
<telerik:AjaxSetting AjaxControlID="RadButton1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnl1" LoadingPanelID="RadAjaxLoadingPanel1" />
<telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" />
<telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" />
<telerik:AjaxUpdatedControl ControlID="RadButton1" />
</UpdatedControls>
</telerik:AjaxSetting>
From backend code I set the RadButton1 enabled = false on RadButton1 click. but after running this RadAjaxLoadingPanel rad button hide. I am not getting why? I need visible true and enabled false only.
Please help me. How I can make it visible true.
0

Kuldeep
Top achievements
Rank 1
answered on 22 Jan 2013, 05:28 PM
I tried this(RabButton1) after making Enabled true, but still it hide after run the RadAjaxLoadingPanel. I am using RadAjaxManagerProxy on this user control. ( I have a master page that inherit by a Customer page and that customer page have 5 user controls, one of these have already RadAjaxManager used.) on this user control I take a RadAjaxManagerProxy. Instead of RadAjaxManagerProxy if I use RadAjaxManager it gives an error. I think it is already on this page user control so it's giving error.
Code is below:
<telerik:AjaxSetting AjaxControlID="RadButton1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnl1" LoadingPanelID="RadAjaxLoadingPanel1" />
<telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" />
<telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" />
<telerik:AjaxUpdatedControl ControlID="RadButton1" />
</UpdatedControls>
</telerik:AjaxSetting>
On 'RadButton1' click I need to set enabled false but need to visible(true). Here as I click on RadButton1 run the RadAjaxLoadingPanel and after completing the process RadButton1 disappear. I am sure no where this button is visible false in code behind.
Please help me as soon as possible.
Thanks!
Code is below:
<telerik:AjaxSetting AjaxControlID="RadButton1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnl1" LoadingPanelID="RadAjaxLoadingPanel1" />
<telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" />
<telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" />
<telerik:AjaxUpdatedControl ControlID="RadButton1" />
</UpdatedControls>
</telerik:AjaxSetting>
On 'RadButton1' click I need to set enabled false but need to visible(true). Here as I click on RadButton1 run the RadAjaxLoadingPanel and after completing the process RadButton1 disappear. I am sure no where this button is visible false in code behind.
Please help me as soon as possible.
Thanks!
0
Accepted
Hello Kuldeep,
I have created a sample web site to test the described behavior. On my side everything works as expected and the controls are disabled correctly while their visibility stays untouched. Please check out the attached application and let me know if I am missing something out to reproduce the issue.
All the best,
Eyup
the Telerik team
I have created a sample web site to test the described behavior. On my side everything works as expected and the controls are disabled correctly while their visibility stays untouched. Please check out the attached application and let me know if I am missing something out to reproduce the issue.
All the best,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

Kuldeep
Top achievements
Rank 1
answered on 25 Jan 2013, 02:32 PM
Thanks it's working.