Is there a ClientScriptManager.RegisterClientScriptInclude equivalent for CSS

后端 未结 6 1236
温柔的废话
温柔的废话 2021-01-11 10:23

The ClientScriptManager.RegisterClientScriptInclude method allows you to register a JavaScript reference with the Page object (checking for duplicates).

Is there an

6条回答
  •  伪装坚强ぢ
    2021-01-11 11:00

    One more thought: You might want to consider "namespacing" your class names to avoid collisions with common class names that your consumers might already be using. E.g.

    ... ...

    or you could wrap the whole thing in a single "namespace" class and then write your CSS to that:

     
    ...

    your CSS would be like

     div.SmillerControls div.Toolbar
     {
         ...
     }
    
     div.SmillerControls div.Toolbar a.Button
     {
         ...
     }
    

提交回复
热议问题