Use Master Page Question

Posted by Community Admin on 03-Aug-2018 07:58

Use Master Page Question

All Replies

Posted by Community Admin on 27-Jul-2014 00:00

Hi guys,

 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)
  //code

 

Posted by Community Admin on 27-Jul-2014 00:00

What do you mean, like after dragdrop or on render of the published page?

Posted by Community Admin on 28-Jul-2014 00:00

Hi Steve,  

 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. 
 

protected override void InitializeControls(GenericContainer container)
  //it will perform twice

 

 

Posted by Community Admin on 30-Jul-2014 00:00

Hi Minco,

Could you please specify the Sitefinity version you use? I could not reproduce this behavior on my end. Is the custom master page with a codebehind or a codefile? Is the custom widget a Thunder generated one? Please, provide us with this additional information, so we can proceed.

Regards,
Nikola Zagorchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 12-Aug-2014 00:00

Hi Nikola Zagorchev,

This is my negligence.  It's  ok  now.

Posted by Community Admin on 12-Aug-2014 00:00

Hello Minco,

I am glad the issue has resolved. Write back if we can help you further.

Regards,
Nikola Zagorchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed