Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Page Not Found on Postback

Reply
Thread Tools

Page Not Found on Postback

 
 
=?Utf-8?B?TmF0aGFuIFRydWhhbg==?=
Guest
Posts: n/a
 
      05-13-2004
Hello
I am currently in the process of creating a web page to display and edit reporting data. It consists of a few label
with instructions, a Drop-Down-List and Button (Load) to select a report to display, when the user selects a report and clicks the load button it will perform a postback and populate a datagrid on that page. The datagrid also exposes an edit button that they can click, which fires the EditCommand function and allows them to change two fields, however when the
click on the edit button, it refreshes with a "the page cannot be displayed" message. It is performing a standard postback to the same page. When the page loads, if it is a postback, it will process a function called BindData wihich takes a string as its parameter for the name of the report. I would think this function was working fine, since when they select a report and click the load it also calls this function which returns the report successfully. The code for the Edit Command is
---
dgReport.EditItemIndex = e.item.ItemInde
BindData(ddlReport.SelectedItem.Value
---
where ddlReport is the drop down list that is populated when IsNotPostback is true on the first load. I am not sure if thi
is causing the problem since when the user clicks the load button it does not refresh the ddlReport list, but they all re-appear on the refresh

Can anyone shed some light on this, I am stumped

Thank you
Nathan Truha
ntruhan at kent.edu(nospam)
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TmF0aGFuIFRydWhhbg==?=
Guest
Posts: n/a
 
      05-14-2004
I wanted to add to this. I also noticed one of the reports has 4188 rows, that one refreshes fine and the edit shows up. The other report has 9025 reports, this one gives me a page cannot be displayed message. Could it be a timeout issue

Thank you in advance
Nathan Truha
ntruhan AT kent.edu(nospam

----- Nathan Truhan wrote: ----

Hello
I am currently in the process of creating a web page to display and edit reporting data. It consists of a few label
with instructions, a Drop-Down-List and Button (Load) to select a report to display, when the user selects a report and clicks the load button it will perform a postback and populate a datagrid on that page. The datagrid also exposes an edit button that they can click, which fires the EditCommand function and allows them to change two fields, however when the
click on the edit button, it refreshes with a "the page cannot be displayed" message. It is performing a standard postback to the same page. When the page loads, if it is a postback, it will process a function called BindData wihich takes a string as its parameter for the name of the report. I would think this function was working fine, since when they select a report and click the load it also calls this function which returns the report successfully. The code for the Edit Command is
---
dgReport.EditItemIndex = e.item.ItemInde
BindData(ddlReport.SelectedItem.Value
---
where ddlReport is the drop down list that is populated when IsNotPostback is true on the first load. I am not sure if thi
is causing the problem since when the user clicks the load button it does not refresh the ddlReport list, but they all re-appear on the refresh

Can anyone shed some light on this, I am stumped

Thank you
Nathan Truha
ntruhan at kent.edu(nospam)
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TmF0aGFuIFRydWhhbg==?=
Guest
Posts: n/a
 
      05-21-2004
Does anyone have any idea why this is happening, microsoft
Thank yo

----- Nathan Truhan wrote: ----

I wanted to add to this. I also noticed one of the reports has 4188 rows, that one refreshes fine and the edit shows up. The other report has 9025 reports, this one gives me a page cannot be displayed message. Could it be a timeout issue

Thank you in advance
Nathan Truha
ntruhan AT kent.edu(nospam

----- Nathan Truhan wrote: ----

Hello
I am currently in the process of creating a web page to display and edit reporting data. It consists of a few label
with instructions, a Drop-Down-List and Button (Load) to select a report to display, when the user selects a report and clicks the load button it will perform a postback and populate a datagrid on that page. The datagrid also exposes an edit button that they can click, which fires the EditCommand function and allows them to change two fields, however when the
click on the edit button, it refreshes with a "the page cannot be displayed" message. It is performing a standard postback to the same page. When the page loads, if it is a postback, it will process a function called BindData wihich takes a string as its parameter for the name of the report. I would think this function was working fine, since when they select a report and click the load it also calls this function which returns the report successfully. The code for the Edit Command is
---
dgReport.EditItemIndex = e.item.ItemInde
BindData(ddlReport.SelectedItem.Value
---
where ddlReport is the drop down list that is populated when IsNotPostback is true on the first load. I am not sure if thi
is causing the problem since when the user clicks the load button it does not refresh the ddlReport list, but they all re-appear on the refresh

Can anyone shed some light on this, I am stumped

Thank you
Nathan Truha
ntruhan at kent.edu(nospam)
 
Reply With Quote
 
hphan1229 hphan1229 is offline
Junior Member
Join Date: Aug 2007
Posts: 3
 
      08-01-2007
I am running into the same problem in VS2003. Have you found out what the problem is?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page not found when doing postback hphan1229 ASP .Net 1 08-02-2007 08:07 PM
One File Found, the other Not Found ?!?!?! mcampo84@gmail.com Java 3 08-07-2006 09:49 PM
Page not found error when navigating from the child page back to the parent page Samy Java 0 02-04-2006 01:29 AM
Namespace not found in aspx but IS found in code behind William Parker ASP .Net 1 06-27-2004 06:13 AM
RE: Page not found on Postback Steven Cheng[MSFT] ASP .Net 2 06-11-2004 12:29 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57