WSS 3.0 and _layouts based RadControl Integration

13 posts, 0 answers
  1. Des
    Des avatar
    12 posts
    Member since:
    Jan 2009

    Posted 15 Jun 2009 Link to this post

    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
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 15 Jun 2009 Link to this post

    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.

  3. Des
    Des avatar
    12 posts
    Member since:
    Jan 2009

    Posted 15 Jun 2009 Link to this post

    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
  4. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 16 Jun 2009 Link to this post

    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.
  5. Des
    Des avatar
    12 posts
    Member since:
    Jan 2009

    Posted 16 Jun 2009 Link to this post

    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
  6. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 16 Jun 2009 Link to this post

    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.
  7. Des
    Des avatar
    12 posts
    Member since:
    Jan 2009

    Posted 16 Jun 2009 Link to this post

    OK, will do that tomorrow when I have tested the dedicated server installation.

    Des
  8. Des
    Des avatar
    12 posts
    Member since:
    Jan 2009

    Posted 17 Jun 2009 Link to this post

    Hi Albert

    Ticket number is 220346

    Many thanks.
  9. Edward
    Edward avatar
    20 posts
    Member since:
    Mar 2009

    Posted 20 Oct 2009 Link to this post

    Any update on this?
  10. Des
    Des avatar
    12 posts
    Member since:
    Jan 2009

    Posted 20 Oct 2009 Link to this post

    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
  11. Michael Pappas
    Michael Pappas avatar
    3 posts
    Member since:
    Sep 2009

    Posted 28 Jan 2010 Link to this post

    Any update on the steps to get this working? I am having the exact issue described here.
  12. Des
    Des avatar
    12 posts
    Member since:
    Jan 2009

    Posted 28 Jan 2010 Link to this post

    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

     

  13. Michael Pappas
    Michael Pappas avatar
    3 posts
    Member since:
    Sep 2009

    Posted 28 Jan 2010 Link to this post

    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
Back to Top