.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

"Custom" header i quicklaunch marked as default

Posted By:      Posted Date: October 15, 2010    Points: 0   Category :SharePoint


I have a little problem which occurs in many places. If i create a header or link in the quicklaunch-navigation, then it's marked as default, even though im not navigating the marked site. It looks like this http://piclair.com/data/1opw9.jpg

How can i solve it?

View Complete Post

More Related Resource Links

How to read the custom http header



I have just joined the forum. I have a very simple query. I have added custom header to my website. Now I want to read the custom header. I am using IIS 6.0 on windows XP. I have already tried using using the Request.ServerVariables and and Request.header method. But none of them give me the custom header added to website.

Can any body help?

Thanks a lot in advance



Custom Grid View Header - Grid view Row Created event vs Gridview row databound events ?


Hi Gurus ,

It happened to add an extra Gridveiw Header in row_databound event , It did worked fine on !Postback but disappered on Page.Postback . Quick google search guided me to move the event to Row_Created event and every thing is okay .

Can any expert post some pointers , differnces between grid row_created vs row_databount with some sample table data created dynamically  behaviour of both the events in !Postback and page.Postback .

Thanks a tonne in Advance and  any inputs will be valued and appreciated .

Custom DynamicData Default.aspx GridView

On the Default.aspx page the GridView control is populated programmatically by setting its Datasource to a list of table objects. Is there some way I could populate this GridView manually using my own set of NavigateUrls and DisplayNames?Simon

Searching for custom properties in a default search

Hi all, I have added some custom properties in to Manage User Properties in my User Profile Service Application. The issue I'm having is that I'm unable to obtain search results from these properties. For example, if in the Enterprise Search / People tab I enter "Dave" and click search, then I'll be presented with results of people who's name matches "Dave". If I enter "Information Technology" then I'll get a list of all users who's department is "Information Technology". So far we're okay! But let's go back to the custom property. Let's say it's called "Clients" and it is for storing client names against the staff profiles. If I search for "Microsoft" and a user has Microsoft in their client property then no results are found. I've created the managed properties in the Metadata Property Mappings of my search service application, done full crawls but nothing. If I search for "clients:microsoft" then I get results. So the question is how do I or is it even possible to get custom metadata properties to show up in a default search? Thanks!

Retracting feature which deployed custom master page delete default.master

Hi, I am not sure if solution to this issue is already posted? I have my feature which copy my custom.master which is copy of default.master from hive to master page gallery of web. The problem is that everything works fine with feature activate and deactivate but when I retract the solution from the server. All pages except site settings page stop working saying "file not found". I redeploy the solution, it starts working again. Looks like the retract is deleting default.master as well? I have this issue in 2010 as well. Any help will be appreciated. Thanks, Kashish

Custom Default.aspx SharePoint 2010

I would like to replace the default.aspx with a custom default.aspx.  I have been able to accomplish this with a feature. I am finding the when deployed the new default.aspx page shows up in the following directory C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\ProjectInsightSPMaster_ProjectInsightLayoutFeature\defaultpage I also have a default.aspx located in the following directory.  This is the one that is deployed with the site definition. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\SiteTemplates\PISP    When I browse to a site in IE, it is in fact looking at the correct (new) default.aspx page which is located in the FEATURES directory.  How does SharePoint know to use this default.aspx page instead of the one located in the SiteTemplates directory.  This is confusing to me.  Can you explain?   Is this the correct way of deploying an updated default.aspx?   dave

Set Custom Ribbon Tab as default selected --> how?

hi, is it possible to set a custom tab as default selected?   right now, if the page loads, the listtools tab is selected; but i need the custom tab selected by default;   iv read, that it is not possible e.g. in word 2007 but what about sp 2010?

ASPNetSQLProvider - Changing it from the default to a custom SQL Database




I am new to ASP.NET and need some help.


What I am trying to do is to create a login for a new site that I am developing, and I need the users etc to be contained within the SQLEXPRESS database that I am using.

