Click here to Skip to main content
15,512,502 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Uploading Larger Files Pin
thatraja16-Feb-11 10:35
professionalthatraja16-Feb-11 10:35 
Questionbound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 15:58
C#Coudou8-Feb-11 15:58 
AnswerRe: bound dropdownlist adding temp data Pin
Vimalsoft(Pty) Ltd8-Feb-11 21:13
professionalVimalsoft(Pty) Ltd8-Feb-11 21:13 
GeneralRe: bound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 22:21
C#Coudou8-Feb-11 22:21 
AnswerRe: bound dropdownlist adding temp data Pin
Anurag Gandhi8-Feb-11 23:06
professionalAnurag Gandhi8-Feb-11 23:06 
GeneralRe: bound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 23:41
C#Coudou8-Feb-11 23:41 
GeneralRe: bound dropdownlist adding temp data Pin
Anurag Gandhi8-Feb-11 23:54
professionalAnurag Gandhi8-Feb-11 23:54 
QuestionCheckbox inside gridview. Pin
fififlowertot8-Feb-11 1:04
fififlowertot8-Feb-11 1:04 
Hi,
I have a checkbox inside a gridview which is bound to data at runtime except the checkbox templatefield.

At server side I am trying to capture the row details for the row which is selected. I get the checkbox but the checkbox.checked is always false even when it is selected.

protected void btnSelect_Click(object sender, EventArgs e)
    {
        foreach (GridViewRow row in GridView1.Rows)         
        {             
           
            CheckBox chk = (CheckBox)row.FindControl("chkAgency");
                       
            
            if (chk != null && chk.Checked)             
            {
                Response.Cookies["thistestcookie"].Value = row.Cells[0].Text.ToString();
             }         
        }     


how do i get the checked checkbox row details ?!

Thanks,
Fifi
AnswerRe: Checkbox inside gridview. Pin
Vimalsoft(Pty) Ltd8-Feb-11 21:10
professionalVimalsoft(Pty) Ltd8-Feb-11 21:10 
GeneralRe: Checkbox inside gridview. Pin
fififlowertot9-Feb-11 1:03
fififlowertot9-Feb-11 1:03 
GeneralRe: Checkbox inside gridview. Pin
Vimalsoft(Pty) Ltd9-Feb-11 20:14
professionalVimalsoft(Pty) Ltd9-Feb-11 20:14 
Questionfind runtime textbox value from grid Pin
Sneha Bisht7-Feb-11 20:52
Sneha Bisht7-Feb-11 20:52 
AnswerRe: find runtime textbox value from grid Pin
Parwej Ahamad8-Feb-11 1:08
professionalParwej Ahamad8-Feb-11 1:08 
QuestionHow can I get Session value in c#? Pin
buffering836-Feb-11 13:49
buffering836-Feb-11 13:49 
AnswerRe: How can I get Session value in c#? Pin
Shujaat Gul6-Feb-11 21:15
Shujaat Gul6-Feb-11 21:15 
AnswerRe: How can I get Session value in c#? Pin
Vimalsoft(Pty) Ltd7-Feb-11 21:15
professionalVimalsoft(Pty) Ltd7-Feb-11 21:15 
AnswerRe: How can I get Session value in c#? Pin
Ravi Sant3-May-11 1:20
Ravi Sant3-May-11 1:20 
Questionstrange box characters Pin
mnemonic696-Feb-11 3:29
mnemonic696-Feb-11 3:29 
AnswerRe: strange box characters Pin
Dhyanga7-Feb-11 7:14
Dhyanga7-Feb-11 7:14 
QuestionASP.NET+VB (LOGIN TO WEB SITE) Pin
Mujibulhaq5-Feb-11 21:00
Mujibulhaq5-Feb-11 21:00 
AnswerRe: ASP.NET+VB (LOGIN TO WEB SITE) Pin
Sandeep Mewara6-Feb-11 7:52
mveSandeep Mewara6-Feb-11 7:52 
AnswerRe: ASP.NET+VB (LOGIN TO WEB SITE) Pin
Vimalsoft(Pty) Ltd8-Feb-11 21:19
professionalVimalsoft(Pty) Ltd8-Feb-11 21:19 
QuestionI want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Nadia Monalisa4-Feb-11 18:30
Nadia Monalisa4-Feb-11 18:30 
AnswerRe: I want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Shahriar Iqbal Chowdhury/Galib6-Feb-11 10:04
professionalShahriar Iqbal Chowdhury/Galib6-Feb-11 10:04 
GeneralRe: I want to keep the Data access layer in a different class library project, but how can I manage Web.Config file ? Pin
Nadia Monalisa6-Feb-11 11:22
Nadia Monalisa6-Feb-11 11:22 

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.