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

CSS for SPRadGrid

7 Answers 72 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Uday
Top achievements
Rank 1
Uday asked on 27 Dec 2010, 07:09 PM
Hi,

1) How can I apply custom css style for SPRadgrid for Sharepoint 2010?
2) How can I hide the option of showing up SPRadGrid Designer for the SPRadGrid webpart when the user (with viewer permissions) clicks on the dropdown which is at the upper right corner? (see image for understanding)

7 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 29 Dec 2010, 04:40 PM
Hello Uday,

Please, refer to my answer in the formal support ticket discussion.

Regards,
Tsvetoslav
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
Colin Watts
Top achievements
Rank 1
answered on 13 Oct 2011, 10:48 AM
Hi

I am new to Telerik but have same question as Uday, in the reply you reference an answer in the formal support ticket discussion, can you please tell me how to access to the info.

Thanks
0
Tsvetoslav
Telerik team
answered on 13 Oct 2011, 01:12 PM
Hi Colin,

Please, look at support tickt# 379584 in your customes account support communication page. It is the second ticket that your predecessor Uday Mandava has filed in.

Hope it helps.

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
0
Colin Watts
Top achievements
Rank 1
answered on 14 Oct 2011, 02:09 AM
Hi Tsvetoslav

There may be a missunderstanding,. I have nothing to do with Uday or his organisation and so do not have accesss to his support communication page, I just have the same problem as he did.
I am unable to locate ticket 379584, could you please given me more complete instructions to getting access to the information or duplicate it here.

Thanks for the help.
0
Tsvetoslav
Telerik team
answered on 14 Oct 2011, 12:55 PM
Hi Colin Watts,

Sorry for the misunderstanding, but our support system shows that you are posting tickets under the Deloitte account which is registered to Uday Mandaa. Could you confirm that you do not belong to this company and also specify the name of the organization you are working for?

Apart from that I am republishing here the reply to the problem under discussion along with the accompanying sample application:
=====================
The solution to your requirements is to inherit the TelerikSPRadGridWebPart class and extend it for the purpose of you scenario. I am attaching a sample project demonstrating how to do so (in particular, how to change the web part menu items so that SPRadGridDesigner not be there). In addition, I am attaching a custom skin (named Sky) for the grid, menu and input controls. Do note that you have to unpack these css and image files and place them in a Sky directory under the wpresources location for your web part. In my case, this directory was:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\SPRadGridWebPart\1.0.0.0__00dad87d49e2b0c3\Sky

That is, wpresources\<Name of your WebPart assembly>\<assembly key token>\<Nume of custom skin>.

You can find more information on creating custom skins for the telerik control in our online documentation. For example:
http://www.telerik.com/help/aspnet-ajax/grdcreatingnewskins.html

Hope this information will guide you through your own implementation.
==================

Greetings, 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
0
Ibsa
Top achievements
Rank 1
answered on 10 Apr 2013, 10:03 PM
Hi, Tsvetoslav, I inherited from TelerikSPRadGridWebPart and created my own web part called SPRadGridWebPartExtension as in the attached demo project. I was able to deploy the web part and add it to my page. However, changing page size, clicking next page, filter etc. all cause 'currentWindowID is undefined' JavaScript error. Is there something I'm missing? Also, when I click on the edit icon, instead of opening the native SP edit page in a popup, I get list of fields in edit mode below the selected item.

Let me know if there's additional step I need to execute in order to get this to work.

Thanks,
Ibsa
0
Tsvetoslav
Telerik team
answered on 15 Apr 2013, 12:21 PM
Hi Ibsa,

When you install the telerik web parts under the ...Web Server Extesions\wpresources folder you get a Telerik.Ajax.SharePoint one that has a subfolder with its name being the version number and the public key token of the web part. In the latter you have a folder GridResources with client scripts and resources. Now, what you need to do is create a similar folder for your own webpart under the wpresources one - this folder structure of yours should have as its root folder one with the name of the web part and then a subfolder with a name equal to the version number of your web part and public key token of your web part. Into that last one copy the GridReources folder mentioned above.

Hope it helps.

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
WebParts for SharePoint
Asked by
Uday
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Colin Watts
Top achievements
Rank 1
Ibsa
Top achievements
Rank 1
Share this question
or