CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/3/2007 5:12:50 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
bryanevil
Asp.Net User
image disppeared from master page!!2/3/2007 5:12:50 AM

0/0

Hi all,

 I got a image in my master page. At the run time,  It has no problem to load it when opening the pages under projects folder, but when i open pages from a folder under the project, master page doesnt load the image, why? and how can i solve it?

 I tried put the image inside the image folder and just under the project, still has the same problem..

 

Thank you

rojay12
Asp.Net User
Re: image disppeared from master page!!2/3/2007 5:35:39 AM

0/0

are ou running the site through the IDE?  if so upgrade to SP1 and run it from the root. the master scottgu shows how...http://weblogs.asp.net/scottgu/archive/2005/11/21/431138.aspx

Jared Roberts
Lead Application Developer
rojay12
Asp.Net User
Re: image disppeared from master page!!2/3/2007 5:36:33 AM

0/0

sorry SP1 try this link http://weblogs.asp.net/scottgu/archive/2006/12/19/tip-trick-how-to-run-a-root-site-with-the-local-web-server-using-vs-2005-sp1.aspx

Jared Roberts
Lead Application Developer
Zhao Ji Ma - MS
Asp.Net User
Re: image disppeared from master page!!2/8/2007 8:44:11 AM

0/0

Check this: http://forums.asp.net/thread/1569157.aspx

princealadin:

I think you use HTML Controls so ASP.NET can not resolve URL automatically. This might answers your question:

In server controls on master pages, ASP.NET dynamically modifies the URLs of properties that reference external resources. For example, you might put an Image control on a master page and set its ImageUrl property to be relative to the master page. At run time, ASP.NET will modify the URL so that it resolves correctly in the context of the content page.

ASP.NET cannot modify URLs on elements that are not server controls. For example, if you use an img element on a master page and set its src attribute to a URL, ASP.NET will not modify the URL. In that case, the URL will be resolved in the context of the content page and create the URL accordingly.

In general, when working with elements on master pages, it is recommended that you use a server control, even for elements that do not require server code. For example, instead of using an img element, use an Image server control. That way, ASP.NET can resolve URLs correctly and you can avoid maintenance issues that might arise if you move the master or content page.

hope this helps


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
bryanevil
Asp.Net User
Re: image disppeared from master page!!2/8/2007 8:01:23 PM

0/0

good details answer, Thank You.
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Handbook of Proteomic Methods Authors: P. Michael Conn, Pages: 510, Published: 2003
My Name Is Red: [a novel] Authors: Orhan Pamuk, Erdağ M. Göknar, Pages: 417, Published: 2002
Body Image and Body Schema: Interdisciplinary Perspectives on the Body Authors: Helena de Preester, Veroniek Knockaert, Pages: 343, Published: 2005
The Master and Margarita Authors: Mikhail Afanasʹevich Bulgakov, Mikhail Bulgakov, Richard Pevear, Larissa Volokhonsky, Pages: 432, Published: 1997

