CSS for SPRadGrid

8 posts, 0 answers
  1. Uday
    Uday avatar
    10 posts
    Member since:
    Dec 2010

    Posted 27 Dec 2010 Link to this post

    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)
  2. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 29 Dec 2010 Link to this post

    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.

  3. Colin Watts
    Colin Watts avatar
    2 posts
    Member since:
    Apr 2006

    Posted 13 Oct 2011 Link to this post

    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
  4. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 13 Oct 2011 Link to this post

    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
  5. Colin Watts
    Colin Watts avatar
    2 posts
    Member since:
    Apr 2006

    Posted 13 Oct 2011 Link to this post

    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.
  6. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 14 Oct 2011 Link to this post

    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
  7. Ibsa
    Ibsa avatar
    4 posts
    Member since:
    Jul 2012

    Posted 10 Apr 2013 Link to this post

    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
  8. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 15 Apr 2013 Link to this post

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