<%
@ Register Assembly="Infragistics35.Web.v11.2, Version=11.2.20112.2025, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.GridControls" TagPrefix="ig" %>
WebTab renders ok on development machine, on server gets error. How do I fix?
Line: 205 vi = tab._vi = tab._elem._vi;
Error: Unable to get value of the property '_vi': object is null or undefined
More code from the debugger
//vs 070811
Type.registerNamespace('Infragistics.Web.UI');
$IG.WebTab.prototype =
{
_thisType:'tab',
initialize: function()
Alex, When I publish a website from vs2008 (using rightclick on projectname in solutionexplorer then choosing publish) , and click option "Delete all existing files prior to publish", am I deleting and replacing files in inetpub/wwwroot/aspnet_client/infragistics/... in addition to file in inetpub/wwwroot/MySolutionFolder?
Hello Lill,
Normally the “ig_res” folder should be deployed with the project created in the “interpub” directory – “C:\inetpub\wwwroot\<your project name>\ig_res” for example. The files will be referenced from there if the project “web.config” file is setup in the needed way.
You can also create a virtual directory on your server and copy the “ig_res” folder there. Then you will be able to refer this folder through the “web.config” of each application that needs to use this folder.
Inform me what the results are when you check the Server files.
I'll start by checing C:\inetpub\wwwroot\aspnet_client\infragistics\20112CLR\Scripts. I don't have access to the server today. I will check on Monday
on the server, aren't the css styles referenced from the solution's directory? Or is another directory used? (The files in my development solution's ig_res folder had gotten messed up and I had to restore ig_res)
First thing that you should do is to check again if all needed components and styles are correctly deployed to the Server and that all JavaScript codes for the “WebTab” are available and with correct versions.
In the following links you can see list of needed components for correct deploy and explanation of the deploy process itself:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.2/CLR4.0/html/Web_Deployment_Overview.html
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.2/CLR4.0/html/Web_Deploying_Your_Application.html
If you have deployed the application properly but this issue persists, let me know.