I can't seem to get a web application up and running with a WebTab control. The control draws but with no styling applied at all. I have followed the instructions to deploy common assets (as per http://es.infragistics.com/help/topic/54248A52-B16A-4E78-A957-C53CE636C6BC), but have some questions:
1) I am using version 2012.2 on CLR 4. The common assets deployment page says you should create a folder called "C:\inetpub\wwwroot\aspnet_client\infragistics\20131CLR2035\Scripts" on your IIS server. Is the "20131CLR2035" folder named based on the Infragistics and CLR versions - IOW what should the folder be named on my IIS instance running v 2012.2 on CLR4?
2) There seem to be some bugs in the WebTab CSS file (ig_WebTab.css) for the Office2007Silver style. It referes to images that do not exist in this style, e.g.
.igwtTabNormalSilver2k7 { font-size: 11px; background-image:url(../Office2007Black/WebTab/igwt_tab_normal.jpeg); background-repeat: repeat-x; color: #4C535C; } .igwtTabHoverSilver2k7 { font-size: 11px; background-image:url(../Office2007Black/WebTab/igwt_tab_hover_mid.jpeg); background-repeat: repeat-x; }
both refer to an "Office2007Black" folder which does not exist in the Office2007Silver set. Looks like a cut-and-paste job gone wrong.
3) Finally, what steps should or can I take to verify the style is correctly deployed or to track down what I am missing?
Hello dsuter ,
I’m just following up to see if you’ve been able to resolve your issue. If you have any questions or concerns or if you need further assistance please let me know.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
Thank you for posting in our forum.
Please find the answers to your questions below.
1) Yes. The folder’s name in general follows the naming convention “<IGVersion><CLRVersion>”. So for example for 2012.2 clr 4 it would be “20122CLR4”.
2) Could you let me know which version of 12.2 you’re currently using? I’ve tested this with 12.2.20122.2166 and the ig_webtab.css class does not contain a reference to a Office2007Black folder. It retrieves all images from the images folder inside the same directory the style is in. For example:
.igtab_DefaultTab_Top_Rounded
{
background-color:Transparent !important;
background-image: url(images/igwt_tab_normal.jpg);
font-size:10pt;
font-family: Tahoma;
border-bottom:solid 1px #699BC9;
padding:4px 9px 4px 12px;
height: 100%;
cursor:pointer;
color:White;
text-align:center;
}
3) For the styles for the Aikido controls the setting that defined where they’ll look for the style sets is in the web config file:
<infragistics.web styleSetName="Default" styleSetPath="~/ig_res" />
If there’s no other StyleSetName or StyleSetPath on the control level, this is the path and style the control will use.
So by default it will look for the styles in the ig_res folder under the root directory of the application.
If you want the styles to be retrieved from a different place you can modify the styleSetPath to point to the directory you want.
Also keep in mind that most browser have development tools which you can use to check from where the page is requesting its resources.
For example in IE you can hit f12 to open the development tools and on the Network tab you can hit the “Start capturing” button. Then when you refresh the page it will display all requests that were made for resources like js files, image and css styles. You can check the URL they were requested from and see if it is a valid path.
I hope you’ll find this information useful. Let me know if you have any questions.
Developer Support Engineer II
I can get it working with the Default stylset, but not the Office2007Silver styleset supplied by Infragistics, so there must be some bugs in this styleset, an example of which I detailed in my first post.