Hi Manmath,
Your webpart have to be inherited from CMSAbstractWebPart class.
So then you can use <%= ValidationHelper.GetString(GetValue("Title"), "") %>
in ascx file (be aware that you need add some additional references) or you can define properties in webpart cs file
public string Title
{
get { return ValidationHelper.GetString(GetValue("Title"), "");
}
and then in ascx use just <%= Title %>
Or you can add some controls in ascx file like Literal (<asp:Literal runat="server" ID="ltTitle"/>
) and then in cs file add the code to populate this control:
protected override void OnLoad(EventArgs e){
if (StopProcessing) return;
ltTitle.Text = Title; // or ValidationHelper.GetString(GetValue("Title"), "")
}