Hi, Please help me
the situation is
in my asp.net application i have few folders and forms, in few folders again i have forms,the folders and application have their individual main pages, here the problem am getting is while running my application from folder form to mainpage is not redirecting.
please pass solution.
ex:
my application contain
form1.aspx, form2.aspx, mainpage.aspx,folder1,folder2
and in folder1 form3.aspx,mainpage1.aspx,
in folder2 form4.aspx, mainpage2.aspx.......like this forms are there
while running
i have redirect from folder1--> form3.aspx to mainpage.aspx
i used response.redirect techniques but not working.
3 855
You can always go up to the parent directory like this:
../mainform.aspx
Hi, Please help me
the situation is
in my asp.net application i have few folders and forms, in few folders again i have forms,the folders and application have their individual main pages, here the problem am getting is while running my application from folder form to mainpage is not redirecting.
please pass solution.
ex:
my application contain
form1.aspx, form2.aspx, mainpage.aspx,folder1,folder2
and in folder1 form3.aspx,mainpage1.aspx,
in folder2 form4.aspx, mainpage2.aspx.......like this forms are there
while running
i have redirect from folder1--> form3.aspx to mainpage.aspx
i used response.redirect techniques but not working.
Hi,
May be u can try getting the application vitual path.
Response.Redirect(Request.ApplicationPath + "/main.aspx");
This Request.ApplicationPath will get you the virtual path of ur application.
Hope this was usefull..
With regards,
ram
Frinavale 9,735
Recognized Expert Moderator Expert
You can always go up to the parent directory like this:
../mainform.aspx
I blieve you can also use a relative path:
~/mainform.aspx
The "~/" refers to your application's root directory.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Ivo Woltring |
last post by:
Hi Pythoneers,
I am trying to make my own gui for mencoder.exe (windows port of the
terrific linux mencoder/mplayer) to convert divx to Pocket_PC size.
My current app creates a batch script to...
|
by: Kenneth Keeley |
last post by:
Hi,
I have been having problems with Gecko based browsers not redirecting
properly.
This is the line of code that does the redirecting:
Response.Redirect ("Validation.asp?BookingNo=1234567")
...
|
by: Christophe HELFER |
last post by:
hi,
I have some problem with redirecting input and output from a process. I can
only use VB language (sorry...)
Situation:
I have to use the Cisco Network Registrar (DNS And DHCP server) ...
|
by: lozd |
last post by:
Would appreciate any solutions people could offer for this.
Basically I wan't to use a frameset with an aspx page as the contents
rather than a htm page and I'd like to be able to redirect the...
|
by: Sune Hansen |
last post by:
Hi guys,
I really hope someone can help me with my problem. Here is the scenario:
I have a development environment on my locale machine. Once in a while when
everything has been tested I...
| |
by: Bilbo |
last post by:
Hello,
How do I programatically redirect a page in "another frame" using C# in
ASP.NET?
Server.Transfer redirects the current page...not a different frame.
Thanks.
|
by: tony |
last post by:
I've been searching through the threads to find a solution for 401.3 error
triggered by windows authentication not being able to redirect to a custom
error page to no avail. It seems that ASP.NET...
|
by: Greg Smalter |
last post by:
Redirecting from page to page within a web project is pretty easy. However,
all Redirect methods take strings as arguments, as if you mistype the string,
you don't find out until run time that you...
|
by: Morpheus |
last post by:
I am trying to test a function that outputs text to the standard
output, presumably using a cout call. I do not have access to the
source, but need to test the output. Is this possible?
I can...
|
by: mansb2002 |
last post by:
Hi,
We recently moved our webserver from Win2K to Win2003. The application
works fine. Only problem is that when user views a report as a PDF, IE
does not show it. The following code is used to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |