Click here to Skip to main content
15,894,460 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Link Button Does not Show as a Link Pin
subai9-Jul-08 18:44
subai9-Jul-08 18:44 
GeneralRe: Link Button Does not Show as a Link Pin
Vimalsoft(Pty) Ltd9-Jul-08 21:14
professionalVimalsoft(Pty) Ltd9-Jul-08 21:14 
QuestionRadio Buttons in GridView Pin
hellbinder9-Jul-08 9:00
hellbinder9-Jul-08 9:00 
AnswerRe: Radio Buttons in GridView Pin
led mike9-Jul-08 10:19
led mike9-Jul-08 10:19 
GeneralRe: Radio Buttons in GridView Pin
hellbinder9-Jul-08 11:33
hellbinder9-Jul-08 11:33 
GeneralRe: Radio Buttons in GridView Pin
led mike9-Jul-08 11:51
led mike9-Jul-08 11:51 
GeneralRe: Radio Buttons in GridView Pin
hellbinder9-Jul-08 12:05
hellbinder9-Jul-08 12:05 
GeneralRe: Radio Buttons in GridView Pin
Herman<T>.Instance10-Jul-08 2:58
Herman<T>.Instance10-Jul-08 2:58 
this might do the trick

<asp:TemplateField>
                            <ItemTemplate>
                                <asp:RadioButtonList ID="rblItems" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rblItems_OnSelectedIndexChanged">
                                    <asp:ListItem Text="Yes" />
                                    <asp:ListItem Text="No" />
                                </asp:RadioButtonList>
                            </ItemTemplate>
                        </asp:TemplateField>


In your Code Behind you do something like
protected void rblItems_OnSelectedIndexChanged(Object sender, EventArgs e)
{
if (rblItems.SelectedIndex.Equals(0))
{
   // your code if YES
}
else if (rblItems.SelectedIndex.Equals(1))
{
   // your code if NO
}

}


Good Luck
Questioncontrols in gridview Pin
strawberrysh9-Jul-08 8:49
strawberrysh9-Jul-08 8:49 
AnswerRe: controls in gridview Pin
Christian Graus9-Jul-08 8:53
protectorChristian Graus9-Jul-08 8:53 
QuestionRe: controls in gridview Pin
strawberrysh9-Jul-08 10:42
strawberrysh9-Jul-08 10:42 
AnswerRe: controls in gridview Pin
Christian Graus9-Jul-08 11:35
protectorChristian Graus9-Jul-08 11:35 
QuestionRe: controls in gridview Pin
strawberrysh9-Jul-08 18:19
strawberrysh9-Jul-08 18:19 
QuestionFree web hosting Pin
Genius.Boy9-Jul-08 8:19
Genius.Boy9-Jul-08 8:19 
AnswerRe: Free web hosting Pin
jzonthemtn9-Jul-08 11:48
jzonthemtn9-Jul-08 11:48 
GeneralRe: Free web hosting Pin
Genius.Boy9-Jul-08 17:45
Genius.Boy9-Jul-08 17:45 
AnswerRe: Free web hosting Pin
Paul Conrad9-Jul-08 15:17
professionalPaul Conrad9-Jul-08 15:17 
GeneralRe: Free web hosting Pin
Genius.Boy9-Jul-08 17:47
Genius.Boy9-Jul-08 17:47 
GeneralRe: Free web hosting Pin
Paul Conrad9-Jul-08 18:42
professionalPaul Conrad9-Jul-08 18:42 
GeneralRe: Free web hosting Pin
Genius.Boy9-Jul-08 19:26
Genius.Boy9-Jul-08 19:26 
GeneralRe: Free web hosting Pin
Paul Conrad9-Jul-08 19:28
professionalPaul Conrad9-Jul-08 19:28 
QuestionHow to trigger a method after some time [modified] Pin
Aslesh9-Jul-08 8:04
Aslesh9-Jul-08 8:04 
AnswerRe: How to trigger a method after some time Pin
Christian Graus9-Jul-08 8:07
protectorChristian Graus9-Jul-08 8:07 
General[Message Deleted] Pin
Aslesh9-Jul-08 8:15
Aslesh9-Jul-08 8:15 
GeneralRe: How to trigger a method after some time Pin
Christian Graus9-Jul-08 8:17
protectorChristian Graus9-Jul-08 8:17 

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.