Replacing ajax:DragPanelExtender with Telerik Radwindow

2 posts, 0 answers
  1. Phuc
    Phuc avatar
    1 posts
    Member since:
    Mar 2016

    Posted 27 Mar Link to this post

    At the current my website is using ajax:DragPanelExtender to show my grid data as a popup, and now I want to replace it with Telerik RadWindow to consistent with the UI of the website.

    BUT, I still have not found a way to do it. Because ajax:DragPanelExtender is server-side while Radwindow is Client-side.
    Is there any way that can solve my problem?

    Please give me an advice.

    Scenario: In my website, there is a button named "mybutton". When I hit it, ajaxToolkit:ModalPopupExtender will be shown my data under a popup.
    Here is the code in my *.ascx file:

    <asp:LinkButton ID="myHiddenControl" runat="server" Text=""></asp:LinkButton>
    <ajaxToolkit:ModalPopupExtender runat="server"
    <asp:Panel runat="server"
        Style="width: 440px; height: 500px; padding: 10px;" meta:resourcekey="Resource2">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                        <!-- show my data in a table -->

    And here is vb code

    Protected Sub mybutton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles mybutton.Click
    End Sub

  2. Marin Bratanov
    Marin Bratanov avatar
    3567 posts

    Posted 28 Mar Link to this post


    You should use the ContentTemplate of the RadWindow to wrap your Panel control:

    To open it from the server, register a script as shown in this article:

    I also advise you review this one to see how to use it with AJAX requests:


    Marin Bratanov
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. Telerik UI for ASP.NET Core is out
Back to Top