CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: Date Entered: 1/7/2007 9:43:51 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 72 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
"pasa" <>
NewsGroup User
Master Page with Base HREF1/7/2007 9:43:51 PM

0

I have a website structured like this:
 
http://localhost/testsite/Master/masterpage.master has "base href='http://localhost/testsite/' "
 
http://localhost/testsite/test/test.aspx uses that master page and has a Form with a Button, whenever that Button is clicked, I get the error message "http://localhost/testsite/test.aspx resource cannot be found" when I expect it to look for the resource http://localhost/testsite/test/Test.aspx.
 
Can anybody Help me in this matter ?
"NileshDesh" <>
NewsGroup User
Re: Master Page with Base HREF1/7/2007 10:52:38 PM

0

Take out <base> tag from master page and copy it all .aspx pages and change href tag in test.aspx to href=http://localhost/testsite/test"

 


Nilesh Deshpande
MCP, MCAD.Net, MCSD.Net, SCJP

Future is here, it's just not widely distributed yet.
"pasa" <>
NewsGroup User
Re: Master Page with Base HREF1/8/2007 12:25:33 AM

0

Thanks for the response.

What do I want to do is When the Button is Clicked, the page is postbacked to the same page ?

 Any possible help for this?  

 

"pasa" <>
NewsGroup User
Re: Master Page with Base HREF1/8/2007 12:26:48 AM

0

Thanks for the response.

What do I want to do is When the Button is Clicked, the page is postbacked to the same page ?

I cannot do Response.Redirect as I have form and the lots of form datas are required to be posted and the Base HRef in Master Page cant be changed.

 Any possible help for this?  

 

"NileshDesh" <>
NewsGroup User
Re: Master Page with Base HREF1/8/2007 10:19:16 PM

0

Pasa,

In all .aspx pages that are not in root folder (testsite in your case), add action attribute to form tag with foldername/Webpage.aspx. So your test.aspx page will have form element that looks as below:

<form id="form1" runat="server" action="test/test.aspx">

</form>

FYI:

http://www.w3.org/TR/html401/struct/links.html#h-12.4


Nilesh Deshpande
MCP, MCAD.Net, MCSD.Net, SCJP

Future is here, it's just not widely distributed yet.
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:













really simple: send var from content page to master page

asp:menu customizing and hiding items

remove page from master page

master page layout issue

master page and themes.....

masterpages question

treeview in master pages

master page can noy apply to usercontrol?

sitemap disappears when on remote server

masterpage and custom controls

changing output type of master page

can you load a profile?

asp sitemap

can any one tell me concept of master pages & can send me code to create a simple master page

master page problem

how to set focus on treenode?

style sheets inclusion on demand

raiseevent in master page

debugging in vs2005, master page, and the path

onclick event in an asp.net 2.0 content page

login redirect and master page behaviour

how to retrieve content page property from master page

regarding treeview's treenode checked change

.sitemap open with

defaultbutton property with master page

vertical alignment problem using master pages

need a way to assign multiple noexpandimageurl property

more than one node on the first level, sitemap

resources for themes and skins

anyone know how to place multiple forms in a master page

how to add two class names to an html control at runtime

gridview and xls

first asp.net 2.0 themes project

stylesheets inside user controls: never clearly explained?

define the master page dinamically

sitemap nodes

set body id on master page

changing the placement of nodes in treeview

recommendations for implementing dropdown menus

master page + loginview + controls

master page should not be refresh while changing content page

hiding sitemapnodes in menu from sitemapprovider

creating skins

hi everyone,

finding a controls inside a formview which is inside a masterpage

treeview takes time to expand for more nodes

menu not updating when using web.sitemap

master page headaches!!

usercontrol + sitemapdatasource + multiview

select an item from a menu at runtime?

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT