Click here to Skip to main content
15,925,602 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: File upload problem Pin
r_bargav4-Jan-08 18:45
r_bargav4-Jan-08 18:45 
AnswerRe: File upload problem Pin
dipak.dipak4-Jan-08 19:41
dipak.dipak4-Jan-08 19:41 
GeneralRe: File upload problem Pin
prasobh4-Jan-08 19:47
prasobh4-Jan-08 19:47 
GeneralRe: File upload problem Pin
sulabh20204-Jan-08 20:22
sulabh20204-Jan-08 20:22 
Questionhow to stop the user no to select more than one check box in the grid view Pin
jagan1234-Jan-08 17:30
jagan1234-Jan-08 17:30 
AnswerRe: how to stop the user no to select more than one check box in the grid view Pin
Michael Sync4-Jan-08 17:44
Michael Sync4-Jan-08 17:44 
GeneralRe: how to stop the user no to select more than one check box in the grid view Pin
jagan1234-Jan-08 18:09
jagan1234-Jan-08 18:09 
GeneralRe: how to stop the user no to select more than one check box in the grid view Pin
Michael Sync4-Jan-08 18:21
Michael Sync4-Jan-08 18:21 
jagadeeshkumar2106 wrote:
is not possible with check boxes


I don't want to say it's impossible.. but if you are using checkedboxes instead of radiobutton for your case, the user might feel confused. That's why I suggested you to use radiobutton.

If you want to get the example, you can check-out the link..

As this article RadioButtons inside a GridView control[^] mentioned, you can use HTML radio button instead of Server-side control if you want the user to select the only one radiobutton..

OR

Adding a GridView Column of Radio Buttons[^]

OR

http://forums.asp.net/p/1050958/1484724.aspx[^]

<br />
protected void rbSelector_CheckedChanged(object sender, System.EventArgs e)<br />
{<br />
    //Clear the existing selected row <br />
    foreach (GridViewRow oldrow in GridView1.Rows)<br />
    {<br />
        ((RadioButton)oldrow.FindControl("rbSelector")).Checked = false;<br />
    }<br />
<br />
    //Set the new selected row<br />
    RadioButton rb = (RadioButton)sender;<br />
    GridViewRow row = (GridViewRow)rb.NamingContainer;<br />
    ((RadioButton)row.FindControl("rbSelector")).Checked = true;<br />
}


Hope it helps..

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)


GeneralRe: how to stop the user no to select more than one check box in the grid view Pin
jagan1234-Jan-08 18:47
jagan1234-Jan-08 18:47 
GeneralCreate new thread with ASP.Net using C# Pin
kani984-Jan-08 11:10
kani984-Jan-08 11:10 
GeneralRe: Create new thread with ASP.Net using C# Pin
pmarfleet4-Jan-08 13:12
pmarfleet4-Jan-08 13:12 
GeneralRe: Create new thread with ASP.Net using C# Pin
Christian Graus4-Jan-08 13:31
protectorChristian Graus4-Jan-08 13:31 
GeneralDeveloping a full website !!! Help me ! Pin
mrkeivan4-Jan-08 8:20
mrkeivan4-Jan-08 8:20 
GeneralRe: Developing a full website !!! Help me ! Pin
Christian Graus4-Jan-08 9:57
protectorChristian Graus4-Jan-08 9:57 
NewsSecurity with Muscle Roadshow coming to a city near you Pin
brucedkyle4-Jan-08 7:31
brucedkyle4-Jan-08 7:31 
Generalhelp paypal variables Pin
michael_jhons4-Jan-08 3:13
michael_jhons4-Jan-08 3:13 
GeneralRe: help paypal variables [modified] Pin
rahul.net114-Jan-08 3:54
rahul.net114-Jan-08 3:54 
GeneralRe: help paypal variables Pin
michael_jhons4-Jan-08 4:48
michael_jhons4-Jan-08 4:48 
GeneralRe: help paypal variables Pin
Christian Graus4-Jan-08 9:59
protectorChristian Graus4-Jan-08 9:59 
GeneralRe: help paypal variables Pin
michael_jhons4-Jan-08 20:50
michael_jhons4-Jan-08 20:50 
GeneralRe: help paypal variables Pin
rahul.net114-Jan-08 18:22
rahul.net114-Jan-08 18:22 
GeneralRe: help paypal variables Pin
michael_jhons4-Jan-08 20:52
michael_jhons4-Jan-08 20:52 
QuestionWeb Page listener for POST message problem Pin
Roman Muntyanu4-Jan-08 2:46
Roman Muntyanu4-Jan-08 2:46 
Generalupload File size limit Pin
helelark1234-Jan-08 2:36
helelark1234-Jan-08 2:36 
GeneralRe: upload File size limit Pin
Michael Sync4-Jan-08 4:06
Michael Sync4-Jan-08 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.