Web:
image disppeared from master page!! - ASP.NET Forums image disppeared from master page!! Last post 02-08-2007 3:01 PM by bryanevil. 4 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
runat="server" causes div to disappear on MasterPage - ASP.NET Forums Did you try it in the context of a MasterPage? After further testing it appears that all divs on my MasterPage will disappear when I add ...
images disappear before Authentication - ng.asp-net-forum.security ... images disappear before Authentication, > ROOT > NEWSGROUP > Asp.Net Forum ... masterpage problem.image in masterpage not shows in childpages ...
CleverWorkarounds » SharePoint Branding - How CSS works with ... MASTER master page used for _layout pages has the SharePoint: Theme webcontrol in ..... pointing arrowhead images disappear); also added itemwrap = “true”. ...
Creating and Modifying Master Pages (Backgrounds) to the whole presentation, your own master page will disappear. Make the presentation into a template; the master pages of all your templates are available ...
CodeProject: Using Menu and Sitemap with Master page. Free source ... This article explains how to use Sitemap with Master pages to create a Master - Child .... After clicking on a childmenu-entry, the childmenu disappear! ...
www.wysiwygwebbuilder.com :: View topic - PNG problem. I'm using IE7 I don't see any image disappear. ... It's in second place, first the text, then the shape and the master page at last place. ...
Blog | Sprout Builder - Create living content. Images, logos or a color fill on your background master page will appear below or ... Objects may disappear after navigation from/to other pages; Images or ...
Custom Header image disappeared « WordPress.com Forums Key Master Sep 20, 2007, 3:39 PM. @ricgerace ... The header pic disappeared, plus all the items in my extra pages; only the posts on my ...
Quark Tech Manual Project - Create The Master Pages - Part 3A Repeat steps 5 through 8 for the facing page. When you have completed all the steps up to this point your master pages should look like the image below: ...

Videos:
White Jumping High Flyer Ya I try. Just don't hate, I know im not the best. Screened in order; Wall Street Journal, Network, iLife, Better, Restarting, Viruses, Work, Touch...
Rowdy Roddy Piper at the 2008 Gathering of the Juggalos (DVLH) http://www.myspace.com/DVLH Insane Clown Posse is an American hip hop duo from Delray, Detroit. The group comprises Joseph Bruce and Joseph Utsler, w...
www.moldytoaster.com l in relating to me the whole of your history, as it will prevent my forming any erroneous opinions concerning you in future. As for that Benedetto, ...
www.moldytoaster.com ty, haughty court dames, and smiling city beauties, come like delicious phantoms, and fill my mind with images graceful as your own forms, and meltin...
Creationist Kent Hovind Reveals The Truth About Dinosaurs And Evolution! Dinosaurs And The Bible - Creation Scientist Kent Hovind Reveals The Truth About Dinosaurs And Evolution! For more videos like this please visit For...
www.moldytoaster.com ceding this same 5th of June, Jean Valjean, accompanied by Cosette and Toussaint had installed himself in the Rue de l'Homme Arme. A change awaited h...
www.moldytoaster.com must be combined and made but one. Solve only the first of the two problems; you will be Venice, you will be England. You will have, like Venice, an...
www.moldytoaster.com ses, and God disposes.'" Andrea sighed. "But," said he, "so long as I do remain in Paris, and nothing forces me to quit it, do you mean to tell me th...
MICHAEL SCHENKER ROCK BOTTOM AVALON NIGHTCLUB SANTA CLARA CA MICHAEL SCHENKER ROCK BOTTOM LIVE @ AVALON NIGHTCLUB SANTA CLARA CA 06-23-2007 The name Michael Schenker immediately brings to mind the image of a m...




Search This Site:










menu control help

contentplaceholder and control's id

how to add html tag in a aspx page which is under a master page?

question regarding combining multiple themes together

sitemap and dynamic queries

menu control - changing the appearance of the top node to buttons

treeview - node.parent is null even though it has a parent node

menu control style suggestions (asp.net 2.0)

converting stand-alone pages to master pages

2nd menu in masterpage

is masterpage only apply to pages? not usercontrols?

htm map to placeholder

securitytrimmingenabled bug

global master page

asp.net treenode value in client side

master page and javascript

how to dynamically change master page

menu control issues

2 master pages within one site not nested

treeview without expand icons, and expanddepth=0

menu - current item and parent item selected?

wizard w/ validationsummary in navigationtemplates

masterpage that pulls content from secondlevel directory off of root traps you in that directory

skin for html control

tabmenu

some questionable remarks in the sitemappath document

user controls inside placeholders don't show up

how to apply staticselectedstyle on top level (horizontal) menu, when lower level was selected

adding javascript to a menu item in a menu control

newbie - how to convert existing html page into a master page?

  Privacy | Contact Us
All Times Are GMT