to load an company logo image as header.

Posted by Suniluc under ASP.NET on 2/11/2013 | Points: 10 | Views : 922 | Status : [Member] | Replies : 23
I have loaded an company logo image as header. the problem is it is diplayed in some pages...in others it's not shown..why..anyone to help me to solve this...


regards




Responses

Posted by: Ankitsrist on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
where have you stored the image of the company logo..???? to do display header image in all pages make one folder under root directory and put all images which will use through out the whole website in that folder....nd for company logo drag and drop that image from folder in master page so that it will display in all pages

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
i have stored all webpages in one folder which to be locked from anonymous users. and site master, default,login,register,and the logo under the root directory.

regards...

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
so might be your logo is dispalying in default,login,register pages...and not in other pages right

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
it is displaying in some of the pages...but not in all


Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
when you have added pages in master page, then have checked select master page option?? it might be possible that you have missed to do that

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
it is displaying in some of the pages in the locked folder...but not in all ...plz help..
regards

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
check at the top of the pages in which the image is not dispalying could you find this type of stuff MasterPageFile="~/nationalmaster.master"

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
MasterPageFile="~/Site.Master" ..this one no...yes it is there

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
but this problem could not be get if you have attached the logo in your master page only .....it automaticly applied to all content pages

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
i am using vs2010. plz help me

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
<img alt="Logo" id="Img1" src="~/logo.JPG" runat="server" />
any solution....?

some the pages are showing old header...
help me plz

regards

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
where is ur folder name in src......when i implemented it looked something like that src="imagefolder/nhai_logo1.jpg"

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
showing old header??? means it is not completely build...rebuild your solution

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/11/2013 [Member] Starter | Points: 25

Up
0
Down
have u done

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
yes, i tried rebuilding

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
so is it now displaying??

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
so could you please mark my answer if it helped you

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
no ankit...now i am rebuilding the pages which is not showing the logo...

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
i tried to copy paste the design after creating a new item on master site..but that is also not solving the problem..oh! what to do...plz help...


Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
i think image is out of scope to ur webpages....

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
so...what to do to bring it in scope?

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suniluc on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
i got it done...i just added the copy of logo to the folder where the web pages are stored....thank u ankit...for giving tips...

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
congrats sunil....:)

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response