I have searched the forums and google to try and figure this out but I am at a loss, any help is much
appriciated.
Problem is when the content page is not in the same folder as the masterpage, the rad controls stop working
Folder structure
WebApplication
Site1.Master - contains radtreeview
Admin
WebForm1.aspx - blank content page
In this example the radtreeview in master page stops working, the javascript seems to be the problem,
no client side features work, not even just the default expand collapse
If I put the master page and the content page in the same directory all works as expected.
An example page that is not working can be viewed here
http://simplyfundraising.ageektech.com/webapplication/admin/webform1.aspx
Thank you.
appriciated.
Problem is when the content page is not in the same folder as the masterpage, the rad controls stop working
Folder structure
WebApplication
Site1.Master - contains radtreeview
Admin
WebForm1.aspx - blank content page
In this example the radtreeview in master page stops working, the javascript seems to be the problem,
no client side features work, not even just the default expand collapse
If I put the master page and the content page in the same directory all works as expected.
An example page that is not working can be viewed here
http://simplyfundraising.ageektech.com/webapplication/admin/webform1.aspx
Thank you.
5 Answers, 1 is accepted
0
Accepted
Hi Daniel,
We haven't faced such issue before. Even in different folders there must be no reason for the RadTreeView to work normally. Could you please send me your code so I can inspect it and help you?
Thank you!
Kind regards,
Veronica Milcheva
the Telerik team
We haven't faced such issue before. Even in different folders there must be no reason for the RadTreeView to work normally. Could you please send me your code so I can inspect it and help you?
Thank you!
Kind regards,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Daniel
Top achievements
Rank 2
answered on 27 Apr 2011, 06:30 PM
Thank you for the reply, I have prepared a sample demo illustrating the problem but the forum attachment limits file and size type
uploading, where should I send the sample?
uploading, where should I send the sample?
0

Daniel
Top achievements
Rank 2
answered on 27 Apr 2011, 07:33 PM
I found the problem. With masterpages you should use resolveclienturl ie.
<script src="<%=ResolveClientUrl("~/webapplication/js/utils.js")%>" type="text/javascript"></script> This fixed my problem, I had a function call for OnRowDblClick which was unable to find the function using the normal src path for js includes, once updated with ResolveClientUrl, all worked fine. Also may need to put the scripts inside a RadCodeBlock Thanks again
0
Hi Daniel,
I'm glad that you found the solution to the issue.
Please let me know if you have further questions.
Kind regards,
Veronica Milcheva
the Telerik team
I'm glad that you found the solution to the issue.
Please let me know if you have further questions.
Kind regards,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Sunit
Top achievements
Rank 1
answered on 12 Aug 2014, 05:48 AM
thnks Sir