一.
引用Infragistics.WebUI.Shared.v5.1.dll Infragistics.WebUI.Shared.v5.1.xml 两个文件
二
在aspx页面增加
<%@ Register TagPrefix="igsch" Namespace="Infragistics.WebUI.WebSchedule" Assembly="Infragistics.WebUI.WebDateChooser.v5.1, Version=5.1.20051.37, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<%@ Register TagPrefix="igtxt" Namespace="Infragistics.WebUI.WebDataInput" Assembly="Infragistics.WebUI.WebDataInput.v5.1, Version=5.1.20051.37, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
第三
在aspx页面可以直接应用相应的控件
相应控件的一些应用说明:
要注意一些属性的设置(JavaScriptFileName JavaScriptFileNameCommon ImageDirectory )
(1) <igtxt:WebNumericEdit></igtxt:WebNumericEdit> 只能输入数字,能自动调整
<igtxt:WebNumericEdit id=" wneAge1" runat="server" Width="60px" ValueText="0" Nullable="False" ImageDirectory="../ig_common/images/" JavaScriptFileName="../aspnet_client/ig_common/20051/Scripts/ig_edit.js" JavaScriptFileNameCommon="../aspnet_client/ig_common/20051/Scripts/ig_shared.js"></igtxt:WebNumericEdit>{
到 }
<igtxt:WebNumericEdit id=" wneAge2" runat="server" Width="60px" Nullable="False"></igtxt:WebNumericEdit>
注: int age1 = Convert.ToInt16(this. wneAge1. Value);
int age2 = Convert.ToInt16(this. wneAge2. Value);
(2)<igsch:WebDateChooser(时间控件,不能到时分秒) this. wdcBegin. Value.ToString().Substring(0,9);
<igsch:WebDateChooser id=" wdcBegin" runat="server" CalendarJavaScriptFileName="../aspnet_client/ig_common/20051/Scripts/ig_calendar.js" ImageDirectory="../aspnet_client/ig_common/images/" JavaScriptFileName="../aspnet_client/ig_common/20051/Scripts/ig_webdropdown.js" JavaScriptFileNameCommon="../aspnet_client/ig_common/20051/Scripts/ig_shared.js">
<ExpandEffects ShadowColor="Coral"></ExpandEffects>
</igsch:WebDateChooser>
(3)<igtxt:webcurrencyedit 金额类型
<igtxt:webcurrencyedit id="wceMoney" runat="server" CssClass="inputcss" Width="136px" ValueText="0" Nullable="False"></igtxt:webcurrencyedit>(元)</FONT>< /TD>
(3)<igtxt:WebDateTimeEdit></igtxt:WebDateTimeEdit> 日期手工输入
(4)
文件下载:
/Files/ipusr/InfragisticsDll.rar
/Files/ipusr/InfragisticsJS.rar
引用Infragistics.WebUI.Shared.v5.1.dll Infragistics.WebUI.Shared.v5.1.xml 两个文件
二
在aspx页面增加
<%@ Register TagPrefix="igsch" Namespace="Infragistics.WebUI.WebSchedule" Assembly="Infragistics.WebUI.WebDateChooser.v5.1, Version=5.1.20051.37, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<%@ Register TagPrefix="igtxt" Namespace="Infragistics.WebUI.WebDataInput" Assembly="Infragistics.WebUI.WebDataInput.v5.1, Version=5.1.20051.37, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
第三
在aspx页面可以直接应用相应的控件
相应控件的一些应用说明:
要注意一些属性的设置(JavaScriptFileName JavaScriptFileNameCommon ImageDirectory )
(1) <igtxt:WebNumericEdit></igtxt:WebNumericEdit> 只能输入数字,能自动调整
<igtxt:WebNumericEdit id=" wneAge1" runat="server" Width="60px" ValueText="0" Nullable="False" ImageDirectory="../ig_common/images/" JavaScriptFileName="../aspnet_client/ig_common/20051/Scripts/ig_edit.js" JavaScriptFileNameCommon="../aspnet_client/ig_common/20051/Scripts/ig_shared.js"></igtxt:WebNumericEdit>{
到 }
<igtxt:WebNumericEdit id=" wneAge2" runat="server" Width="60px" Nullable="False"></igtxt:WebNumericEdit>
注: int age1 = Convert.ToInt16(this. wneAge1. Value);
int age2 = Convert.ToInt16(this. wneAge2. Value);
(2)<igsch:WebDateChooser(时间控件,不能到时分秒) this. wdcBegin. Value.ToString().Substring(0,9);
<igsch:WebDateChooser id=" wdcBegin" runat="server" CalendarJavaScriptFileName="../aspnet_client/ig_common/20051/Scripts/ig_calendar.js" ImageDirectory="../aspnet_client/ig_common/images/" JavaScriptFileName="../aspnet_client/ig_common/20051/Scripts/ig_webdropdown.js" JavaScriptFileNameCommon="../aspnet_client/ig_common/20051/Scripts/ig_shared.js">
<ExpandEffects ShadowColor="Coral"></ExpandEffects>
</igsch:WebDateChooser>
(3)<igtxt:webcurrencyedit 金额类型
<igtxt:webcurrencyedit id="wceMoney" runat="server" CssClass="inputcss" Width="136px" ValueText="0" Nullable="False"></igtxt:webcurrencyedit>(元)</FONT>< /TD>
(3)<igtxt:WebDateTimeEdit></igtxt:WebDateTimeEdit> 日期手工输入
(4)
文件下载:
/Files/ipusr/InfragisticsDll.rar
/Files/ipusr/InfragisticsJS.rar