This is a migrated thread and some comments may be shown as answers.

Avoid full page reload on selection of item

1 Answer 315 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shrinivas
Top achievements
Rank 1
Shrinivas asked on 10 May 2012, 09:49 AM
Hello,
I am using a RadComboBox and RadWindowManager. When I select an item from the RadComboBox, I want to call some server functions, but I dont want to reload the entire page. Only the popup window should reload. Is there a way to do this?
Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Oct 2012, 07:05 AM
Hi Shrinivas,

One suggestion is that you can add a RadAjaxManager to avoid the full page postback. Following is the sample code.

ASPX:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadWindowManager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadComboBox1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="true">
            <Items>
                <telerik:RadComboBoxItem Text="RadComboBoxItem1" />
                <telerik:RadComboBoxItem Text="RadComboBoxItem2" />
                <telerik:RadComboBoxItem Text="RadComboBoxItem3" />
                <telerik:RadComboBoxItem Text="RadComboBoxItem4" />
                <telerik:RadComboBoxItem Text="RadComboBoxItem5" />
            </Items>
</telerik:RadComboBox>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
            <Windows>
                <telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true">
                </telerik:RadWindow>
            </Windows>
</telerik:RadWindowManager>

Hope this helps.

Regards,
Princy.
Tags
General Discussions
Asked by
Shrinivas
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or