The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Shorten Form for a CssFilePath
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 ;