i




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add Css to Gridiview Template Filed at Runtime based on Condition
12-10-2013, 06:23 AM
Post: #1
Add Css to Gridiview Template Filed at Runtime based on Condition
Code:
<div class='<%#Eval("conditionvalue").ToString()=="result"?"css1":"css2" %>'  
runat="server" id="divprofile" </div>



Quote


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  CSS Menu Without Using Javascript - Css Menu with Dropdownlist raju 1 2,512 09-14-2010 11:55 AM
Last Post: nisar87



User(s) browsing this thread: 1 Guest(s)