-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: cool-amitmnagarwal
Message 6 in Discussion


 
actually u hv to place HTML 
radiobuttons  in the ITEMDATABound event!!!
as ASP.net controls would generate 
different names for each row.
 


if 
((e.Item.ItemType==ListItemType.Item) || 
(e.Item.ItemType==ListItemType.AlternatingItem))

{

Label lbl1;

lbl1=(Label)e.Item.FindControl("lblradio");

if 
(e.Item.ItemIndex==0)

lbl1.Text="<input type=radio name=radioname value="+ e.Item.Cells[2].Text 
+" checked>";

else

lbl1.Text="<input type=radio name=radioname value="+ e.Item.Cells[2].Text 
+">"; 
Amit Agarwal.
 
Software Engineer(.NET)

  ----- Original Message ----- 
  From: 
  kundan 
  
  To: MumbaiUserGroup 
  Sent: June 28, 2004 5:20 PM
  Subject: Re: DataGrid Help
  
-----------------------------------------------------------

New 
  Message on 
  MumbaiUserGroup

-----------------------------------------------------------
From: 
  kundan
Message 4 in Discussion

I WANT TO KNOW ABOUT RADIOBUTTONS IN 
  DataGrid...

-----------------------------------------------------------

To 
  stop getting this e-mail, or change how often it arrives, go to your E-mail 
  Settings.
http://groups.msn.com/MumbaiUserGroup/_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]

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_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]

Reply via email to