Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1215
How to use Infragistics CSS in new ASP.NET Web Forms app
posted

I created a new ASP.NET Web Forms app and placed an Infragistics web control onto the Site.Master page, but do not know how to use Infragistics CSS to style the control.

How do I use Infragistics css styles in a WebForms app?  (Not MVC)

Stupid newbie questions:

1. Should I include an Infragistics css file from somewhere? Where is it located? What file name?

2. Should I copy an Infragistics folder structure to my app folders? Which Infragistics folders? Where are they located?

3. Do I need to specifically set CSS properties on Infragistics web controls, or will they "find" the css somewhere?

4. Is there a way to easily change the style of all Infragistics controls in my app with a few simple clicks?

Parents
No Data
Reply
  • 1700
    Offline posted

    Hello Ray, 

    In order to use our CSS styles in your application all you need to do is adding an Infragistics control in your application and then opening the designer. Then you will receive message that the ig_res folder would be added to the directory of your project, which will import all of the CSS styles required for our controls. 

    Inside the ig_res folder there are many different CSS files you can review them and determine what you would like to change and then those changes can be applied in the CSS file for the page or in the style tag inside the page. This is all you would need to do.

    In addition to this I would like to share some additional documentation and blogs that you might find helpful in understanding the styling of our controls:

    Understanding Styles

    WebDataGrid CSS styling guide

    Infragistics ASP.NET controls and Bootstrap styling

    Please let me know if you have any questions.

    Regards,
    Ivan Kitanov

Children