Skip to content

{ Tag Archives } NET

NetAdvantage WebClient 2009 Vol.2 下载

下载地址:Infragistics.NetAdvantage.for.ASP.NET.2009.Vol.2.Incl.Keymaker-ZWT.zip(包含注册机)
NetAdvantage WebClient 2009 Vol.1 下载

标签:NET, NetAdvantage

相关日志

WebCombo过滤中文不完全解决办法 (0)
WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)
UltraWebGrid的又一Bug? (0)
UltraWebGrid多表头的实现 (0)

Also tagged

NetAdvantage WebClient 2009 Vol.1 下载

程序:NetAdvantageWebClient20091_Trial.zip
注册机:Infragistics.NetAdvantage.for.ASP.NET.2009.Vol.1.Incl.Keymaker-ZWT.zip
帮助:NetAdvantageHelp20091.zip
SN:   9409-5300648-6048718
9409-5300097-7087379
9409-5300426-3436111
NetAdvantage WebClient 2009 Vol.2 下载

标签:NET, NetAdvantage

相关日志

WebCombo过滤中文不完全解决办法 (0)
WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)
UltraWebGrid的又一Bug? (0)
UltraWebGrid多表头的实现 (0)

Also tagged

如何在web.sitemap中的url传递多个参数

sitemap文件中<siteMapNode   url=”/WebSite2/OneMenu.aspx?id=1&type=0″   title=”标题1″>这样写是错误的,因为在web.sitemap中,不认识‘&’字符,只能用&amp;代替”&”字符。

标签:NET

相关日志

WebCombo过滤中文不完全解决办法 (0)
WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)
UltraWebGrid的又一Bug? (0)
UltraWebGrid多表头的实现 (0)

Also tagged

从一个WebAsyncRefreshPanel更新另一个WebAsyncRefreshPanel

现有两个WebAsyncRefreshPanel,”WARP1″和”WARP2″,其中,warp1中有一button,现想当该button被点击时,warp2也会被async refresh.
主要是将warp1的 LinkedRefreshControlID设为warp2,那么,当该button被点击时,warp2也会被刷新。

标签:NET, NetAdvantage, WebAsyncRefreshPanel

相关日志

WebCombo过滤中文不完全解决办法 (0)
WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)
UltraWebGrid的又一Bug? (0)
UltraWebGrid多表头的实现 (0)

Also tagged ,

asp.net下使用log4net的demo

log4net是在项目中很常用的一个日志工具,用来记录系统的各种信息和一些异常情况. log4net可以把信息以各种方式输出.关于log4net的介绍和使用,官方网站上有详细的说明。
下面是在asp.net中使用log4net的例子。
demo

标签:软件, log4net, NET, VS2008

相关日志

Microsoft Visual Studio 2008 Service Pack 1发布了 (0)
慎用Ghost备份、还原系统 (3)
WebCombo过滤中文不完全解决办法 (0)
WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)

Also tagged , ,

UltraWebGrid多表头的实现

首先在UltraWebGrid中设置好列,这里默认设置的列是col1,col2_1,col2_2,col3.其中col2_1和col2_2是要生成多表头的列。
在UltraWebGrid的InitializeLayout事件中写如下代码:

?View Code CSHARP // All the Headers for bound columns initialize to OriginX = 0.
// Since we want them
// to appear below the added column headers
//we are going to need to move them down a level
//先把所有列头都设为第二行
foreach (Infragistics.WebUI.UltraWebGrid.UltraGridColumn
c in UltraWebGrid1.DisplayLayout.Bands[0].Columns)
{
c.Header.RowLayoutColumnInfo.OriginY = 1;
//纵向起始点,0为第一行,1为第二行
}
//创建一个列头对象
var ch = new
Infragistics.WebUI.UltraWebGrid.ColumnHeader(true);
ch.Caption = "表头"; [...]

Also tagged ,

UltraWebGrid的又一Bug?

UltraWebgrid增加一个模板列,在该模板列用<%#Eval() %>进行数据绑定,如下所示:
<CellTemplate>
<a onclick=”javascript:alert(<%#Eval(“name”)%>)”>链接的显示文字</a>
</CellTemplate>
UltraWebGrid首次数据绑定时,没任何问题,但是一旦网页PostBack的话,那么就会在该语句处报“未将对象引用设置到对象的实例”(Object reference not set to an instance of an object)。
而用GridView的话,则可以正常使用。
解决办法是用<a onclick=”alert(<%#DataBinder.Eval(Container.DataItem,”name”) %>)”>链接的显示文字</a>

标签:NET, NetAdvantage, UltraWebGrid

相关日志

WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)
UltraWebGrid多表头的实现 (0)
在UltraWebGrid的InitializeRow事件中,操作模板列中的控件 (0)
在UltraWebGrid中增加CheckBox列 (15)

Also tagged ,

如何获取点击模板列中控件所在的行号

在UltraWebGrid中,可以增加模板列。在该模板列中可以放入web控件。当在点时该web控件时,如何知道是点击了哪行上面的控件?
在web控件的点击事件中,可由以下方法得到该行的Index:

?View Code CSHARPvar rowIndex = ((CellItem)((Control)sender).NamingContainer).Cell.Row.Index;

标签:NET, NetAdvantage, UltraWebGrid

相关日志

WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)
UltraWebGrid的又一Bug? (0)
UltraWebGrid多表头的实现 (0)
在UltraWebGrid的InitializeRow事件中,操作模板列中的控件 (0)

Also tagged ,

WebCombo过滤中文不完全解决办法

NetAdvantage中有个WebCombo控件,当该控件Editable属性设为“true”时,则可以通过输入文字过滤webCombo弹出的grid中的记录。但该控件只支持英文过滤而不支持中文过滤。经试验,可以不完美的解决中文过滤问题。
首先,WebCombo的Editable要设为true,EnableXmlHTTP=”True”,ComboTypeAhead=”Suggest”。然后,编辑ClientSideEvents中的EditKeyUp事件。

?View Code JAVASCRIPTfunction wcbCommodity_EditKeyUp(webComboId,newValue,keyCode){
//newvalue为输入文字,汉字被编码成ascii,所以要解码还原成string.
var s = unescape(newValue);
webComboId.selectWhere(" name like ‘%" + s + "’");
}

这样,在输入完汉字后,再输入一个空格就可以过滤中文了。那为什么要再输入空格?因为在输入汉字时,并不会产生EditKeyUp事件。而如果是用EditKeyDown事件的话,该事件中的newValue而是事件产生之前的输入框中的文字。
以上是个不完全的解决办法,不知还有什么好办法解决中文过滤

标签:NET, NetAdvantage, WebCombo

相关日志

WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)
UltraWebGrid的又一Bug? (0)
UltraWebGrid多表头的实现 (0)
NetAdvantage的NET Project Upgrade Utility的Bug (0)

Also tagged ,

Microsoft Visual Studio 2008 Service Pack 1发布了

Http下载

标签:NET, VS2008

相关日志

asp.net下使用log4net的demo (0)
WebCombo过滤中文不完全解决办法 (0)
WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)
UltraWebGrid的又一Bug? (0)

Also tagged