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

Customizing the TelerikSPRadGridWebPart &/or Use Internal Editing

1 Answer 51 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 21 Sep 2011, 05:47 PM
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

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 27 Sep 2011, 11:47 AM
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
Tags
Sharepoint Integration
Asked by
Patrick
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or