Click here to Skip to main content
15,895,370 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How can I access a method on a child page from its master page ? Pin
AspDotNetDev10-May-11 16:20
protectorAspDotNetDev10-May-11 16:20 
AnswerRe: How can I access a method on a child page from its master page ? Pin
AspDotNetDev10-May-11 10:55
protectorAspDotNetDev10-May-11 10:55 
GeneralRe: How can I access a method on a child page from its master page ? Pin
Keith Barrow10-May-11 11:40
professionalKeith Barrow10-May-11 11:40 
GeneralRe: How can I access a method on a child page from its master page ? Pin
AspDotNetDev10-May-11 12:02
protectorAspDotNetDev10-May-11 12:02 
GeneralRe: How can I access a method on a child page from its master page ? Pin
Keith Barrow10-May-11 12:06
professionalKeith Barrow10-May-11 12:06 
GeneralRe: How can I access a method on a child page from its master page ? Pin
AspDotNetDev10-May-11 12:09
protectorAspDotNetDev10-May-11 12:09 
GeneralRe: How can I access a method on a child page from its master page ? [modified] Pin
Keith Barrow10-May-11 12:18
professionalKeith Barrow10-May-11 12:18 
Questionfetching radiobutton control value from gridview Pin
Karan_TN9-May-11 22:52
Karan_TN9-May-11 22:52 
through means of below code i add radiobutton to my gridview.

grdFeedback.DataSource = ds;
grdFeedback.DataBind();

 foreach (GridViewRow row in grdFeedback.Rows)
                {
                    if (row.Cells[3].Text == "" && row.Cells[4].Text == "" && row.Cells[5].Text == "" && row.Cells[6].Text == "" && row.Cells[7].Text == "")
                    {
                        TextBox txtAns = new TextBox();
                        txtAns.ID = "txtAns";
                        row.Cells[3].Controls.Add(txtAns);
                    }
                    else
                    {
                        for (int c = 3; c <= 7; c++)
                        {
                            if (row.Cells[c].Text != "&nbsp;")
                            {
                                RadioButton rbtn = new RadioButton();
                                string rbt = "rbtngrp";
                                string opt = row.Cells[c].Text;

                                rbtn.ID = rbt + row.RowIndex + c;
                                rbtn.Text = opt.ToString();
                                rbtn.GroupName = rbt + row.RowIndex;
                                row.Cells[c].Controls.Add(rbtn);
                            }
                        }
                    }
                }


how to check it whether the button is checked or not in an button click?. The below code i used. but its error : 'grdFeedback.Rows[0].Cells[4].Controls[2]' threw an exception of 'System.ArgumentOutOfRangeException' bool {System.ArgumentOutOfRangeException}

((CheckBox)(grdFeedback.Rows[0].Cells[4].Controls[2])).Checked

AnswerRe: fetching radiobutton control value from gridview Pin
Roman_wolf10-May-11 0:29
Roman_wolf10-May-11 0:29 
GeneralRe: fetching radiobutton control value from gridview Pin
Karan_TN10-May-11 1:33
Karan_TN10-May-11 1:33 
GeneralRe: fetching radiobutton control value from gridview Pin
Roman_wolf10-May-11 20:58
Roman_wolf10-May-11 20:58 
QuestionA stupid CustomValidator [Solved] Pin
Ali Al Omairi(Abu AlHassan)9-May-11 22:12
professionalAli Al Omairi(Abu AlHassan)9-May-11 22:12 
AnswerRe: A stupid CustomValidator [Solved] Pin
Ali Al Omairi(Abu AlHassan)10-May-11 3:30
professionalAli Al Omairi(Abu AlHassan)10-May-11 3:30 
Questionhow can add javascript code ?? Pin
lolostar9-May-11 14:41
lolostar9-May-11 14:41 
AnswerRe: how can add javascript code ?? Pin
Anurag Gandhi9-May-11 19:13
professionalAnurag Gandhi9-May-11 19:13 
AnswerRe: how can add javascript code ?? Pin
Nitin S9-May-11 19:19
professionalNitin S9-May-11 19:19 
GeneralRe: how can add javascript code ?? Pin
lolostar9-May-11 20:10
lolostar9-May-11 20:10 
GeneralRe: how can add javascript code ?? Pin
Nitin S9-May-11 20:13
professionalNitin S9-May-11 20:13 
GeneralRe: how can add javascript code ?? Pin
Ali Al Omairi(Abu AlHassan)9-May-11 22:08
professionalAli Al Omairi(Abu AlHassan)9-May-11 22:08 
AnswerRe: how can add javascript code ?? Pin
Prasanta_Prince9-May-11 21:03
Prasanta_Prince9-May-11 21:03 
QuestionDatabase audit/journaling Pin
vanikanc9-May-11 8:09
vanikanc9-May-11 8:09 
AnswerRe: Database audit/journaling Pin
Ennis Ray Lynch, Jr.9-May-11 8:21
Ennis Ray Lynch, Jr.9-May-11 8:21 
QuestionASP & JavaScript Pin
future38397-May-11 1:56
future38397-May-11 1:56 
AnswerRe: ASP & JavaScript Pin
Luc Pattyn7-May-11 2:20
sitebuilderLuc Pattyn7-May-11 2:20 
AnswerRe: ASP & JavaScript Pin
keyur satyadev7-May-11 2:40
keyur satyadev7-May-11 2:40 

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.