This is a migrated thread and some comments may be shown as answers.

RadMenu and Tabstrip fails in masterpage

19 Answers 202 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
jayesh
Top achievements
Rank 1
jayesh asked on 17 Sep 2008, 02:47 PM
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

19 Answers, 1 is accepted

Sort by
0
jayesh
Top achievements
Rank 1
answered on 19 Sep 2008, 03:08 AM
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.
0
jayesh
Top achievements
Rank 1
answered on 21 Sep 2008, 12:27 PM
hi,
strange there is no reply.. I amazed.. its more than 4 days..

0
Atanas Korchev
Telerik team
answered on 22 Sep 2008, 07:45 AM
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.
0
Brian Ward
Top achievements
Rank 1
answered on 25 Sep 2008, 06:27 PM
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!
0
jayesh
Top achievements
Rank 1
answered on 26 Sep 2008, 02:41 AM
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.
0
Atanas Korchev
Telerik team
answered on 26 Sep 2008, 08:07 AM
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.
0
chewy
Top achievements
Rank 1
answered on 12 Dec 2008, 02:25 AM
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
0
Atanas Korchev
Telerik team
answered on 12 Dec 2008, 09:07 AM
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.
0
chewy
Top achievements
Rank 1
answered on 12 Dec 2008, 09:12 AM
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
0
Atanas Korchev
Telerik team
answered on 12 Dec 2008, 09:40 AM
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.
0
chewy
Top achievements
Rank 1
answered on 16 Dec 2008, 02:47 AM
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


0
Atanas Korchev
Telerik team
answered on 16 Dec 2008, 07:33 AM
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.
0
Sergio Cortez
Top achievements
Rank 2
answered on 14 Apr 2009, 08:08 PM
Hello chewy
Hello Albert
Do you have any update on this topic???

I'm experiencing same problems
0
SMC
Top achievements
Rank 1
answered on 05 Jun 2009, 04:53 PM
I too am having the same problem, is there any solution here?
0
Sergio Cortez
Top achievements
Rank 2
answered on 05 Jun 2009, 04:59 PM
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!
0
SMC
Top achievements
Rank 1
answered on 06 Jun 2009, 12:03 PM
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.
0
Sergio Cortez
Top achievements
Rank 2
answered on 08 Jun 2009, 03:19 PM
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)
0
SMC
Top achievements
Rank 1
answered on 08 Jun 2009, 03:45 PM
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
0
Hector
Top achievements
Rank 1
answered on 30 Jun 2010, 05:09 PM
Did you ever fix this ? If so How. I have the same issues with those files also.
Tags
Sharepoint Integration
Asked by
jayesh
Top achievements
Rank 1
Answers by
jayesh
Top achievements
Rank 1
Atanas Korchev
Telerik team
Brian Ward
Top achievements
Rank 1
chewy
Top achievements
Rank 1
Sergio Cortez
Top achievements
Rank 2
SMC
Top achievements
Rank 1
Hector
Top achievements
Rank 1
Share this question
or