Customizing the TelerikSPRadGridWebPart &/or Use Internal Editing

2 posts, 0 answers
  1. Patrick
    Patrick avatar
    1 posts
    Member since:
    Sep 2011

    Posted 21 Sep 2011 Link to this post

    Hi all.  I have tried numerous ways to do this but cannot.  My goal is SIMPLE...

    "To be able to use a RadGrid that I can control formatting on, bind to a SharePoint list and use the internal SharePoint edit dialog commands without writing a bunch of code"

     Things I've tried (some based on correspondence with the Telerik team)...

    1. Inheriting from TelerikSPRadGridWebPart and creating my own custom webpart so that I can bind to the events of the Grid.
      PROBLEM:  I can't seem to get the right combination of files perhaps.  I can deploy and load the webpart onto a page,  but there is no data and the Designer doesn't work at all.  I've tried this with and without an associated ascx control.  You'd think without is the way to go.  Then simply have a .dwp and .cs file with the .cs file inheriting from TelerikSPRadGridWebPart.  Again, I can get this on the page, I can even access the Grid (RadGrid) property on the webpart in my .cs file...  But that's about it.  Unless I want to go about doing all of the databinding myself, that's as far as it takes me. 

    2. Created a simple webpart using the RadGrid and creating my own datatable from a SharePoint list query.  Bind the datatable to the RadGrid.  I have tried the following with regard to the Edit functionality I described in my goal...

    2a. I've tried a GridButtonColumn and then in the item data bound event handler i've tried to set the OnClientClick to the SharePoint showEditInsertForm...

    2b. I've tried a Grid LinkButtonColumn and navigation parameters (id) and url format string to match the SharePoint string. 

    this last one, the LinkButton...actually works.  but it's not how the client wants it implemented.

    Ok...so there you go.  Any help is greatly appreciated.

    o'g
  2. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 27 Sep 2011 Link to this post

    Hi Patrick,

    Please, leave the support communication to the formal support ticket #465844. Thanks for that.

    All the best, Tsvetoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

Back to Top