.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

Page title with Register symbol change in Master page on postback

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :ASP.Net

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

View Complete Post

More Related Resource Links

Change part of a page without full postback


I have a page with two columns. Initially, the left column will contain a list of links that are article titles. Clicking on one of the links will display the text of the article in the right column, keeping the list of titles in the left column. Clicking on another title will clear the text of the first article and display the second. Is there a way to accomplish this without having to repaint the whole page? I would rather not have the whole page resent each time a title is clicked, but rather have the page stay as is and only the contents of the right column get cleared and redisplayed. I assume there's a way to do this with JavaScript, but I don't know how and would appreciate some help. Thanks!

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

Change label text on master page from the content page.

Hello. Can I access the objects (for example change the label text) on the master page, from its contents page code? If yes, how can I approach that? Thank you Artashes

Using HttpModule to change master page dynamically on SharePoint 2010 site


I am trying to change master page dynamically on SharePoint 2010 site. I reviewed some documents (SharePoint: Dynamically Change Master Page: http://ranaictiu-technicalblog.blogspot.com/2009/10/sharepoint-dynamically-change-master.html) and I implemented IHttpModule, added it to GAC, modified web.config(safecontrol, httpmodule, module)
It works good! But I found some problems
1.Never catch the PreInit event for publishing pages
2."/_Layouts/RedirectPage.aspx" page occurred error
3.ContextMenu did not work

using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;
using Microsoft.SharePoint;
using System.Configuration;
using Microsoft.SharePoint.ApplicationRuntime;

namespace MasterUtilModule
    public class MasterModule : IHttpModule
        public void Dispose() { }
        public void Init(HttpApplication context){

How to change CSS style for unordered list item in master page using VB


When a user logs in to the site, I'm trying to change the color (to "white" -- but only when there is a logged in user) of a list item that is contained on my master page. It is not working. Below is the markup and error message. What am I doing wrong? Thank you.

<script runat="server" language="vbscript">
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim currentUser As MembershipUser = Membership.GetUser()

        If currentUser IsNot Nothing Then
            acme.Style("color") = "white"

        End If

    End Sub
    Protected advertise As System.Web.UI.HtmlControls.HtmlGenericControl


On same master page:

<div id="menu">

<ul> <li id="acme"><a href=".

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

How to avoid master page postback ?


I am  using a master page with header, menu links and content palce holder.

whenever i click a menu link whole  page is refreshed. i have tried by putting contenet place holder in a update panel and vice versa, but not working.

so please let me know how i can avoid master page refresh ?

--- How to change SEARCH BOX size on a master page?-----


Hi everybody,

Can you please help me: where can I find a file which is responsible for the size of the Search Box on a V4.master? (I am using the Custom.master which I made out of V4.master).

I've tried to look in Search.css, coreV4.css and also I did search for SmallSearchInputBox in all files in hive 14. Couldn't find anything.

Thank you in advance!

How to prevent master page postback when update panel asynchronous postback happened


Hello everybody.

When an asynchronous postback happened inside update panel, another postback happens also for MasterPage not only update panel embedded page .

I want to prevent this MasterPage postback .

is this possible ?

think like i have a MasterPage

and another page which is test.aspx which is content page of MasterPage

i have update panel at test.aspx

when asynchronous postback happens at this test.aspx update panel it also loads MasterPage Page_Load

i want to prevent this (it should not also load MasterPage Page_Load)

Thank you

How can I change the CSS file used in Master Page dynamically?


I am thinking that it would be better to use multipe CSS files and change them within the master page dynamically than it would be to use multiple master pages (basically one master page for each page, which defeats the purpose of the master page).

However, I do not know how to make a change to the master page before a standard apsx page that is derived from it is loaded.

Different Navigation display when change master page



I added to global navigation "heading" and "link".

When using the V4 master page i see it, but when using the nightanday master page it doesn't shown!

should it work that way?

keren tsur

How to change master page in sharepoint 2010?

Hi All:

We've just got the sharepoint2010 installed to test it, like it so far, but many options that we were ablet o find quickly are now at different places, so I might be asking something very simple here that I just didn't see, could anyone point out for me where do I go to change master page in sharepoint 2010? it used to be under site settings -> looks and feels, but there is not this option under looks and feels in 2010, all i see about master pages is a gallery of what master pages there are. Thanks in advance.

Set as default master page in Sharepoint Designer 2010 does not change pages at all


I make a copy of V4.masterpage ,rename it as myv4.masterpage, and modify it .

then right-click myv4.masterpage and choose 'set as default masterpage'.

but when i open my site, the pages don't change, and create a new page,it still the old look.


Shouldn't it do that?

change sharepoint site defult master page


Hi all,

i was trying to change default master to some other master page

here is wht i did.

opened site in moss designer

navigated to masterpage folder

and created a copy of default renamed it and made some changes

and then right click tht copy and set as default master

now when

i open site it says resource cannot be found whts wrong??

Master page controls postback is not working with updatepanel


?Hi All,

I have a web page that contains an updatepanel, inside this there is a button with script in OnClick event.

While clicking the button am setting a text in the label control which is in the site.master

My problem is that label is not showing the text am setting (or postback for master control is not working).

Without updatepanel label is coming.


Thanks in advance



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