Can someone please help me to work out how to point the default ASPNETSQLProvider to my SQL database and not the default APP_Data one?

I am using Visual Studio 2008 and SQLExpress 2005.

Many thanks,



Custom Webpart in Default forms of a list not coming in new list created by using List Template in S



I added a custom webpart in default editform.aspx of a list and saved it as a template in Sharepoint 2010. Now when I am trying to create a new list by using this custom list template I am not getting the custom webpart in the editform.aspx. Only default form is coming.

Any kind of help will be appreciated.

read http custom header from web service


cant read http custome header "MSISDN" from my web service ... same code works on regular asp.net page. Can anyone shade a light on that subject ?

Custom Webpart in Default forms of a list not coming in new list created by using List Template in S



I added a custom webpart in default editform.aspx of a list and saved it as a template in Sharepoint 2010. Now when I am trying to create a new list by using this custom list template I am not getting the custom webpart in the editform.aspx. Only default form is coming.

Any kind of help will be appreciated.

Provision/Add custom Layout, Master and Default pages in Site Template


I'm attempting to use the onet.xml of a custom Site Template to provision/add (same thing?) a custom Master Page, a Custom Layout page and then reference them in Configurations.

I'm having trouble understanding the steps and order to do this in properly and am getting errors where the Layouts/Master pages cannot be found.  Here is what I have now:

<Module Name="SitesLayout" Url="_catalogs/masterpage" Path="Layouts" RootWebOnly="false">

  <File Url="SitesLayout.aspx" Type="GhostableInLibrary"><Property Name="Title" Value="AEP Sites Layout Template" /></File>


<Module Name="AEPMasterPage" Url="_catalogs/masterpage" RootWebOnly="false">

     <File Url="CustomMaster.master" Type="GhostableInLibrary" IgnoreIfAlreadyExists="true" />


<Module Name="DefaultFunctional" Url="Pages" Path="">

     <File Name="MyDefault.aspx" Url="DefaultOrgFuncHomePage\default.aspx" Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE">

     <Property Name="Title" Val

How to set default Image to RichFieldImage control in custom Publishing Page layout in Site defini




How to set  default Image to RichFieldImage control  in custom Publishing Page layout in Site definition?


Override Default MS contextmenu in custom control

I am creating a custom TextBox control with default ContextMenu as below.



<ContextMenu >

How to display/calculate total of a custom column in dataview webpart's grouping header



I've created a dataview from a MOSS2007 form library. In the dataview, I've enabled grouping by a specific column and also was able to show the total (sum) of couple of columns like this, in the group heading:

<xsl:value-of select=”sum($nodeset/@Total_x0020_Cost)” />

So far, it's working fine. I've added couple more columns to this dataview. There's a piece of javascript code that is executed for each row. These 2 columns gets their value from this javascript. Now, is there anyway, I can get the total/sum of these columns in the group heading.

Have you done something like this? Please advise.




SharePoint 2010 Custom List default overriding selection


We are finding that the second list using a field name from the first list that is defaulted does not take the field entry but uses the default when the record is created.  The First list field does take the change and populate the record.  We need the second list to accept the field change in creating a new record.

How to add the "expire" header in wcf rest custom service behavior extension.



I'm using WCF REST with custom service behavior extension. I'd like to add the "expired" header.

I tried this

object IClientMessageInspector . BeforeSendRequest (ref Message request , IClientChannel channel ) 
    var expireHeader = MessageHeader.CreateHeader 
            ( "Expire" ,"ns" , DateTime.Now.ToString
            ("ddd, dd MMM yyyy HH':'mm':'ss 'GMT' " ) , false ); 
    request.Headers.Add(expireHeader) ; 
    return null ; 

But then I get the following exception:
System.InvalidOperationException: Envelope Version 'EnvelopeNone
(http://schemas.microsoft.com/ws/2005/05/envelope/none)' does not support adding Message Headers.

Please help!


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