Is there a way to have additional values with folder/file items

3 posts, 0 answers
  1. murali
    murali avatar
    5 posts
    Member since:
    Jun 2010

    Posted 13 Jun 2010 Link to this post


    Here i want to have some additional values apart from displaying columns . i need those values to control my context menu of the item.
    Is there possibility to have values without displaying in the grid.

    I dislike the idea of using the ajax check every item on item click and control the display the context menu. I want it do in client side. Is there any possiblity?



  2. Petio Petkov
    Petio Petkov avatar
    825 posts

    Posted 15 Jun 2010 Link to this post


    I modified the following online example:
    which illustrates how to add custom columns. Here are the changes which I made:
    1) In the RadFileExplorer1.Grid.ItemDataBound server-side event handler - the "Owners" column goes hidden by adding display:none to it. Using this approach- the column will exists on the client, but it will not be visible
    2) The RadFileExplorer1.GridContextMenu.OnClientShowing client-side event is handled and an alert displays the corresponding value of the "Owner" column. The code is invoked when you try to open the ContextMenu.

    Please find the attached example.

    Kind regards,
    Petio Petkov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft R3 2016 release webinar banner
  4. murali
    murali avatar
    5 posts
    Member since:
    Jun 2010

    Posted 21 Jun 2010 Link to this post

Back to Top