How to use Drag panel extender control in Ajax?

aswinialuri-19361
Posted by aswinialuri-19361 under ASP.NET AJAX category on | Points: 40 | Views : 1372
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Dragpannel.aspx.cs" Inherits="Dragpannel" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h1 ALIGN="center" style="color:Fuchsia;">Ajax Control Toolkit Example: Using DragPanelExtender</h1>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Panel ID="Panel1" runat="server">
<asp:Image ID="Image1" runat="server" ImageUrl="~/Image/myfbbluepic.jpg" Height="275px"
BorderWidth="1" />
<asp:DragPanelExtender ID="Image1_DragPanelExtender" runat="server"
DragHandleID="Image1" Enabled="True" TargetControlID="Image1">
</asp:DragPanelExtender>
</asp:Panel>
</div>
</form>
</body>
</html>

Comments or Responses

Login to post response