Question : Sharepoint How do I change Web Part Title?

I'm using a Web Part which has the abilty to load multiple WebCtl.ascx using this.Page.LoadControl depending on the context.
The problem is, how do I sent the Web Part title so that is represents the correct ascx file?

Answer : Sharepoint How do I change Web Part Title?

Exactly I can't get your question but as per my understand you can change webpart's title from webpart.cs file using below line.

this.title="Sample title";

As per requirement load usercontrol & set Webpart title.
Random Solutions  
 
programming4us programming4us