Skip to content

{ Tag Archives } NetAdvantage

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无法创建Visual Studio Toolbox Tab

我已安装Visual Studio 2008 和Sql Server 2005,并没安装Visual Studio 2005。在安装完NetAdvantage WebClient 2009后,运行 ‘Create Visual Studio Toolbox Tab’ 工具,提示安装出错。查看log文件,显示如下:
2:51:05 – Params: /t:9.0 9.1
12:51:06 – PUBLIC: Begin processing NetAdvantage version 9.1
12:51:06 – Beginning to process VS v9.0
12:51:06 – Getting Type for ProgID: VisualStudio.DTE.9.0
12:51:06 – Creating type: System.__ComObject
12:51:18 – EXCEPTION: System.Runtime.InteropServices.COMException
Source: mscorlib
Message: 从 IClassFactory 为 CLSID 为 {1A5AC6AE-7B95-478C-B422-0E994FD727D6} 的 COM [...]

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

从一个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 ,

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 ,

在UltraWebGrid的InitializeRow事件中,操作模板列中的控件

首先在UltraWebGrid中,增加一个模板列(TemplatedColumn)。在该模板列的CellTemplated增加Checkbox服务端控件。
在InitializeRow事件中,可增加以下code,以操作每行的Checkbox

?View Code CSHARP var tc = (TemplatedColumn)e.Row.Cells[0].Column;
var ci = (CellItem)tc.CellItems[e.Row.Index];
var cb = (CheckBox)ci.FindControl("cb");
cb.checked=true;

标签:NET, NetAdvantage, UltraWebGrid

相关日志

WebCombo in UltraWebGrid (0)
UltraWebGrid的一个Bug (0)
UltraWebGrid的又一Bug? (0)
UltraWebGrid多表头的实现 (0)
在UltraWebGrid中增加CheckBox列 (15)

Also tagged ,

NetAdvantage的NET Project Upgrade Utility的Bug

当使用NetAdvantage的NET Project Upgrade Utility将原低版本Project升级到新版本时,出现一个莫名其妙的问题:如果在aspx文件中,含有中文字的话,有的会将中文变成乱码,而有的却不会变成乱码。不知是怎么回事。

标签:NET, NetAdvantage

相关日志

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

Also tagged