Telerik control equivalent to ajax:DragPanelExtender?

2 posts, 0 answers
  1. Tyler
    Tyler avatar
    46 posts
    Member since:
    Nov 2013

    Posted 05 Mar 2015 Link to this post

    Upgrading some of the front end features on my site.

    Have chosen to use Telerik to help me with this.So if I had a <ajaxToolkit:ModalPopupExtender I can change this to a Telerik control using <telerik:RadWindow Modal="true" in the same way I can change <ajaxToolkit:AjaxFileUpload to <telerik:RadAsyncUpload 

    However, searching online and reading forums I cant find the Telerik equivalent to <ajaxToolkit:DragPanelExtender Does anyone have any idea to what it is?

    <ajaxToolkit:DragPanelExtender   
          ID="DragPanelExtender1"  
          runat="server"   
          TargetControlID="ViewUploadImageMain"  
          DragHandleID="Header">  
      </ajaxToolkit:DragPanelExtender> 
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 06 Mar 2015 Link to this post

    Hello Tyler,

    RadWindow has a ContentTemplate where you can place the desired content (asp:Panel in your case). Here is a basic example:

    <asp:Button ID="Button1" Text="open wnd" runat="server" />
    <telerik:RadWindow ID="RadWindow1" runat="server" OpenerElementID="Button1">
        <ContentTemplate>
            <asp:Panel ID="Panel1" runat="server">
                some content
            </asp:Panel>
        </ContentTemplate>
    </telerik:RadWindow>

    You can customize the available buttons on the titlebar and the other user interactions: http://demos.telerik.com/aspnet-ajax/window/examples/behaviors/defaultcs.aspx

    RadDock can also do that, e.g.:

    <telerik:RadDock ID="RadDock1" runat="server" Top="300" Left="100" Height="200" Width="200">
        <ContentTemplate>
            <asp:Panel ID="Panel1" runat="server">
                some content
            </asp:Panel>
        </ContentTemplate>
    </telerik:RadDock>

    You can also change the grip for RadDock: http://demos.telerik.com/aspnet-ajax/dock/examples/dockhandle/defaultcs.aspx and you can also use a custom HTML element for that: http://www.telerik.com/help/aspnet-ajax/dock-usability-drag-and-drop.html.

    Both controls have many more features, but I showcased the most relevant ones here.

    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top