Hi! I am Mac
I have a problem with my code with regards to call the next page
I use response.Redirect just to show the next page, I try to call the
next page on form 2 using button. Please correct my code on using
response.redirect with Namespace.
The error is
The resource you are looking for (or one of its dependencies) could have
been removed, had its name changed, or is temporarily unavailable
Here is my code.
1. Webform 1
Namespace GridDemos.DataBinding
Public Class GridDemos
End Class
End NameSpace
2,. Webform2
Public Class GridDemos
Button1__Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button1.Click
Response.Redirect("GridDemos.aspx",False)
End Sub
End Class 2 4246
Hi Mac,
This problem is occured when the pagename you declared or written is
incorrect. so i request you to check the name of the page you want to
redirect it to. the code which you provided is fine.
--
Raghuram Raichooti
"mac" wrote: Hi! I am Mac
I have a problem with my code with regards to call the next page I use response.Redirect just to show the next page, I try to call the next page on form 2 using button. Please correct my code on using response.redirect with Namespace. The error is
The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable
Here is my code.
1. Webform 1 Namespace GridDemos.DataBinding
Public Class GridDemos
End Class
End NameSpace
2,. Webform2
Public Class GridDemos
Button1__Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Response.Redirect("GridDemos.aspx",False)
End Sub
End Class
> Hi! I am Mac I have a problem with my code with regards to call the next page I use response.Redirect just to show the next page, I try to call the next page on form 2 using button. Please correct my code on using response.redirect with Namespace.
The error is
The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable
Here is my code.
1. Webform 1 Namespace GridDemos.DataBinding
Public Class GridDemos
End Class
End NameSpace
2,. Webform2
Public Class GridDemos
Button1__Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Response.Redirect("GridDemos.aspx",False)
End Sub
End Class
Is the *filename* of the first form "webform1.aspx" of
"griddemos.aspx"?
A redirect works on filenames, not on the classnames that are used
within that file (although usually they are very similar).
Hans Kesting This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: joe |
last post by:
Can anyone help me out by either telling me how to get to the result i
need or by pointing me to some documentation about the following question:
A certain query to a database give me eg 100...
|
by: Marcel |
last post by:
Hello,
I'm working on a search application for my website. The website contains a
lot of pictures, and a search should return clickable thumbnails. No
problems there. My problem started when I...
|
by: Al Cadalzo |
last post by:
I am doing a screen-scraping app using HttpWebRequest.
I create the HttpWebRequest and then I call the GetResponse() method on it.
I get the page back OK. The page has a 'Next' button on it. ...
|
by: Arsalan Ahmad |
last post by:
Hi,
May be I am a newbie, or may be i dont have that much insight in following
systems ..i.e. why i have some confusions as below:
In many websites, when search is performed on some keywords...
|
by: md9108 |
last post by:
I have a previous page and next page coded. The next page works. The previous page gives me an http: 404 error and I can't figure it out. The error is on the line "<td align=left>
<!--
...
|
by: ajos |
last post by:
Hello friends,
After thinking about this for sometime, i decided to post this in the java forum.
Well my problem here in detail is, i have 3 jsp pages where in a.jsp(for example) i have a combo...
|
by: GaryDean |
last post by:
I have a Wizard page and need to affect the next and previous buttons from
my code-behind. I've googled around and found two solutions, and neither
appear to work.
I can access the SideBarList...
|
by: ArizonaJohn |
last post by:
Hello,
The code below works great. The user enters a name into an HTML form, the code looks up a table with that name, and then that table is displayed.
I am trying to use pagination with it,...
|
by: pupilstuff |
last post by:
hi guys i just want to perform custom paging in which at the footer of the grid view ,there must be a pager 'pervious/next with numeric'
this is what i did
in aspx page
<asp:GridView...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
| |