Re: Highlight a Row in Datagrid when check box is selected

2005-03-02 Thread BDOTNET
---

New Message on BDOTNET

---
From: King John
Message 5 in Discussion

http://www.codeguru.com/forum/archive/index.php/t-305176.html

---

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the Remove link below. On the 
pre-addressed e-mail message that opens, simply click Send. Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]


Re: Highlight a Row in Datagrid when check box is selected

2005-03-02 Thread BDOTNET
---

New Message on BDOTNET

---
From: King John
Message 6 in Discussion

hi
I am attaching a JAVA Script Code.
You can use this in DataGrid or DataList

http://www.alltimefriends.com/temp/tableRowSelect.html

John Manavalan
www.manavalan.com



!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head
titlewww.manavalan.com/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head

body bgcolor=#CC
form name=form1 method=post action=
  

   
  Name
  Company
  Address


  input type=checkbox name=checkboxCont value=1 
onClick=highlight(this)
  King John 
  NCRP - ICMR 
  Bangalore


  input type=checkbox name=checkboxCont value=2 
onClick=highlight(this)
  Nimmy
  Mind Tree 
  Bangalore


  input type=checkbox name=checkboxCont value=3 
onClick=highlight(this)
  Sreeja
  HP
  Bangalore


  input type=checkbox name=checkboxCont value=4 
onClick=highlight(this)
  Naveen
  Trigent
  Bangalore

  
  

input type=button name=Button value=Close Me 
onClick=javascript:window.close();
  
/form


  
function highlight(arr) {
   var tr = eval(document.getElementById(\TR + arr.value + \));
   if (arr.checked == true)
tr.style.backgroundColor = lightgreen;
 else
tr.style.backgroundColor = orange;

}
  /script


By John Manavalan

www.manavalan.com
/body
/html





---

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the Remove link below. On the 
pre-addressed e-mail message that opens, simply click Send. Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]


Re: Highlight a Row in Datagrid when check box is selected

2005-03-02 Thread BDOTNET
---

New Message on BDOTNET

---
From: King John
Message 7 in Discussion

hi
I am attaching a JAVA Script Code.
You can use this in DataGrid or DataList

http://www.alltimefriends.com/temp/tableRowSelect.html

John Manavalan
www.manavalan.com

---

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the Remove link below. On the 
pre-addressed e-mail message that opens, simply click Send. Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]


Re: Highlight a Row in Datagrid when check box is selected

2005-02-28 Thread BDOTNET
---

New Message on BDOTNET

---
From: King John
Message 2 in Discussion

I am also looking for the same code. I have seen one CSS for this in some site. 
If i get i will let you know. If you get the answer  before me plz send me the 
code in my mail ID [EMAIL PROTECTED] 

---

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the Remove link below. On the 
pre-addressed e-mail message that opens, simply click Send. Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]


Re: Highlight a Row in Datagrid when check box is selected

2005-02-28 Thread BDOTNET
---

New Message on BDOTNET

---
From: King John
Message 3 in Discussion

I am also looking for  the same. I have seen this in come JSP Code i downloded 
for struts. I hope this is done using CSS and JavaScript. If I get that I will 
send a reply. If you find the answer plz send a reply to [EMAIL PROTECTED]

John Manavalan

---

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the Remove link below. On the 
pre-addressed e-mail message that opens, simply click Send. Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]


Re: Highlight a Row in Datagrid when check box is selected

2005-02-28 Thread Luttappi9
---

New Message on BDOTNET

---
From: Luttappi9
Message 4 in Discussion

Hi

your datagid will be rendered as a table

while user check/uncheck  a checkbox, get the parent tag(td) of ur checkbox 
using javascript. Then get the the parent tag(tr) for that td and change the 
css style.

I dont have that code..

bineesh 

---

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the Remove link below. On the 
pre-addressed e-mail message that opens, simply click Send. Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]