I'm trying to use a WebDropDown control on a form but can't get anything but a small textbox and a red X.
I'm using VS2008 and NetAdvantage 9.1 under Vista32. This machine originally had 8.3 installed and 9.1 installed later.
From what I understand, when I dropped the control on the form, I should have been asked about copying the stylesheet into the project. I did not get that question. I've manually created an ig_res folder in my project and copied the default stylesheets and image folder to that folder. No change. I've tried specifying the path in the control as <ig:WebDropDown ID="WebDropDown1" EnableAppStyling="true" StyleSetName="Default" StyleSetPath="~/ig_res" runat="server" Width="200px">, no change. I've tried adding a <infragistics.web enableAppStyling="true" styleSetName="Default" styleSetPath="~/ig_res/" /> line in web.config but no one ever specifies which section to put it in and I get an error everyplace I try. I've looked for the Application Styling Configuration Tool but it's not listed under Tools. I've tried using the Add In Manager to add it but I get "The Add-in 'Application Styling Configuration Dialog' failed to load or caused an exception...Error Message: <Unknown Error>...Error number: 8013150a".
I'm confident the control would work if I could only get the styling to work but I just don't know what else to try. Any help would be appreciated.
Corrected post:
This sounds like installation gone wrong... In the web.config there should be an entry in the <configSections>: <section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> and then anywhere after </configSections>: <infragistics.web styleSetName="Default" styleSetPath="~/ig_res"/> What happens when you run it?
Hi Alex and thanks for the response.
In the web.config of my project, I do have the SingleTagSectionHandler line but was added by another product we use for file uploads. The infragistics.web line is not present.
I'm experimenting in a small test app in which I created a new page and dropped the WebDropDown control. In that app, the web.config file had neither line you mentioned. I added the first line in the <configSections> section. When I try to add the <infragistics.web> line immediately after the </configSections> the compiler gives me "Unrecognized configuration section infragistics.web" I've tried in in several locations of the web.config file but all give the same error.
Thanks again.