Enterprise portal: Set Page title at run time?

380 views Asked by At

I need to set page title for EP page that is created in VS using dataset created in AOT.

How to do that?

1

There are 1 answers

0
Anwer Ali On

You can set the page title on run time by adding the below code in the page load event

ITitleProvider titleProvider = AxBaseWebPart.GetWebpart(this) as ITitleProvider;

titleProvider.Caption = "Your title";