This is a migrated thread and some comments may be shown as answers.
RadAjaxManager question
1 Answer 5 Views
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 19 Jun 2013, 08:31 PM
I used the following code to avoid postback of my button(btnS), and it works. When we click on the button, a radwindow which contains a repeater repR will show up:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="True">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnS">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="repR" />
                </UpdatedControls>
            </telerik:AjaxSetting>  
        </AjaxSettings>        
    </telerik:RadAjaxManager>

However, if I have another button (btnW) which is within a repeater, and I used the following code. it didn't work. If i click on the button btnW, a radwindow which contains a repeater repV will show up, but still cause postback.

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="True">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnS">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="repR" />
                </UpdatedControls>
            </telerik:AjaxSetting>  
               
            <telerik:AjaxSetting AjaxControlID="btnW">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="repV" />
                </UpdatedControls>
            </telerik:AjaxSetting>  
        </AjaxSettings>     

    </telerik:RadAjaxManager>

Can anybody tell me how i can avoid the postback in this case?

Thanks

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 24 Jun 2013, 10:55 AM
Hello John,

I would recommend you to review the following help article which describes how to use RadWindow with Ajax.

Regards,
Kostadin
Telerik
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 the blog feed now.
Tags
Ajax
Asked by
John
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or