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

ASP.NET

 
AnswerRe: The state information is invalid for this page and might be corrupted. Pin
Ankur\m/9-Oct-11 22:43
professionalAnkur\m/9-Oct-11 22:43 
GeneralRe: The state information is invalid for this page and might be corrupted. Pin
uspatel9-Oct-11 23:26
professionaluspatel9-Oct-11 23:26 
QuestionCustom controls Pin
pravin_mun9-Oct-11 20:29
pravin_mun9-Oct-11 20:29 
AnswerRe: Custom controls Pin
Ali Al Omairi(Abu AlHassan)9-Oct-11 23:23
professionalAli Al Omairi(Abu AlHassan)9-Oct-11 23:23 
Questionclick of a button in master page Pin
MalarGayu9-Oct-11 19:16
MalarGayu9-Oct-11 19:16 
AnswerRe: click of a button in master page Pin
Morgs Morgan9-Oct-11 23:47
Morgs Morgan9-Oct-11 23:47 
AnswerRe: click of a button in master page Pin
uspatel10-Oct-11 21:39
professionaluspatel10-Oct-11 21:39 
QuestionDisable checkbox in gridview if Cell 4 has KS value Pin
Member 32222649-Oct-11 15:41
Member 32222649-Oct-11 15:41 
Hi,
I want to disable the checkbox if the gridview cell 4 has KS value.

Getting object reference not set in gv=Gridview1.SelectedRow


C#
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
    GridViewRow gv ;
    gv =GridView1.SelectedRow;
    if (gv.Cells[4].Text == "KS")
    {
        if (gv.RowType == DataControlRowType.DataRow)
        {
            CheckBox chkDelete = (CheckBox)gv.Cells[0].Controls[0];
            chkDelete.Enabled = false;
        }
    }

}


Need help

Thanks
S.Guhananth
Questionwhy ajax tap container does not appear in .Net 2010 but appear in 2008? Pin
ma.amer9-Oct-11 5:31
ma.amer9-Oct-11 5:31 
AnswerRe: why ajax tap container does not appear in .Net 2010 but appear in 2008? Pin
Paul Conrad9-Oct-11 16:33
professionalPaul Conrad9-Oct-11 16:33 
GeneralRe: why ajax tap container does not appear in .Net 2010 but appear in 2008? Pin
ma.amer10-Oct-11 9:52
ma.amer10-Oct-11 9:52 
GeneralRe: why ajax tap container does not appear in .Net 2010 but appear in 2008? Pin
Paul Conrad10-Oct-11 10:01
professionalPaul Conrad10-Oct-11 10:01 
QuestionSend lots of email Pin
Elham M8-Oct-11 19:49
Elham M8-Oct-11 19:49 
AnswerRe: Send lots of email Pin
OriginalGriff8-Oct-11 20:46
mveOriginalGriff8-Oct-11 20:46 
GeneralRe: Send lots of email Pin
Elham M9-Oct-11 0:58
Elham M9-Oct-11 0:58 
GeneralRe: Send lots of email Pin
André Kraak9-Oct-11 1:25
André Kraak9-Oct-11 1:25 
GeneralRe: Send lots of email Pin
Elham M9-Oct-11 3:26
Elham M9-Oct-11 3:26 
GeneralRe: Send lots of email Pin
André Kraak9-Oct-11 3:52
André Kraak9-Oct-11 3:52 
GeneralRe: Send lots of email Pin
OriginalGriff9-Oct-11 1:41
mveOriginalGriff9-Oct-11 1:41 
GeneralRe: Send lots of email Pin
Elham M9-Oct-11 3:16
Elham M9-Oct-11 3:16 
QuestionWeb Service access in a web page Pin
devboycpp8-Oct-11 17:08
devboycpp8-Oct-11 17:08 
AnswerRe: Web Service access in a web page Pin
Morgs Morgan9-Oct-11 23:34
Morgs Morgan9-Oct-11 23:34 
QuestionRe: Web Service access in a web page Pin
devboycpp9-Oct-11 23:47
devboycpp9-Oct-11 23:47 
Questionhow to send bulk mail? Pin
sathyan_82948-Oct-11 6:11
sathyan_82948-Oct-11 6:11 
AnswerRe: how to send bulk mail? Pin
André Kraak9-Oct-11 2:14
André Kraak9-Oct-11 2:14 

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.