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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Float the Page Title Zone when scrolling down the page?

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :SharePoint
I would like the horizontal nav and everything above it to float (stay in view) as a user scrolls down the page, like the Ribbon (SharePoint:SPRibbon) does. Basically, this tag <div id="s4-workspace">     /bac

View Complete Post

More Related Resource Links

Page Title from Resource file...



I have Resource file...

I am using following code for Display Lable Text...

<asp:Label ID="lblName" runat="server" Text="<%$ Resources:resource,NAME %>"></asp:Label>

and I want to use that name for page title...

so I used "me.page.resources.resource.NAME" in code behind page.

 but I want to use that NAME in

<%@ Page Language="VB"

passing page title through a param


Hello all,

   I am new to ASP.NET, and was wondering how to pass a Page title through a parameter.  In classic ASP I could just use something like: <title><%=Pagetitle%></title> but I cannot seem to get this to work in ASP.NET. 

Thank you in advance,

The New Guy... Smile 

Master Page And Title Tag


Hello everybody.

I am new in ASP.NET. Right now I am practising MasterPage and association of other pages with it. These is so far I have :

MasterPage :

<%@ Master Language = "C#" AutoEventWireup = "true" CodeFile = "MasterPage.master.cs" Inherits = "MasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns = "http://www.w3.org/1999/xhtml">
<head runat = "server">
<title visible = "false" runat = "server"></title>
<asp:ContentPlaceHolder id = "Head" runat = "server">
<link href = "StyleSheet.css" rel = "Stylesheet" type = "text/css" />

<form id = "form1" runat = "server">
<div id = "header">
<li><a href = "Default.aspx">Default</a></li>
<li><a href = "MembersProfile.aspx">Profile</a></li>

<div id = "m

How to Create Page layout only for webpart zone

HI Guys, I want to Create Page layout for Publishing site in SP2010 so do i need to create Page Layout Based on Page content Type ? i have created page layout based on Page content type but when i save page i got error Invalid SPListItem. The SPListItem provided is not compatible with a Publishing Page. Please assist me.   Thanks Ronak Thanks Ron

Edit List Title on a Mobile Page

hello, i want to know if i can edit the title which the item is displayed on a mobile page e.g "New Task for Job No 2", can i edit the way its displayed? e.g can i add to it the start/end date also ? e.g "New Task for Job No 2 StartDate:current EndDate:current". thanks

Add a title to a new webpart page

Hi - I've created a publishing site in sharepoint and now I want to create a page which with a webpart - the problem is that unlike all the other pages - there is no "Title" displayed. There is no way to add a title above with all the blank space. I'd rather not use the content editor to add a title - since the look of this page will change from the other pages.Has anyone tried to add a title in that "blank" space before all the webparts begin?ThanksDR

How to link Title to it's associated page in list view without URL path column visible -bug?

I don't know if this is a bug or if I'm an idiot (or perhaps both, I'm open minded).   My site I'm developing is a site with publishing features activated where all my news stories are pages. What I want to have is a sortable list (the type hypothetically achieved using the XsltListView Web Part) the lists these pages with 3 columns visible: The Date created, the title (not the page name), and the author. The tricky part is that I would like the title, when clicked on, to take the person to the page. I'm actually almost there. I've created a new view with these specifications except for one issue. To make the title linked to the page, I have to have the column "URL Path" in my list view. When I remove this column, the titles instead all link to the root of the directory I'm in (ex: if I'm in Pages/Forms/My_List.aspx it will link to Pages/Forms/) Is this a bug, or is the URL Path required for the link to work? Is there a way to hide the column? Thanks.

Update Title on Content Page(MOSS 2007)

I have multipal websites. I would like to update "Title" field in the content pages. How Can I do it using wsp/c#. For example.. I have site like http://www.something.com/pages/home.aspx . I this page I have "Title" field with value like "Something" now I want to change that to "Something else". Please help.    

Edit item title in a list on a mobile page

hello, can i edit an item title for a list on a mobile page in MOSS 2010 ? e.g i want my list items to appear as "New task StartDate:current EndDate:current" that includes three things the list title,startdate and enddate for the item. thanks

How to set Page title for Response.ContentType = "image/jpeg"

Hi , how can i set Title for a page with Response.ContentType = "image/jpeg" ? thanks, Naresh

Page title with Register symbol change in Master page on postback


I have a below Page title in my master page

<title>My Test Application Name&reg;</title>

It renders Fine with Register symbol after the text "My Test Application Name" on start of the page but on any postback the title turn into My Test Application Name&reg;

Kindly let me know what can i do with minimal effort to fix this issue

Page Up/Page Down scrolling behaviour with listview inside scrollviews


I have a listview with many list items that is contained within a scrollviewer.

When I select the topmost item and hit the Page Down key, the scrollviewer scrolls along with the listview. The same thing happens for combo boxes.

Is this the expected behaviour because I expected only the listview to scroll?

Here is some sample code:

<Window x:Class="WpfApplication1.Window1"

Table Header (Title) Row need to repeat on each page. How to do this in SSRS 2008 & above?



I have a requirement, where 1st row (Hearder) should repeat on each page.

For Example:



Experience in Years




So I want to repeat


Page Title Area Background



I have a background I would like to add to the title area of the SharePoint 2010 site but for some reason the masterpage is totally ignoring the background of the area.  No matter where I place it (either in the parent div layer or the table).

My Code:

style="background-image:url(../../PublishingImages/CORP-The_Patio-WebBanner-2000x100.png); height:100px; background-repeat:repeat-x;"

Curerntly there is no content in this region (since the background image contains the corporate logo).  I placed a transparent image in the <td></td> column with a width of 100% but also did not render more than a few pixels wide.


<td align="left"><img src="../../PublishingImages/1x1.png" style="width:100%; height:100px;"/></td>

What I have noticed is that the width specified in the style attribute for the td is being ignored.  If I modify that to say 1020px then the background image appears.  But what I am trying to accomplish is a background image that will expand to the different levels of resolution that exist in my user base.  My image goes out as far as 2000px's.

Is there something I am missing in regards to how MCSFT accepts background images in their title banner area?  This is really frustrating.

Thank y

How to change the page(aspx) title from Usercontrol(ascx) the inside the page(aspx) (asp.net 1.1) ??




I have user control(ascx) inside  the page(aspx) and from the code behind of that user control How can I change the page(aspx) title??


Note : Please my Question about asp.net 1.1


And thanks with my best regarding


set master page title as username


I am using .net membership and have a page that takes userid and display profile information. I also want to set the username as page title but keep getting object initialise error. I am using master page.

<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlaceHolder1" runat="Server">
<asp:Literal ID="litMeta" runat="server" />

    Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init

        mu = Membership.GetUser(Request.QueryString("UserId"))
        If Request.QueryString("UserId") <> Nothing Then
            litMeta.Text = "<title>" & mu.UserName & "Profile Page" & "</title>"
        End If

    End Sub

Page Title from Referral Url (External Domain)


Hi All,

What is the best way of getting the Page Title from the Referral Url when the the url is not on the same domain?

Look forward to your suggestions...


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