shahar bhan

shahar bhan

  • NA
  • 9
  • 0

How to use script manager in ASP.Net

Sep 17 2008 5:02 AM
hi,
when i run my asp.net(vb) page i got an error message
" Unknown server tag 'asp:ScriptManager'"
why this message pls help me
my  design code is here..
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
div.demo{
width:300px;
float:left;
padding:20px;
margin: 10px;
border: solid black 1px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="sm1" runat="server" />
<asp:UpdatePanel ID="up1" runat="server">
<ContentTemplate>
<div class="demo">
<asp:PlaceHolder ID="ph1" runat="server" />
<asp:Button ID="btnAdd" runat="server" Text="Add" />
</div>
<div class="demo">
<asp:literal ID="ltlValues" runat="server" />
<asp:Button ID="btnDisplayValues" runat="server" Text="Display Values" />
</div>
</ContentTemplate>
</asp:UpdatePanel>
<!--The text value determines how many items are initially displayed on the page-->
<asp:Literal ID="ltlCount" runat="server" Text="0" Visible="false" />
<asp:Literal ID="ltlRemoved" runat="server" Visible="false" />
</form>
</body>

Answers (2)