RadMenu and Tabstrip fails in masterpage

20 posts, 0 answers
  1. jayesh
    jayesh avatar
    4 posts
    Member since:
    Sep 2008

    Posted 17 Sep 2008 Link to this post

    Hi,
    I have use RadMenu and RadTabStrip in default.master page,it works well with other pages except settings.aspx of sharepoint i.e sitesettings link from sharepoint all Telerik controls fails when this page open.
    please kindly let me know I will be thankful to you.

    if we place telerik control in application.master page and try to open _layouts/settings.aspx telerik control fails to work where it works well with other pages.

    Thanks in advance
  2. jayesh
    jayesh avatar
    4 posts
    Member since:
    Sep 2008

    Posted 18 Sep 2008 Link to this post

    Hi,
    yes I have not download telerik from this account.I am a developer but telerik was downloaded from debadi@prakashinfotech.com user account.Its really have been nice experience to use telerik.

    Regards,
    Jayesh Prajapati.

  3. jayesh
    jayesh avatar
    4 posts
    Member since:
    Sep 2008

    Posted 21 Sep 2008 Link to this post

    hi,
    strange there is no reply.. I amazed.. its more than 4 days..

  4. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 22 Sep 2008 Link to this post

    Hello jayesh,

    We are not sure where the problem comes from. Is there any live url we can examine to reproduce the problem? You can open a support ticket in order to avoid sending us sensitive information.

    Regards,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Brian Ward
    Brian Ward avatar
    1 posts
    Member since:
    Aug 2007

    Posted 25 Sep 2008 Link to this post

    Jayesh you have described the problem we are having verbatim!

    Our RadMenu works perfect in default.master but does nothing when used from application.master and it contains the same markup!  We noticed from the browser viewsource that all but a single ScriptResource.axd tag is emitted for pages that use the application.master.

    Help us Telerik support, you're our only hope!
  6. jayesh
    jayesh avatar
    4 posts
    Member since:
    Sep 2008

    Posted 25 Sep 2008 Link to this post

    Hi,
    As telerik team's last reply

    "Our RadMenu works perfect in default.master but does nothing when used from application.master and it contains the same markup!  We noticed from the browser viewsource that all but a single ScriptResource.axd tag is emitted for pages that use the application.master."

    can you please eloborate it.Early reply will be appreciated.

    Thanks and Regards,
    Jayesh.
  7. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 26 Sep 2008 Link to this post

    Hi,

    I've managed successfully to update application.master. Please find attached the required files (application.master and topnavbar.ascx). Also see the attached screenshot.

    Regards,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. chewy
    chewy avatar
    3 posts
    Member since:
    Nov 2008

    Posted 11 Dec 2008 Link to this post

    Hi Albert,

    My radmenu works fine when used with default.master but for pages under the "_layouts" folder that uses the application.master master page, the child menus are not appearing.

    When I view source on the page, i can see the individual submenu items output to the webpage as HTML list items.
    But it just seems that the javascripts to trigger the animation for the submenus aren't getting handled by the asp:ScriptManager?

    When I view source on webpages that utilize the "default.master" and compared them to webpages that uses the "application.master".
    I seems to be missing the following javascripts.
       
        <script> 
        function _spNavigateHierarchy(nodeDiv, dataSourceId, dataPath, url, listInContext, type) { 
            ProcessDefaultNavigateHierarchy(nodeDiv, dataSourceId, dataPath, url, listInContext, type, document.forms.aspnetForm, """\u002fBusiness Unit\u002fdefault.aspx"); 
        } 
        </script> 
        <script src="/WebResource.axd?d=8Nu7fvSm_9RHwiR0-8fwmA2&amp;t=632981537219640072" type="text/javascript"></script> 
        <script src="/WebResource.axd?d=J6SLpmkLXwnWSYlgIBU8Gw2&amp;t=632981537219640072" type="text/javascript"></script> 
        <script> 
        <!-- 
            function TreeView_PopulateNodeDoCallBack(context,param) { 
                WebForm_DoCallback(context.data.treeViewID,param,TreeView_ProcessNodeData,context,TreeView_ProcessNodeData,false); 
            } 
        // --> 
        </script> 
        <script src="/ScriptResource.axd?d=DxkLKHb9tidPwU-c4-Yn6kKZjsQtgcOBxRKrF-SmxiXTFl_IQZ5K7oHpZKjoqXTbvTEGDS7IFaB1HmSOHG_CPTnYYu4bUYADyVvLc5pKahs1&amp;t=633616522360993750" type="text/javascript"></script> 
        <script src="/ScriptResource.axd?d=DxkLKHb9tidPwU-c4-Yn6kKZjsQtgcOBxRKrF-SmxiXTFl_IQZ5K7oHpZKjoqXTbvTEGDS7IFaB1HmSOHG_CPUJXNUq8YhbcaMNhDBV19CY1&amp;t=633616522360993750" type="text/javascript"></script> 
        <script src="/ScriptResource.axd?d=wufjk5Z0iZ8c7uQzvqYAjaTyX3Ca9ACizqKDnSVejEmvWSeoKm_rPRuQTEkcvQE_Q6D4wuEAHlOsdya2S1OLDTlM1BdRskKBpuys-0qx0Ac1&amp;t=633619121973262500" type="text/javascript"></script> 
        <script src="/ScriptResource.axd?d=wufjk5Z0iZ8c7uQzvqYAjaTyX3Ca9ACizqKDnSVejEmvWSeoKm_rPRuQTEkcvQE_Q6D4wuEAHlOsdya2S1OLDSkQyMWF87kSOn0yqEBCeWzGoqaTkjOPKtfsR_CJqv9RcJVESmNGh5Y7z9JXzPnSVQ2&amp;t=633619121973262500" type="text/javascript"></script> 
        <script src="/ScriptResource.axd?d=wufjk5Z0iZ8c7uQzvqYAjaTyX3Ca9ACizqKDnSVejEmvWSeoKm_rPRuQTEkcvQE_Q6D4wuEAHlOsdya2S1OLDSBm4zJuPMkfm6UOUH_lDXthrhq4AT2WExXxkxWbDApTBHJfA54tXG4ne9l-GKN6xQ2&amp;t=633619121973262500" type="text/javascript"></script> 
        <script src="/ScriptResource.axd?d=wufjk5Z0iZ8c7uQzvqYAjaTyX3Ca9ACizqKDnSVejEmvWSeoKm_rPRuQTEkcvQE_Q6D4wuEAHlOsdya2S1OLDQXMc33TSW8lF7dpQFEtS6yvBGdJrSBfylHSS2h5LquIyPzFyql15Dsiw2tUOOfzJA2&amp;t=633619121973262500" type="text/javascript"></script> 
        <script src="/ScriptResource.axd?d=wufjk5Z0iZ8c7uQzvqYAjaTyX3Ca9ACizqKDnSVejEmvWSeoKm_rPRuQTEkcvQE_Q6D4wuEAHlOsdya2S1OLDcN1e_4h4t6rmt-l-1Knk5gukCOyHgcxoak08mVfzww00&amp;t=633619121973262500" type="text/javascript"></script> 

    The only way i can get around this problem at the moment is to manually include these line inside my application.master page.
    I insert them just after the asp:ScriptManager tag.

    Any ideas or suggestion to get around this problem??

    Thanks Albert.

    EG
  9. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 12 Dec 2008 Link to this post

    Hi chewy,

    Unfortunately I have no idea why this does not work on your side. I tested with application.master and everything worked as expected - the script manager was registering the JavaScript files as expected. Please check the files attached earlier to this forum thread.

    Regards,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. chewy
    chewy avatar
    3 posts
    Member since:
    Nov 2008

    Posted 12 Dec 2008 Link to this post

    Thanks Albert for your speedy reply.

    Just wondering if you've tested this on the people.aspx or group.aspx pages in WSS 3.0?

    I receive the following error when trying to access these pages.
    Script controls may not be registered before PreRender.

    Any Ideas?

    Thanks again.

    Chewy
  11. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 12 Dec 2008 Link to this post

    Hello chewy,

    Does the problem occur with a ScriptManager and UpdatePanel?

    Best wishes,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  12. chewy
    chewy avatar
    3 posts
    Member since:
    Nov 2008

    Posted 15 Dec 2008 Link to this post

    Hi Albert,

    I don't have an updatepanel on the page where this occurs on as the people and group pages are standard WSS pages accessible from "site actions" > "people and groups".

    I'm only getting this error on these pages, the rest of the "_layouts" pages seems to work fine.

    Please let me know if you need any other information.

    Thanks!

    Chewy


  13. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 16 Dec 2008 Link to this post

    Hello chewy,

    Please try testing with an update panel and ScriptManager only. I believe the problem is ASP.NET Ajax specific.

    Regards,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  14. Sergio Cortez
    Sergio Cortez avatar
    23 posts
    Member since:
    Nov 2008

    Posted 14 Apr 2009 Link to this post

    Hello chewy
    Hello Albert
    Do you have any update on this topic???

    I'm experiencing same problems
  15. SMC
    SMC avatar
    9 posts
    Member since:
    Apr 2009

    Posted 05 Jun 2009 Link to this post

    I too am having the same problem, is there any solution here?
  16. Sergio Cortez
    Sergio Cortez avatar
    23 posts
    Member since:
    Nov 2008

    Posted 05 Jun 2009 Link to this post

    I have left this problem a while a go but i still don't know how to solve it.
    What i found while working in SharePoint with a custom App Masterpage is that this problem occurs in three places.

    _layouts/people.aspx
    _layouts/groups.aspx
    _layouts/spnewdashboard.aspx


    If someone has a solution please share it;
    Thank you!
  17. SMC
    SMC avatar
    9 posts
    Member since:
    Apr 2009

    Posted 06 Jun 2009 Link to this post

    If you want to mess around with the application.master page, i say mess around, because Microsoft does not recommend this, (and I am sure this is one of the resons why), make sure the application.master page contains no ajax controls or silverlight controls.  

    Ajax use the preRender event to load whatever it needs to load in order for ajax to work,  some SharePoint admin pages overwrite this preRender event, meaning that the ajax bit of code never run, and there is no way to stop this from happening. 

    I am assuming they did this because MOSS 2007 was out BEFORE ajax was big, so it seemed like a good idea at that time to mess around with the preRender event.  I am hoping tht they learnt from there mistake and will rectify this with a service pack, but I wont hold my breath.

    How did I solve this?  Well in my situation, I had ajax telerik controls on the application.master page, I only had these controls because they were pretty and I could get images into combo boxes with ease, I did not need the ajax facility.  so really my page was crashing for something I am not using.

    I dont think you can "turn off" ajax on these controls, so I downloaded the earlier versions of telerik controls, the rad controls, these controls are not dependand on a script manager, and it contains some of the functionality available in the newer ajax pumped controls.  Its hard to find support on these controls as all the support pages has been removed from the support menu's of this site, and I have to rely on search criteria's to find what I want, but thats another issue.

    So the best solution I could find was replacing the "ajax" telerik controls with "rad" telerik controls. and make sure the application.master page has no ajax dependant controls.
  18. Sergio Cortez
    Sergio Cortez avatar
    23 posts
    Member since:
    Nov 2008

    Posted 08 Jun 2009 Link to this post

    What Ockert van Heerden wrote makes a lot of sense. Thank you.
    And actually you wouldn't need Ajax for the application pages because all of them are already built and a specific task to be done.

    The main reason to customize the application.master is to extend your custom graphics that came in the default.master.

    Ok so the next thing I will ask: is there a way to get old Telerik Asp.Net Controls???
    I went to search in my download area and i can't see them.

    Thank you (y)
  19. SMC
    SMC avatar
    9 posts
    Member since:
    Apr 2009

    Posted 08 Jun 2009 Link to this post

    I found the dll's in "Your Accounts">"Downloads">"RadControls for ASP.NET" (NOT RadControls for ASP.NET AJAX).  Not sure if its available to you becaue we had a Telerik account before the "asp.net ajax" controls were available.

    I used these urls for support on the controls i used, (I found them on google, these links are not available via the support menu available on this site). 

    http://www.telerik.com/help/aspnet/combobox/combocustclient.html
    http://www.telerik.com/help/aspnet/input/clientsideapi.html
  20. Hector
    Hector avatar
    13 posts
    Member since:
    Apr 2009

    Posted 30 Jun 2010 Link to this post

    Did you ever fix this ? If so How. I have the same issues with those files also.
Back to Top