Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppress Web Part title 1

Status
Not open for further replies.

LV

Programmer
Nov 1, 2000
1,184
US
Does anyone know how to get rid of a Web Part Title?
If you just say
Code:
this.Title = String.Empty;
the Web Part will still show title as Untitled [1]
 
I've not really used Web Parts but have you tried setting it to a space e.g.
Code:
this.Title = " ";
Does that work?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
ca8msm,

thanks, that works, except now I need to figure out how to suppress the placeholder for title, since it still keeps the space.
 
What does the generated HTML look like for that web part?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Yeah, I'm looking at it now, will probably try to hide it client side.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top