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

ASP.NET

 
GeneralRe: Problem in onServerClick Pin
slSoftware21-Jul-09 23:46
slSoftware21-Jul-09 23:46 
QuestionGridView Cell Data....Index Out Of Range Exception Pin
PDTUM21-Jul-09 6:00
PDTUM21-Jul-09 6:00 
AnswerRe: GridView Cell Data....Index Out Of Range Exception Pin
Brij21-Jul-09 6:10
mentorBrij21-Jul-09 6:10 
GeneralRe: GridView Cell Data....Index Out Of Range Exception Pin
PDTUM21-Jul-09 6:38
PDTUM21-Jul-09 6:38 
GeneralRe: GridView Cell Data....Index Out Of Range Exception Pin
Brij21-Jul-09 7:06
mentorBrij21-Jul-09 7:06 
GeneralRe: GridView Cell Data....Index Out Of Range Exception Pin
PDTUM21-Jul-09 8:07
PDTUM21-Jul-09 8:07 
GeneralRe: GridView Cell Data....Index Out Of Range Exception Pin
Brij21-Jul-09 9:12
mentorBrij21-Jul-09 9:12 
GeneralRe: GridView Cell Data....Index Out Of Range Exception Pin
PDTUM21-Jul-09 9:27
PDTUM21-Jul-09 9:27 
Hi Brij,

Well, this is one that I have never seen before (perhaps I am leading a sheltered life...?..Smile | :) .

OK, I put that in and got this new error:

Compiler Error Message: CS1061: 'System.Web.UI.WebControls.GridViewCommandEventArgs' does not contain a definition for 'Row' and no extension method 'Row' accepting a first argument of type 'System.Web.UI.WebControls.GridViewCommandEventArgs' could be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 481: if (e.CommandName.Equals("getPdf"))
Line 482: {
Line 483: Button button = (Button)e.Row.Cells[0].Controls[0];
Line 484:
Line 485:

Could I be missing a using directive for this to compile?. Below is a copy of the using directives for this page:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
using System.Data;
using System.Diagnostics;

Thanks Brij...Pat
GeneralRe: GridView Cell Data....Index Out Of Range Exception Pin
Brij21-Jul-09 9:48
mentorBrij21-Jul-09 9:48 
QuestionProblem with jquery Pin
sarang_k21-Jul-09 5:47
sarang_k21-Jul-09 5:47 
AnswerRe: Problem with jquery Pin
DoctorMick21-Jul-09 5:50
DoctorMick21-Jul-09 5:50 
AnswerRe: Problem with jquery Pin
Brij21-Jul-09 6:05
mentorBrij21-Jul-09 6:05 
Questiongridview page Pin
Rajeshwar Code- Developer21-Jul-09 4:06
Rajeshwar Code- Developer21-Jul-09 4:06 
AnswerRe: gridview page Pin
Vimalsoft(Pty) Ltd21-Jul-09 4:27
professionalVimalsoft(Pty) Ltd21-Jul-09 4:27 
GeneralRe: gridview page Pin
Rajeshwar Code- Developer21-Jul-09 5:41
Rajeshwar Code- Developer21-Jul-09 5:41 
GeneralRe: gridview page Pin
Vimalsoft(Pty) Ltd21-Jul-09 20:04
professionalVimalsoft(Pty) Ltd21-Jul-09 20:04 
AnswerRe: gridview page Pin
Abhishek Sur21-Jul-09 5:30
professionalAbhishek Sur21-Jul-09 5:30 
Questionerror : panel1 does not exits in correct context Pin
pupilstuff21-Jul-09 3:33
pupilstuff21-Jul-09 3:33 
AnswerRe: error : panel1 does not exits in correct context Pin
Abhijit Jana21-Jul-09 3:38
professionalAbhijit Jana21-Jul-09 3:38 
AnswerRe: error : panel1 does not exits in correct context Pin
Brij21-Jul-09 3:38
mentorBrij21-Jul-09 3:38 
AnswerRe: error : panel1 does not exits in correct context Pin
Abhishek Sur21-Jul-09 5:26
professionalAbhishek Sur21-Jul-09 5:26 
Questiondynamic menucontrol Pin
mylogics21-Jul-09 2:25
professionalmylogics21-Jul-09 2:25 
AnswerRe: dynamic menucontrol Pin
Abhishek Sur21-Jul-09 2:41
professionalAbhishek Sur21-Jul-09 2:41 
AnswerRe: dynamic menucontrol Pin
Abhijit Jana21-Jul-09 3:01
professionalAbhijit Jana21-Jul-09 3:01 
AnswerRe: dynamic menucontrol Pin
Brij21-Jul-09 3:09
mentorBrij21-Jul-09 3:09 

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.