Advertisement

02.12.2008 at 03:15PM PST, ID: 23158127
[x]
Attachment Details

C# GRID Radio Buttons

Asked by nkoriginal in Microsoft Visual C#.Net, C# Programming Language, Programming for ASP.NET

Tags:

Hello:

Using C#

I've a little problem with a grid and radio. I've a grid with 3 columns. One of these columns has 2 Radiobutton (in a group). The last column has a button (Submit)
I bind the grid in C# code behind (including textbox, label and radio button).
Now the problem is I bind the grid and depends what line, the radio will be selected. So it will checked.
The grid fill when the page load!!

But after I bind the grid, I want to select any RADIO in any row and change the selection.
I tried to use IspostBack, but I can't use it because everytime I selected the radiobutton the page reload.
So if I'll change the radiobutton, the page reload, fill the grid again and I lost the selection, that the problem I've with ispostback

So in little words what I need is: I need to change the "checked" radiobutton WITHOUT reload the page.
Maybe using javascript onlick.
But the problem with this solution is: I can't use onlick in asp:radiobutton, because is not supported.

Please if anyone can help, I will really appreciate it!

Thanks
NIKO
Start Free Trial
[+][-]02.13.2008 at 01:52AM PST, ID: 20882899

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, C# Programming Language, Programming for ASP.NET
Tags: C#, NET
Sign Up Now!
Solution Provided By: monarch_ilhan
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.14.2008 at 09:04AM PST, ID: 20895058

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628