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

ASP.NET

 
GeneralRe: CheckBoxList control - Which ListItem was clicked? Pin
Ekjon11-Jul-08 9:39
Ekjon11-Jul-08 9:39 
GeneralRe: CheckBoxList control - Which ListItem was clicked? Pin
Herman<T>.Instance10-Jul-08 3:16
Herman<T>.Instance10-Jul-08 3:16 
GeneralRe: CheckBoxList control - Which ListItem was clicked? Pin
Ekjon11-Jul-08 10:11
Ekjon11-Jul-08 10:11 
QuestionCustomValidator ClientSideFunction property isn't working with ValidationSummary control Pin
Mark J. Miller9-Jul-08 6:00
Mark J. Miller9-Jul-08 6:00 
AnswerRe: CustomValidator ClientSideFunction property isn't working with ValidationSummary control Pin
Christian Graus9-Jul-08 8:08
protectorChristian Graus9-Jul-08 8:08 
GeneralRe: CustomValidator ClientSideFunction property isn't working with ValidationSummary control Pin
Mark J. Miller9-Jul-08 8:45
Mark J. Miller9-Jul-08 8:45 
GeneralRe: CustomValidator ClientSideFunction property isn't working with ValidationSummary control Pin
Christian Graus9-Jul-08 8:56
protectorChristian Graus9-Jul-08 8:56 
Questionstatic object reference problem Pin
familyof79-Jul-08 5:52
familyof79-Jul-08 5:52 
Hi, I have the following code that is giving me this error:

An object reference is required for the non-static field, method, or property 'wwwroot_Admin_EditPuppies.PedDetailsView'

Here is the code in question:

<asp:Substitution ID="Substitution1" runat="server" MethodName="GetFilename"; />

and the script:

<script language="C#" runat="server">
static string GetFilename(HttpContext context)
{
int Record = (int)PedDetailsView.SelectedValue;
string file = DetailsView1.Rows[Record].Cells[8].Text.ToString();
Response.WriteFile(file);
}
</script>

Can someone PLEASE HELP me??? I have been trying forever to get this to work!!Confused | :confused: Confused | :confused:
AnswerRe: static object reference problem Pin
Christian Graus9-Jul-08 6:00
protectorChristian Graus9-Jul-08 6:00 
GeneralRe: static object reference problem Pin
familyof79-Jul-08 6:06
familyof79-Jul-08 6:06 
GeneralRe: static object reference problem Pin
Christian Graus9-Jul-08 6:21
protectorChristian Graus9-Jul-08 6:21 
GeneralRe: static object reference problem Pin
Christian Graus9-Jul-08 6:25
protectorChristian Graus9-Jul-08 6:25 
GeneralRe: static object reference problem Pin
familyof79-Jul-08 6:34
familyof79-Jul-08 6:34 
GeneralRe: static object reference problem Pin
Christian Graus9-Jul-08 6:35
protectorChristian Graus9-Jul-08 6:35 
GeneralRe: static object reference problem Pin
familyof79-Jul-08 7:22
familyof79-Jul-08 7:22 
GeneralRe: static object reference problem Pin
Christian Graus9-Jul-08 7:23
protectorChristian Graus9-Jul-08 7:23 
Questionput name of picture in database Pin
strawberrysh9-Jul-08 4:49
strawberrysh9-Jul-08 4:49 
AnswerRe: put name of picture in database Pin
Christian Graus9-Jul-08 4:55
protectorChristian Graus9-Jul-08 4:55 
AnswerRe: put name of picture in database Pin
Mark J. Miller9-Jul-08 6:05
Mark J. Miller9-Jul-08 6:05 
Questionshowing a dropdownlist in gridview Pin
eyeseetee9-Jul-08 4:25
eyeseetee9-Jul-08 4:25 
GeneralRe: showing a dropdownlist in gridview Pin
Christian Graus9-Jul-08 4:35
protectorChristian Graus9-Jul-08 4:35 
GeneralRe: showing a dropdownlist in gridview Pin
eyeseetee9-Jul-08 4:43
eyeseetee9-Jul-08 4:43 
GeneralRe: showing a dropdownlist in gridview Pin
Christian Graus9-Jul-08 4:48
protectorChristian Graus9-Jul-08 4:48 
GeneralRe: showing a dropdownlist in gridview Pin
eyeseetee9-Jul-08 4:50
eyeseetee9-Jul-08 4:50 
GeneralRe: showing a dropdownlist in gridview Pin
Christian Graus9-Jul-08 4:53
protectorChristian Graus9-Jul-08 4:53 

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.