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

Telerik control equivalent to ajax:DragPanelExtender?

1 Answer 77 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ruairi
Top achievements
Rank 1
Ruairi asked on 05 Mar 2015, 05:09 PM
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> 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 06 Mar 2015, 11:54 AM

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.

 
Tags
Ajax
Asked by
Ruairi
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or