example of ajax control "DropShadow" using asp.net
DropShadow.aspx
<%@ Page Language="C#"
AutoEventWireup="true"
CodeFile="DropShadow.aspx.cs"
Inherits="DropShadow"
%>
<%@ 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">
<asp:ToolkitScriptManager ID="ScriptManager1" runat="server"></asp:ToolkitScriptManager>
<div>
<asp:UpdatePanel ID="up" runat="server">
<ContentTemplate>
<asp:Panel ID="Panel1" runat="server" Height="100px" Width="300" BackColor="Goldenrod">
<center>
<asp:Label ID="Label1" runat="server" Text="here is demo is drowp shadow" style="padding:5px"></asp:Label>
</center>
</asp:Panel>
<asp:DropShadowExtender ID="DropShadowExtender1" runat="server"
TargetControlID="Panel1"
Radius="30" Rounded="true" Opacity="70" Width="20">
</asp:DropShadowExtender>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>
DropShadow.aspx.cs
using System;using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class DropShadow : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
0 comments :