.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 7th, 2003, 02:06 PM
jathu jathu is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 1 jathu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Problem using radiobuttons in a datagrid

Hi,
I need to implement the following requirement. I need to populate a datagrid from the database using a straightforward query.
One of the fields say X retrieved from the DB should not be shown on the grid, but must be brought to the clientside.
In addition to the fields returned from the DB, I need to have a radiobutton column. When I click on any radio button, I need to show the contents of the field X in a separate textbox mentioned earlier using clientside JavaScript with no postback.

I tried implementing this using a template column for the radiobutton and the remaining fields being autogenerated at run time.
But, I cannot select any radiobutton, on clicking, they remain unselected. Also, I have no idea as to how to display the value in the textbox

I am stuck and would appreciate some help.

Thanks in advance.

Reply With Quote
  #2  
Old September 17th, 2004, 09:52 AM
glenngoovaerts glenngoovaerts is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 glenngoovaerts User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm looking to do the same thing here. Had any comments ?

Could you send your reply directly to me please ? Glenn@pixco.com
Thanx


Quote:
Originally Posted by jathu
Hi,
I need to implement the following requirement. I need to populate a datagrid from the database using a straightforward query.
One of the fields say X retrieved from the DB should not be shown on the grid, but must be brought to the clientside.
In addition to the fields returned from the DB, I need to have a radiobutton column. When I click on any radio button, I need to show the contents of the field X in a separate textbox mentioned earlier using clientside JavaScript with no postback.

I tried implementing this using a template column for the radiobutton and the remaining fields being autogenerated at run time.
But, I cannot select any radiobutton, on clicking, they remain unselected. Also, I have no idea as to how to display the value in the textbox

I am stuck and would appreciate some help.

Thanks in advance.

Reply With Quote
  #3  
Old October 5th, 2004, 09:27 PM
wiparat wiparat is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 wiparat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by glenngoovaerts
I'm looking to do the same thing here. Had any comments ?

Could you send your reply directly to me please ? Glenn@pixco.com
Thanx

did you set Group name of radio button?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Problem using radiobuttons in a datagrid


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT