+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Include javascript into head section of master page mvc widget hybrid mode

Include javascript into head section of master page mvc widget hybrid mode

2 posts, 0 answered
  1. Andrew Wiseman
    Andrew Wiseman avatar
    4 posts
    Registered:
    24 May 2006
    13 Dec 2013
    Link to this post
    Hi there,

    I'm just wondering if it is possible to render a script into the head section of my master page in hybrid mode from my mvc widget?

    Using web forms i use to use the RegisterClientScriptBlock, but im not sure how to mimic the same in sitefinity mvc widget.

    Regards
    Andrew
  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    29 Nov 2016
    17 Dec 2013
    Link to this post
    Hello,

    You could do this in your master page.

    Alternatively you could achieve this if you add another widget on the page where your MVC widget is but the new widget should be Web Forms.

    Regards,
    Svetoslav Manchev
    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 Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered