Hi All,
Actually according to my requirement, I am adding contents all of same usercontrol i.e.,htmlcontent
I need to change the styles for the contents as required,as it was taking cssstyle i.e., "modulecontent".so tried to use new css class but it was taking old as in code for divsingleitem class-"modulecontent" by default..so to overwrite that, i had added new column cssclass and tried with dummy data it was working fine and i am getting what i want.But the thing is as i entered values using query in sqlseerver,i was getting.so in local system its ok that we can do anything as we wish ,but in server i need to run the script.and in code behind i tried to insert the values in that way,but as the contents are binding dynamically it was not working.
actually my requirement is like this:
i have 5 contents i.e., cnt1,cnt2,cnt3,cnt4,cnt5..for all these contents we are using single style. but i need
- cnt1 without border and overflow should be allowed with different background
- cnt2 and cnt3 with border and different backgroundimages and colore
- cnt4 and cnt5 without border and different bgcolors and image
can anyone tell me how to do this?
actually i tried this in local it was working as i had decalred one column in db and getting data from there(by inserting in sqlserver) but i need to insert those values right in code behind before getting that.as those are dynamic contents i am not able to get the required styles to insert
can u plz anyone help me by giving ideas or suggestions to finish this?
already i had posted posts for several questions but dint got any answer but i tried and i did what actually want.For this requirement i am not getting wat to do?
hope i will get replies for this atleast!!
Thanks in advance,
yamunarani