Changeing color of cell of grid

  • Thread starter Matthew Webster
  • Start date
M

Matthew Webster

We are making a theatre booking system and we want the
cell of grid to change color when we click on it.
 
K

kingflux

We are making a theatre booking system and we want the
cell of grid to change color when we click on it.

*** Sent via Developersdexhttp://www.developersdex.com***

Hello, Matthew-- I'm doing something like that in my app. Maybe this
will work for you:

<asp:TextBox id="textbox1" runat="server"
onclick="this.style.background-color='#FFFF99'; this.select()"></
asp:TextBox>


Google for javascript style attributes to see a comprehensive list.

Hope that helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,227
Latest member
Daniella65

Latest Threads

Top