Problem using Extender in visual studio 2008

May 11, 2010 at 10:08 AM
Edited May 11, 2010 at 10:13 AM

I have installed Ajax Toolkit. I use "Editor" control, but I have problem with Extenders. I use them buto nothing happens on my page. I used the code in this example for PopupExtender.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">

<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" />


ToDo:
<asp:TextBox ID="MyTextBox" runat="server" Width="538px"></asp:TextBox>
 
<asp:Panel ID="Panel1" runat="server" CssClass="popupControl">
 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
 <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged" 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>
<ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server" CommitProperty="value" CommitScript="e.value += ' - SEND A MEETING REQUEST!';" PopupControlID="Panel1" Position="Bottom" TargetControlID="MyTextBox"> </ajaxToolkit:PopupControlExtender>

</form> </body> </html>