Wed 25 Apr 2012

In sharepoint, if it is required to disable the filter and to keep only the sorting, then following workaround could be the solution one.
(Following change are done to sharepoint 2010 using sharepoint designer 2010, might be it works for 2007 aswell)

Please keep the copy of file(s) which you are going to change, incase if some mishap happen J

·         Open the desired sharepoint site in sharepoint designer

·         Select Lists and Libraries from the Site Objects

·         Select desired list / library

·         Select the desired view from the views list where you want to remove to remove filter

·         Click on advance mode

·         Search for the <ViewFields> inside <XmlDefinition>

·         Now add following desired attribute to all desired columns. (All column are  <FieldRef Name="ModifiedOn" />)

as

 <FieldRef Name=" ModifiedOn " LinkToItem="TRUE" Filterable="FALSE" FilterDisableMessage="No filter available "/>

After that, edit the page where the list / library webpart exists or add webpart (list / library) if not already added on the page,  edit webpart properties and select the desired view again then click apply button to reflect changes.

 

In above,

·         You can change the default text for disabled filter using FilterDisableMessage="No filter available " attribute

·         By adding Filterable="FALSE", now the filter will not be available

·         If you want to make a particular column clickable, then add LinkToItem="TRUE"

 

E-mail this post to someone or Comments (1)
Sun 8 Apr 2012

 

 Positive facts which people / world doesn't know much about Pakistan, other than doing and having just negative thoughts and critisism.

Of all the countries in the world

  • Pakistan is the second largest exporter of clothing
  • Fourth largest cotton producer
  • Fifth largest milk producer
  • Pakistan is only Muslim nuclear power as well as a declared nuclear weapons state
  • Tenth largest workforce in the world
  • Seventh largest pool of scientists and engineers in the world
  • 28th largest economy in the world worth $1 trillion (Dh3 trillion)
  • Stands at number two in terms of per capita charity donations after the US.
  • Pakistany has the fifth largest coal, copper and gold reserves in the world worth $65 billion
  • Pakistan Stock exchange was the world's third best performing last year despite all the troubles.
  • Pakistan has the seventh largest standing armed forces in the world
  • Pakistan has the second largest Muslim population in the world. It is second to Indonesia
  • The worlds second and ninth highest mountains , The K2 and Nanga-parbat, are in Pakistan
  • Pakistan has best weather for business in the world, ccording to GALLOP survey from whole world.
  • Pakistan is 2nd in Entrepreneurial activities in Asia after Japan
  • Best performance at Field hockey World Cup (men)
  • Most number of British Open Squash champions (men)
  • Greatest number of World Open Squash champions (men)
  • Most successful team in ICC World Twenty20 Cup
  • Highest paved international road, Karakoram Highway at 4,693 m (15,397 ft)

 

Proud to be a Pakistani. Long live Pakistan because Pakistan Best. Ooopss after reading these...Is something burning????

 

 

Categories : Knowledge / Amazing
E-mail this post to someone or Comments here