.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Masterpage with header and footer and buttons on header to change between silverlight and asp pages.

Posted By:      Posted Date: September 13, 2010    Points: 0   Category :ASP.Net
 
Hi, I would like to create a master page with a header and footer. The header contains buttons which call either an ASP page or Silverlight page. I want to be able to select a page and the relevant page is loaded. The problem I am facing is that the footer does not dock to the bottom unless I include a fixed height. Can someone help as to the best way of doing this. I am not sure if I need to use a masterpage for this or just a simple page? The following is my code on the master page:<head runat="server"> <title>Staff Profiles</title> <asp:ContentPlaceHolder ID="head" runat="server"></asp:ContentPlaceHolder> <link href="CSS/mainpage.css" rel="stylesheet" type="text/css" /> </head> <body> <form id="form1" runat="server" > <div id="container"> <div class="mainHeader" align="center"> <table width="920" height="120" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="10" rowspan="2"><img src="images/Header_01.jpg" alt="" width="10" height="120" /></td>


View Complete Post


More Related Resource Links

How to Fixed GridViews Header and Footer when scrolling in asp.net?

  
This article is to show you how to Fix GridView''s Header and Footer in a simple code with CSS and JavaScript

I like to clear the IE browser Pagesetup--> Header and footer using 1.1 Dotnet framework

  

Hai all,

I like to clear the IE Pagesetup--> header and footer using Asp.net 1.1 , I have tried in 2.0 Dotnet it works fine it is not working in 1.1 and its urgent too


this is the code i tried ...........



 public void IESetupFooter()
    {
        string strKey = "Software\\Microsoft\\Internet Explorer\\PageSetup";
        bool bolWritable = true;
        string strName = "footer";

header and footer problem

  

Hiii Coders,

I have made all the pages of my wesite centered aligned using the following code in masterpage:

<body background="Images/bg2.gif">
    <form id="form1" runat="server">
    <table style="width:960px; margin-left:auto; margin-right:auto; background-color:White;">
my content
</table>

No doubt, it works fine ut still it shows body background from top and bottom. I don't want to show it from top and bottom. Means that website should be centered align from left and right sides only whereas should display my form/webpage fron top and bottom.

plz helpand provide some code snippet

thanx and regards 
 


body tag's header and footer problem

  
Hiii Coders, I have made all the pages of my wesite centered aligned using the following code in masterpage:<body background="Images/bg2.gif"> <form id="form1" runat="server"> <table style="width:960px; margin-left:auto; margin-right:auto; background-color:White;"> my content </table> No doubt, it works fine ut still it shows body background from top and bottom. I don't want to show it from top and bottom. Means that website should be centered align from left and right sides only whereas should display my form/webpage fron top and bottom. plz helpand provide some code snippet thanx and regards 

How do I change the backlground and font color of a web part header - Sharepoint 2010

  
Hello,  Im verya mateur with Sharepoint so bare with me.   We are running Sharepoint 2010 and I am settingup a basic site for our company.  What I need to know is there a way to change the color of the web part header.   I have a calendar web part that displays a list of our holidays, and I was able to change the background color of the content as well as the font colors for the list of holidays,  but I cannot seem to change the background for the title box where it says Holidays and Events remains with a white background.   I would appreciate any help!   Thanks   Charlie   charlieprice@live.com

Repeat header rows on all pages when you export to excel sheet and print it

  
Hello , I need to export report into excel sheet. And when people try to print it . The header rows only appear on First page of the print . Other subsequent pages d onot have header rows. I saw another thread saying SQL server 2008 R2 will solve the issue. Can you tell me that is fixed and how to i go about configuring it on SQL server 2008 R2.   Thanks Madhavi

Footer and Header in Empty GridView

  
How to make GridView to show Header and Footer when it hasn't got any rows?

Repeat Group Header on subsequent pages of the same group

  
Hi, I am using a free-form list. I need the group header row to repeat on every subsequent page corresponding to the same group. If the subsequent pages still contains footer data from the current group, I want to be able to repeat the header of that said group until the group data changes. I have 2 groups, both have header and footer and I also have one detail line. The header portion  that I need to repeat is actually inside the inner group2 header.  I've tried setting RepeatOnNewPage and FixedData to true for the static row group as suggested in many blogs about this issue to no avail. I have also tried setting KeepWithGroup to both Before and After, but nothing works. I am using BIDS for SSRS 2008

header and footer

  

 friends,

iam designing html reports application. in that html pages. i want to make the visibility false of the header and footer. For that i used the DIV tag. it was working fine, but after i made the header visible false the content part will not go to the top.

for eg: while printing the reports some peoples print in their office letter pad. defaults there is header and footer printed in the sheet.

in these situation the content between the header and footer will not changed. it has to be as it is.

how to do this. plz help me its urgent.


Adding Content to masterPage Header from a Class

  

Hello,

I was wondering if it's possible to write some code into the Header of my Master Page from within a Class?

Any help is appreciated.

Thanks


Is there any Way to change the header text of an template field dynamically

  

<asp:TemplateField HeaderText="Award name" >


i want to Assign the header text from code behind

is their any method or way to do this ??????

 

Regards


 


How to change the background and font color of text for a web part header - Sharepoint 2010

  

Hi I am trying to change the font color and text Header color of the web part, can any one help me with that

Thanks


Change Tab Container Header Text

  

I have a Tab Container that I would like to be able to add a star (*) at the end of the tab header text when there are NEW Users to be approved by the Site Administrator.  By default meaning that is what I typed in designer mode is "Users Waiting Approval", but when I load the page I run a routine to see if there are and new users requesting access and at that point durning the page load I would like to change the tab from "Users Waiting Approval" to "Users Waiting Approval *"  with the star at the end (*).

How can I update this tab header text durning the page load event?

Is there some javascript function I can call like set_HeaderText?

Thanks,

Mark 


Design master page header and footer in reporting service

  

Dear sir/madam,

I would like to design master page header to show report title and date. For Master footer page, I want to show address and page number. Thus, all report no need to design more page header and footer.

I look forward to hearing from you.

Thanks in advance,
Seyha


SSRS 2008 Header and Pages Printed discrepancy

  

I have a SSRS 2008 report.

If I hide some of the rows on the report, there is a count discrepancy between the number of pages acually printed and the total number of pages shown in the page header.

For example, the total number of pages printed are 23 but the header on the last page shows page 22 of 26.


While Exporting to CSV (XComma Delimited), Report Header and Footer will get Exported Or not

  

Hi All,

I have Below Report in 2005.

 

My Report

Design master page header and footer in reporting service

  

Dear sir/madam,

I would like to design master page header to show report title and date. For Master footer page, I want to show address and page number. Thus, all report no need to design more page header and footer.

Moreover, I followed instruction via this link http://weblogs.sqlteam.com/jhermiz/archive/2007/08/14/60283.aspx , but it did not show my reporting template in Add New Item.

I look forward to hearing from you.

Thanks in advance,
Seyha


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend