Hello,
I downloaded the trial version of .net web components and I need to access a WebDataGrid in client side.
I configured web.config file as seen in http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6158. so I have my local javascript infragistics folder pointing to my local folder: (My web.config file is as follows...)
<infragistics.web imageDirectory="C:\Program Files\Infragistics\NetAdvantage for .NET 2008 Vol. 3 CLR 2.0\ASP.NET\Images" cssDirectory="C:\Program Files\Infragistics\NetAdvantage for .NET 2008 Vol. 3 CLR 2.0\ASP.NET\Styles" formsDirectory="C:\Program Files\Infragistics\NetAdvantage for .NET 2008 Vol. 3 CLR 2.0\ASP.NET\Forms" styleSetName="Default" styleSetPath="~/ig_res" javaScriptDirectory="~/Scripts" />
I created a Script folder in my project directory, and copied all *.js files on it, and added javascript links in my aspx file.
No luck. A simple call to var grid = igtbl_getGridById("WebDataGrid1"); raises an error.
My version is NetAdvantage for .NET 2008 Vol. 3 CLR 2.0.
Please, any help/clue will be appreciated.
The function igtbl_getGridById() is used to find a WebGrid on a form, not a WebDataGrid.
For WebDataGrid, use this syntax instead:var grid = $find("<%= WebDataGrid1.ClientID %>");
Thanks for the quick reply!
So... what is the difference between WebDataGrid and UltraWebGrid?
Thanks for the support.
Regards.