473,378 Members | 1,156 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

RadioButton in a GridView

Hi everybody,

I would like to have a gridview with a radiobutton column in order to
select just a row and do some task. I added a templatefield but when I
run the application, it let me select all rows, but what I want is
select only one. How can I do that? I mean, I want the radiobutton
column to work as a group.

Thanks in advance,

Bye!

Aug 2 '06 #1
1 1474
Try this

http://www.asp.net/ControlGallery/Co...021&tabindex=2
"Merichel" <me***********@hotmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi everybody,

I would like to have a gridview with a radiobutton column in order to
select just a row and do some task. I added a templatefield but when I
run the application, it let me select all rows, but what I want is
select only one. How can I do that? I mean, I want the radiobutton
column to work as a group.

Thanks in advance,

Bye!

Aug 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: VK | last post by:
Hi! What I'm missing in following code? Cannot get the values of radiobuttons. Starting only one class (GetVariant), it works. When I put two classes together, it doesn't. Regards, VK from...
3
by: sofie | last post by:
Hello all, I use the following javascript function in a html document to set the level of one of eight available radiobuttons. The line that's commented out works fine under IE, but I need to...
3
by: dave | last post by:
I have half a dozen web form radio buttons on a web form. Each of them is set to postback=true. However, if for instance radiobutton1 is already selected and the user selects it again, it performs...
4
by: Patrik | last post by:
hello, based on a client login I call a GridView that presents the appropriate questionnaire for that person. I added three columns (template fields) to the gridview that are radiobuttons. The...
3
by: Badis | last post by:
Hi, I've a radiobutton as an ItemTemplate in one of my columns in GridView that is loaded from dataset, How can I goup my RadioButtons in my column the way that only one RadioButton in my column...
3
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi Guys, I have a gridview and the first column is a template that generate a radiobuttons in the gridvew. and I would like that user will be able to select one option from the list of the...
1
by: TapasRanjanRay | last post by:
Hi All I want to select a row with the help of radiobutton click, i have added the radio button in the template of the grid view, i want to change the colour of the selected row by checking...
1
by: TapasRanjanRay | last post by:
hi all i am using a gridview , in the gridview i have a template field, in that template field i have a radiobutton in itemtemplate , i want to just select a single button at a time. ...
0
by: chantigadu | last post by:
hi all, i am struck up with designing a page, that is i need to place a radio button in the gridview. if i place it directly i am able to select any number of radio buttons in that...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.