We just migrated up to Windows 7 with VS 2010; at this time we no longer are allowed to use IIS. We have therefore migrated to IIS Express, which doesn't need Admin rights.
So.... The big question is how Infragistics will work in development with IIS Express? The main difference is, of course, that IIS Express isn't running all the time; it is only activated when the program is actually run (in debug mode). So how will Infragistics find it's javascript and forms libraries? Where are they stored, and do we actually need to make up a virtual folder for this (ig_common)?
Basically, the question is how do we set up Infragistics to run in this environment, and to find it's libraries?
/Tom
Hello Tom,
WebHtmlEditor is part from ASP.NET Classic control toolset, that's why it follows the 'old' tradition. Here you can see lists with all ASP.NET Ajax controls and ASP.NET Classic controls. All JavaScript scripts are built in only for the ASP.NET AJAX controls.
Try to copy htmleditor images and scripts in your project folder and set ImageDirectory and JavaScriptDirectory properties. Images folder should be located in: C:\Program Files (x86)\Infragistics\NetAdvantage 2011.1\ASP.NET\Images\htmleditor
<ighedit:WebHtmlEditor ID="WebHtmlEditor1" runat="server" ImageDirectory="htmleditor" JavaScriptDirectory="scripts" ></ighedit:WebHtmlEditor>
Hope this helps
Hrist,
I have found one other control of yours that follows the 'old' tradition of ig_common, and that is your WebHtmlEditor. That seems to require all the HTML Editor components from ig_common; which of course we don't have nor is it available at design time (which then leaves all of the toolbar icons with just the empty icon with an x thru it).
And we do use the HTML Editor control a lot... So how can we handle this with IIS Express and VS 2010?
/Tom S
Hristo,
Ah, that explains a few things. So for 2010.3 and later, all JavaScript scripts are built in? Which means we no longer need these on our servers anymore (we had them in a 'common' area) All we need in the common area on a server is the ig_res folder that contains all the styles. And if we use the WebSchedule component (which we don't) it looks like, based upon the site you reference, we put what we need into our App_Code folder, so we really don't need to include that either?
So, bottom line, all we really need to provide to our controls, in our case, is the ig_res area, right? And what was the first version to include the scripts as a built-in resource?
Thanks!
IIS Express is a lightweight, self-contained version of IIS optimized for developers. Infragistics controls work fine with IIS Express. ig_common is used by the old controls, for the new controls you need only ig_res folder, all scripts are built in resources.
The WebSchedule's controls and components make use of a Forms directory and Styles directory that is underneath C:\inetpub\wwwroot\aspnet_client\infragistics\20111CLR\
Here is explained how to include WebSchedule Dialog Forms in your WebSite