I have recently setup a new pc. I downloaded the infragistics control (I have a key) and am using version 10.3.20103.2120. I ran the utility to create the toolbox tab.
When I run my program it seems to be fine, but in the design view of my aspx page I'm getting Error Creating Control. Failed to create designer Infragistics.Web.UI.NavigationControls.WebDataMenu.
I tried searching for a solution and things talked about the registering DLLS into the GAC. I don't understand what this means and don't remember having to do so on my old PC.
Just so I understand everything correctly can you tell me exactly what needs to be in my web.config and what needs to be in my aspx page. It would be nice so that when there is a new version of the control I don't have to go into each aspx page to change the version number. I'm sure this is possible but I'm not used to using these types of controls.
current aspx page code snippet...
<%
@ Register assembly="Infragistics35.Web.v10.3, Version=10.3.20103.2120, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.NavigationControls" tagprefix="ig" %>
<%@ Register assembly="Infragistics35.Web.v10.3" namespace="Infragistics.Web.UI.NavigationControls" tagprefix="ig" %> <%
@ Register assembly="Infragistics35.Web.v10.3" namespace="Infragistics.Web.UI.DisplayControls" tagprefix="ig" %>
current web.config code snippet....
< configuration> < configSections> < section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> </
<
configuration> <
configSections>
</
configSections> <
infragistics.web styleSetName="Default" styleSetPath="~/ig_res" />
I can't seem to find where the references are stored. I think at one point I copied the dll from the program files directory to my bin directory and added them to my project. Not sure if this is the best practice either but it worked. I see all the infragistics dll in my bin directory, but is there another place where I should be looking for them to be referenced. This is a web site project.
In case you havnt noticed I am very confused on this :-)
Thanks
Hi julieandduane,
Probably you receive this error because there is syntax error in your code or assemblies are not referred correctly and Visual Studio Designer cannot recognize properties.
If you copy assemblies in the Bin folder be sure that you have Infragistics35.Web.Design.v10.3.dll, VS Designer uses it. After add this assembly you may need to refresh the designer
Try to change the code snippet in your aspx with this:
<%@ Register assembly="Infragistics35.Web.v10.3, Version=10.3.20103.2120, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace="Infragistics.Web.UI.NavigationControls" tagprefix="ig" %>
Namespace="Infragistics.Web.UI.NavigationControls" TagPrefix="ig" %>
Namespace="Infragistics.Web.UI.DisplayControls" TagPrefix="ig" %>
I think this may be the problem. When I took my vs program from my old computer it has version 2120 of the infragistics control in the bin folder.
When I setup my new computer the version of the control I download from infragistics was 1013. So in my vs program's bin folder I have 2120 version in it, but the bin/design folder i have 1013.
So I thought I must have downloaded the wrong one from infragistics. But I can't seem to find 2120 anywhere all i see is 1013 now on the infragistics site.
I don't really want to go back to an older version of the control. Can you explain to me how i can get version 2120 for the design folder?
1013 is the RTM version. 2120 is not the latestet service release. Currently the latest service release is 10.3.20103.2134. You can download it from Infragistics website. Go to My IG -> My Keys and Downloads, select Product Name and scroll down. Go to Service Releases and select NetAdvantage for ASP.NET 2010 Vol. 3 - ASP.NET Service Release.
After installation finish you will have all 10.3.20103.2134 assembies in the GAC, which means that there is no need to copy it in Bin folder. Just be sure that you have changed references version everywhere in your application.
Thanks!! That was exactly what i needed