or
RadNumbericTextBox using a button to sent the value (I need a int)<div class="fromRowDiv"> <asp:Label ID="label1" CssClass="fromLabel" runat="server" Text="From Date" ></asp:Label> <telerik:RadNumericTextBox ID="FromDateNumbericTextBox" runat="server" MinValue="2000" NumberFormat-DecimalDigits="0" NumberFormat-GroupSeparator="" ></telerik:RadNumericTextBox> <asp:Label ID="Tolabel2" CssClass="fromLabel" runat="server" Text="To Date"></asp:Label> <telerik:RadNumericTextBox ID="ToDateNumericTextBox" runat="server" MinValue="2000" NumberFormat-DecimalDigits="0" NumberFormat-GroupSeparator=""></telerik:RadNumericTextBox> </div>protected void CalcButton_Click(object sender, EventArgs e) { AnnualVacationManager mng = new AnnualVacationManager(); mng.CalcForNextYear(2000,2001); }<LabelsAppearance DataFormatString="{0}" RotationAngle="0"> <TextStyle Bold="false" FontFamily="Helvetica" Color="Black" FontSize="12" Italic="false" Margin="0" Padding="0" /></LabelsAppearance><telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" ClientEvents-OnRequestStart="requestStart"> <telerik:RadGrid ID="radQueryResults" runat="server" Visible=false AutoGenerateColumns="true" ClientSettings-Selecting-AllowRowSelect="true" AllowMultiRowSelection="true" Width="1000" > <ClientSettings> <Scrolling AllowScroll="true" ScrollHeight="400px" UseStaticHeaders="true" /> </ClientSettings> <MasterTableView CommandItemDisplay="Top" TableLayout="Auto" > <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false" ></CommandItemSettings> </MasterTableView> <ExportSettings> <Excel Format="Biff"></Excel> </ExportSettings> </telerik:RadGrid>| function Sys$EventHandlerList$addHandler(id, handler) { |
| /// <summary locid="M:J#Sys.EventHandlerList.addHandler" /> |
| /// <param name="id" type="String"></param> |
| /// <param name="handler" type="Function"></param> |
| var e = Function._validateParams(arguments, [ |
| {name: "id", type: String}, |
| {name: "handler", type: Function} |
| ]); |
| if (e) throw e; |
| Array.add(this._getEvent(id, true), handler); |