Hello,
I have my .master file in the root folder. On all my webpages i use: MasterPageFile="~/Site.master" .
This works fine with for example:
"http://localhost:53841/WebSite/frm/user/frmUsers.aspx"
But when i put a slash behind that it drops the master page
"http://localhost:53841/WebSite/frm/user/frmUsers.aspx/"
I need the slash at the end when i give a parameter from 1 page to another like
"http://localhost:53841/WebSite/frm/user/frmUsers.aspx/?id=2"
And then it uses no master page anymore :confused:
My images on the imagebuttons are also not working (red cross as image) even though i used the ~ symbol to access those.
(i was following this tutorial: Tutorial 9: Master/Detail Filtering Across Two Pages) but i don't think they do anything for the masterpage.
I have also added users/roles to the website allready if that may be something important, as i had some issues with the css to get that working.
Any ideas?
3 replies to this topic
#1
Posted 28 March 2010 - 01:37 AM
|
|
|
#2
Posted 28 March 2010 - 09:04 PM
I don't think the slash goes there. I glanced at the tutorial and it shows no slash before the ? by putting th slash you are saying that whatever is before it is a directory not a page. you can pass the paramaters between the page just by putting ? after the page name. so putting http://localhost:538...Users.aspx?id=2 will pass the paramater 2 for id to frmUsers.aspx
#3
Posted 28 March 2010 - 10:09 PM
... okay, i feel stupid now. But thanks a lot! :thumbup1:
#4
Posted 19 April 2010 - 02:51 AM
zero Radius is a Pokemon Lover !!:) i watch Pokemon too when i am free :mad:
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









