我想向PopupControlExtender添加一个动画....所以,我们可以放置什么样的动画 在PopupControlExtender中......?::
我下载此代码......
html代码:
<html>
<head >
<title>Untitled Page</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
<br />
ToDo:
<asp:TextBox ID="MyTextBox" runat="server" Width="538px"></asp:TextBox>
<br />
<br />
<asp:Panel ID="Panel1" runat="server" CssClass="popupControl">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" >
<ContentTemplate>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged" AutoPostBack="true" Width="146px">
<asp:ListItem Text="Scott Guthrie"></asp:ListItem>
<asp:ListItem Text="Simon Muzio"></asp:ListItem>
<asp:ListItem Text="Brian Goldfarb"></asp:ListItem>
<asp:ListItem Text="Joe Stagner"></asp:ListItem>
<asp:ListItem Text="Shawn Nandi"></asp:ListItem>
</asp:RadioButtonList>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
<br />
<ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server" TargetControlID="MyTextBox" PopupControlID="Panel1" CommitProperty="value" CommitScript="e.value += ' - SEND A MEETING REQUEST!';" Position="Bottom">
</ajaxToolkit:PopupControlExtender>
</div>
</form>
</body>
</html>
vb代码:
导入AjaxControlToolkit
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub RadioButtonList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadioButtonList1.SelectedIndexChanged
If Not (String.IsNullOrEmpty(RadioButtonList1.SelectedValue)) Then
PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(RadioButtonList1.SelectedValue)
End If
RadioButtonList1.ClearSelection()
End Sub
End Class
我不能像这样说出来
例如......?!
答案 0 :(得分:1)