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

ASP.NET

 
AnswerRe: Uploading Larger Files Pin
thatraja16-Feb-11 9:35
professionalthatraja16-Feb-11 9:35 
Questionbound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 14:58
C#Coudou8-Feb-11 14:58 
AnswerRe: bound dropdownlist adding temp data Pin
Vimalsoft(Pty) Ltd8-Feb-11 20:13
professionalVimalsoft(Pty) Ltd8-Feb-11 20:13 
GeneralRe: bound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 21:21
C#Coudou8-Feb-11 21:21 
AnswerRe: bound dropdownlist adding temp data Pin
Anurag Gandhi8-Feb-11 22:06
professionalAnurag Gandhi8-Feb-11 22:06 
GeneralRe: bound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 22:41
C#Coudou8-Feb-11 22:41 
GeneralRe: bound dropdownlist adding temp data Pin
Anurag Gandhi8-Feb-11 22:54
professionalAnurag Gandhi8-Feb-11 22:54 
QuestionCheckbox inside gridview. Pin
fififlowertot8-Feb-11 0:04
fififlowertot8-Feb-11 0: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 20:10
professionalVimalsoft(Pty) Ltd8-Feb-11 20:10 
GeneralRe: Checkbox inside gridview. Pin
fififlowertot9-Feb-11 0:03
fififlowertot9-Feb-11 0:03 
GeneralRe: Checkbox inside gridview. Pin
Vimalsoft(Pty) Ltd9-Feb-11 19:14
professionalVimalsoft(Pty) Ltd9-Feb-11 19:14 
Questionfind runtime textbox value from grid Pin
Sneha Bisht7-Feb-11 19:52
Sneha Bisht7-Feb-11 19:52 
AnswerRe: find runtime textbox value from grid Pin
Parwej Ahamad8-Feb-11 0:08
professionalParwej Ahamad8-Feb-11 0:08 
QuestionHow can I get Session value in c#? Pin
buffering836-Feb-11 12:49
buffering836-Feb-11 12:49 
AnswerRe: How can I get Session value in c#? Pin
Shujaat Gul6-Feb-11 20:15
Shujaat Gul6-Feb-11 20:15 
AnswerRe: How can I get Session value in c#? Pin
Vimalsoft(Pty) Ltd7-Feb-11 20:15
professionalVimalsoft(Pty) Ltd7-Feb-11 20:15 
AnswerRe: How can I get Session value in c#? Pin
Ravi Sant3-May-11 0:20
Ravi Sant3-May-11 0:20 
Questionstrange box characters Pin
mnemonic696-Feb-11 2:29
mnemonic696-Feb-11 2:29 
AnswerRe: strange box characters Pin
Dhyanga7-Feb-11 6:14
Dhyanga7-Feb-11 6:14 
QuestionASP.NET+VB (LOGIN TO WEB SITE) Pin
Mujibulhaq5-Feb-11 20:00
Mujibulhaq5-Feb-11 20:00 
AnswerRe: ASP.NET+VB (LOGIN TO WEB SITE) Pin
Sandeep Mewara6-Feb-11 6:52
mveSandeep Mewara6-Feb-11 6:52 
AnswerRe: ASP.NET+VB (LOGIN TO WEB SITE) Pin
Vimalsoft(Pty) Ltd8-Feb-11 20:19
professionalVimalsoft(Pty) Ltd8-Feb-11 20: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 17:30
Nadia Monalisa4-Feb-11 17: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 9:04
professionalShahriar Iqbal Chowdhury/Galib6-Feb-11 9: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 10:22
Nadia Monalisa6-Feb-11 10: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.