I have used custom widget in my master page. I have got a problem.
If i drag custom widget into my master page(My template). The InitializeControls event will perform twice.
But if I use basic template it's ok , it just perform once.
Who can tell me some suggestions ?
protected override void InitializeControls(GenericContainer container)
What do you mean, like after dragdrop or on render of the published page?
I have created a master page and then created a page template by master page.
If I use custom widget in my page template . In the custom widget's InitializeControls event, it will perform twice.
//it will perform twice
Hi Nikola Zagorchev,
This is my negligence. It's ok now.