Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Shorten Form for a CssFilePath

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #146564
    srinika
    Participant

    I have a ASP.Net web page with DevExpress controls. There are 200+ text boxes & labels, each has a cssfilepath as

    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
    

    Is there a way where a shortened string can be used instead of writing the whole filepath in 200+ places.

    I would expect something like

    string sDXCSS = "~/App_Themes/Office2010Blue/{0}/styles.css" ;
    

    ……

    then use it as
    CssFilePath = sDXCSS ;

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.