Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have some filter webparts in my site page. How to change or remove the text shown above the data filter webparts ? I have tried several ways, but its still showing the "FilterName" !! Any idea about this ?

share|improve this question

2 Answers 2

If you mean the name that appears above the web part, then you can change it under 'Appearance' in web part properties or else change the chrome to 'None' and then you will not have a name appear at all (unless the page is in edit mode).

share|improve this answer
    
I have given the ChromeType="None" already, but still its coming. This will work for normal webparts, but I'm getting the FilterName there in the data filter webparts. –  Anish V Jan 16 at 12:45
    
OK you mean the actual filter name which is displayed above the relevant control? So what do you want that to say? You need to tell the user what to enter so it needs to say something and as you say its used in the web part connections dialogs. No real way round that without writing a custom filter web part, you just need to make it say something sensible. –  Charles Lee Jan 16 at 13:42
    
You could (though its not nice) use JavaScript and CSS to hide the text I suspect. –  Charles Lee Jan 16 at 13:44
    
Sometimes, I don't need to show any text there. So, there is no other direct method, other than javascript , rt ? –  Anish V Jan 16 at 14:27
    
Nope - that is your only option AFAIK. –  Charles Lee Jan 16 at 14:37

You can replace filtername with a space.

share|improve this answer
    
But, that filtername is used for webpart connections! How to handle that ? –  Anish V Jan 16 at 13:11
    
I'm using text filter to filter a large list. I replaced filter name with a space and did connection with connections propery and it is working perfect. Are you using this filter web part to filter only one list or with many web parts? –  compengTR Jan 16 at 13:46
    
I'm using this filter webpart to connect only one list webpart. There are 5 filter webparts there. So, in the providernames you specify the blank ? –  Anish V Jan 16 at 14:23
    
If filter name is not very important for you, I guess you can use space, doublespace, triplespace to call filter web parts like " "," "," ". –  compengTR Jan 16 at 14:27
    
Ok.But, the webpart connection's ProviderFieldNames is set by using this webparts filtername, rt ? I have multiple data filters in the page. So, is there a problem in using the space as filter name ? All filternames will be blank, rt ? –  Anish V Jan 16 at 14:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.