Hi,
Does anyone understand how to get the NumericUpdownExtender working?
The documentation is very terse and there seems to be no tutorial or
example provided.
Help please.
Part of the problem here is that as soon as one drops a
NumericUpDownExtender onto the page one gets as error. That puzzled me
at first.
Anyhow the simplest example I found is this:
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!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" >
<body>
<form id="frmMandates" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
Month choice: <asp:TextBox ID="TextBox2" runat="server" Text="June"
Width="120" style="text-align:center" />
<ajaxToolkit:NumericUpDownExtender ID="NumericUpDownExtender2"
runat="server"
TargetControlID="TextBox2"
Width="120"
RefValues="January;February;March;April;May;June;July;August;September;October;November;December"
ServiceDownMethod=""
ServiceUpMethod=""
TargetButtonDownID=""
TargetButtonUpID="" />
</form>
</body>
</html>