.net - change css class in div tag using asp.net(C#) -


hi want change css class properties using c#, background image, font size, font style, , font. there interface user change these values. once save them add them db. once user login can retrieve them db problem how show them.

this structure of master page

    <html>     <head></head>     <body>     <div id="wrapper" class="abc">     </div>     </body>     </html> 

what easy way change values of abc class according relevant user?

try this

client side code

 <div id="wrapper" runat="server" class="abc"> 

server side code

string classname="yourclassname";//you can change name on runtime  wrapper.attributes["class"] = classname; 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -