Enterprise portal: Set Page title at run time?

378 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 best solutions below

0
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";