Click here to Skip to main content
15,898,134 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: onblur i cant get result Pin
pmarfleet7-Dec-07 10:51
pmarfleet7-Dec-07 10:51 
GeneralRe: onblur i cant get result Pin
Ajeet mittal7-Dec-07 11:53
Ajeet mittal7-Dec-07 11:53 
QuestionPlease help - MultiView/View with MenuItems and GridViews Pin
Member 47002257-Dec-07 8:35
Member 47002257-Dec-07 8:35 
Generalusing a class in another webform Pin
nigel20007-Dec-07 6:48
nigel20007-Dec-07 6:48 
GeneralRe: using a class in another webform Pin
Michael Sync7-Dec-07 7:06
Michael Sync7-Dec-07 7:06 
GeneralRe: using a class in another webform Pin
J$7-Dec-07 7:12
J$7-Dec-07 7:12 
GeneralRe: using a class in another webform Pin
nigel20007-Dec-07 8:25
nigel20007-Dec-07 8:25 
QuestionHow To Select Only One Radio Button in GridView Control in C# Pin
mrgaddam7-Dec-07 4:41
mrgaddam7-Dec-07 4:41 
Hi,

This is from Chandrakanth.

Now I am working on asp.net 2.0

My Problem is i have one Page called "Search".In that search page i have Text Box called "txtUserName".

And i entered some letter in that Textbox.

Based on that letter list of records are displaying with Radio Buttons in gridview.

And i want to select only one record from the gridview by selecting RadioButton.

at present i can able to select multiple records by clicking radio buttons.

i do want to select only one record, Then Rest of the radio buttons record should be unselect in gridview.

Can any one help me for this.

Thnaks in advance

here i am giveing Gridview code also


<table id="tblEmpDtls" cellspacing="2" cellpadding="2" width="100%" border="1" runat="server">
<tr>
<td class="TableHead" colspan="2"> Employee Details</td>
</tr>
<tr>
<td class="TableRow" colspan="4">
<asp:GridView ID="gdvUserSearch" runat="server" AllowPaging="True" AllowSorting="True" PageIndex="15" AutoGenerateColumns="False" Width="100%" Height="77px">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:RadioButton ID="rdSelect" runat="server" Text="Select" GroupName="rdBox" OnCheckedChanged="rbdefault_CheckedChanged" />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField HeaderText="User Id" DataField="UserId" />
<asp:BoundField HeaderText="User Name" DataField="UserName" />
<asp:BoundField HeaderText="Email Id" DataField="Email" />
<asp:BoundField HeaderText="Mobile No" DataField="Mobile_No" />
</Columns>
</asp:GridView>
</td>
</tr>
</table>

Thanks and Regards
Chandrakanth

Chandrakanth

AnswerRe: How To Select Only One Radio Button in GridView Control in C# Pin
Michael Sync7-Dec-07 6:03
Michael Sync7-Dec-07 6:03 
GeneralRe: How To Select Only One Radio Button in GridView Control in C# Pin
Michael Sync7-Dec-07 6:05
Michael Sync7-Dec-07 6:05 
GeneralException when calling web service: The underlying connection was closed Pin
Talal Sultan7-Dec-07 3:49
Talal Sultan7-Dec-07 3:49 
GeneralJavascript Error Pin
M_Menon7-Dec-07 3:43
M_Menon7-Dec-07 3:43 
GeneralRe: Javascript Error Pin
Michael Sync7-Dec-07 4:03
Michael Sync7-Dec-07 4:03 
GeneralRe: Javascript Error Pin
M_Menon7-Dec-07 4:35
M_Menon7-Dec-07 4:35 
GeneralWho vote 1 for the correct answer? Pin
Michael Sync7-Dec-07 6:13
Michael Sync7-Dec-07 6:13 
GeneralRe: Javascript Error Pin
Pushpendra patwal8-Dec-07 3:28
Pushpendra patwal8-Dec-07 3:28 
GeneralDifference Between Div and Table Pin
Khan.Bangash7-Dec-07 3:22
Khan.Bangash7-Dec-07 3:22 
GeneralRe: Difference Between Div and Table Pin
Michael Sync7-Dec-07 3:52
Michael Sync7-Dec-07 3:52 
GeneralGridView Sorting Pin
PranavThakur7-Dec-07 3:16
PranavThakur7-Dec-07 3:16 
GeneralRe: GridView Sorting Pin
Jim Taylor7-Dec-07 3:30
Jim Taylor7-Dec-07 3:30 
QuestionHow to access server-side controls of a user control(ascx) from its parent page (aspx) by using javascript Pin
Bluebamboo7-Dec-07 2:47
Bluebamboo7-Dec-07 2:47 
AnswerRe: How to access server-side controls of a user control(ascx) from its parent page (aspx) by using javascript Pin
Paddy Boyd7-Dec-07 2:52
Paddy Boyd7-Dec-07 2:52 
GeneralRe: How to access server-side controls of a user control(ascx) from its parent page (aspx) by using javascript Pin
Bluebamboo7-Dec-07 3:04
Bluebamboo7-Dec-07 3:04 
GeneralRe: How to access server-side controls of a user control(ascx) from its parent page (aspx) by using javascript Pin
Bluebamboo7-Dec-07 3:07
Bluebamboo7-Dec-07 3:07 
GeneralRe: How to access server-side controls of a user control(ascx) from its parent page (aspx) by using javascript Pin
Michael Sync7-Dec-07 4:07
Michael Sync7-Dec-07 4:07 

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.