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

WSS 3.0 and _layouts based RadControl Integration

12 Answers 114 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Des
Top achievements
Rank 2
Des asked on 15 Jun 2009, 10:15 AM
Hi, first post so be gentle with me :-)

I managed to get an asp.net application containing radgrid, calendar and scheduler controls deployed and almost running within the sharepoint context and with the sharepoint look and feel BUT (a) the grid does not not react to user input when selecting a row (like it's disabled) (b) the calendar control does nothing and if you hover over it shows the page name and a hash (#) at the end in the hyperlink preview in the status bar and (c) the scheduler has the same problem with all the sub controls within it such as Week view  or Month view etc plus double-clicking the time slots does nothing.

Have I done something stupid?  It took a huge amount of reading and research just to get to this point so I'd like to see it through if possible.  The alternative I've been using is to deply the applications as web sites / applications under their own IIS context and embed them in a page viewer web part.  This works but does not allow me to dynamically change the link to the page by adding record numbers etc as parameters.  Anyway, it was a kludge that isn't that secure so I'd prefer the full integration if I can get it working with the RadControlsd having invested so much time and money on them.

Hope someone can help.

Des Owen

12 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 15 Jun 2009, 01:54 PM
Hello Des,

Most probably there is a javascript error and all controls do not work as a result. Please check if this is the case and let us know what the error message is.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Des
Top achievements
Rank 2
answered on 15 Jun 2009, 02:18 PM
Hi Albert, no JavaScript errors are showing (status bar just says Done).  No errors are being tripped in my .NET code either.  The calendar button hyperlinks work as expected when the same application is deployed normally but simply refresh to the same page when called within the _layouts based app.

I'm running under .NET Framework 3.5 and have ensured I followed the web.config settings for AJAX 3.5 in your support section.  However I have tried both before and after these changes were made.  As mentioned the grid control is behaving as if disabled but I can type in text in the column filter boxes and the page refreshes but the filter is not applied. I can change pages ok.  Other normal .NET controls work fine.

Can I provide any other info that will assist?  I have FireBug installed for FF but I have the same problem in Google Chrome and IE7 / 8.

Des
0
Atanas Korchev
Telerik team
answered on 16 Jun 2009, 12:28 PM
Hi Des,

Is there any live url where we can observe this problem? I think this is the only way to troubleshoot what went wrong.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Des
Top achievements
Rank 2
answered on 16 Jun 2009, 03:26 PM
Hi Albert, yes I can arrange that but will need an email address to send you the link and connection details please.  I have the system running on a web server that you may be able to access so we can try that one first but otherwise I will need to move the application to my other dedicated server.

Des
0
Atanas Korchev
Telerik team
answered on 16 Jun 2009, 04:19 PM
Hi Des,

You could open a support ticket in order to exchange private data.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Des
Top achievements
Rank 2
answered on 16 Jun 2009, 04:51 PM
OK, will do that tomorrow when I have tested the dedicated server installation.

Des
0
Des
Top achievements
Rank 2
answered on 17 Jun 2009, 08:38 AM
Hi Albert

Ticket number is 220346

Many thanks.
0
Edward
Top achievements
Rank 1
answered on 20 Oct 2009, 11:54 AM
Any update on this?
0
Des
Top achievements
Rank 2
answered on 20 Oct 2009, 12:07 PM
All working now.  There's a long list of settings that have to be just right in the web.config file and in the aspx file.  At some point I will be documenting my experience but at the moment I'm time poor.

Des
0
Michael Pappas
Top achievements
Rank 1
answered on 28 Jan 2010, 02:40 PM
Any update on the steps to get this working? I am having the exact issue described here.
0
Des
Top achievements
Rank 2
answered on 28 Jan 2010, 02:55 PM

Hi

I've still not had time to fully document the solution but a lot depends of what you already have in your web.config file and also how you;ve setup your aspx files.

If you can tell me what symptoms you're seeing and any error messages then I'll try and offer a few suggestions.  To start though Is your architecture working on the following basis:

- ASP.NET DLL's placed into the _LAYOUTS folder under separate sub folders
- Do you have SafeControl entries in the web.config for each dll
- Within each of the subfolders you'll need a dummy master file and your aspx must point to it like this:

 

<%

@ Page Language="C#" AutoEventWireup="true" MasterPageFile="dummy.master"

 

 

and your dummy.master should look like this:

 

<%

@ Master Language="C#" AutoEventWireup="true" CodeBehind="dummy.master.cs" Inherits="RhapsodyKPIDetails_master.dummy" %>

 

 

 

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml" >

 

<

 

head runat="server">

 

 

 

 

 

 

<title></title>

 

 

 

 

 

 

<asp:ContentPlaceHolder ID="head" runat="server">

 

 

 

 

 

 

</asp:ContentPlaceHolder>

 

</

 

head>

 

<

 

body>

 

 

 

 

 

 

<form id="form1" runat="server">

 

 

 

 

 

 

<div>

 

 

 

 

 

 

<asp:ContentPlaceHolder ID="PlaceHolderMain" runat="server">

 

 

 

 

 

 

 

</asp:ContentPlaceHolder>

 

 

 

 

 

 

<asp:ContentPlaceHolder ID="PlaceHolderPageTitle" runat="server">

 

 

 

 

 

 

 

</asp:ContentPlaceHolder>

 

 

 

 

 

 

<asp:ContentPlaceHolder ID="PlaceHolderPageTitleInTitleArea" runat="server">

 

 

 

 

 

 

 

</asp:ContentPlaceHolder>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

</form>

 

</

 

body>

 

</

 

html>

 

 

 

If you can't read the snippets in this post the drop me a line by email (des.owen@thefoxgroup.co.uk)

Des

 

0
Michael Pappas
Top achievements
Rank 1
answered on 28 Jan 2010, 03:26 PM
Hi Des,

Thanks for the quick reply.  I turns out that I did not have enough of the asp.net 3.5 settings in my web.config.  To find out what I was missing, I referred to the Telerik SharePoint site and compared my web.config settings to theirs.

Warm regards,

Mike
Tags
Sharepoint Integration
Asked by
Des
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Des
Top achievements
Rank 2
Edward
Top achievements
Rank 1
Michael Pappas
Top achievements
Rank 1
Share this question
or