Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 AreaRegistration.cs class is used for area registration and this class is auto generated on the creation of new Area. Every area have its own registration class start with its area name. For example if Area Name is VAT, then registration class name is VATAreaRegistration.cs. 

...

         Initialize Style bundle bygiving full path of Contents folderwhich contain css files and to include css files use unique Style                 bundle Style bundle name (e.g. VATStyle) at the end of the path. Normally used module prefix name + ‘Style’. 

...

      3.Order (Loading order of bundle. It must be greater than zero and dependent module order must be greater on which                    which module it depend) 

 

      Code for script registration 

      VAdvantage.ModuleBundles.RegisterScriptBundle(script, "VAT", 10); 

 

      Code for Style registration 

      VAdvantage.ModuleBundles.RegisterStyleBundle(style, "VAT", 10); 
 

   As shown code below. 

...