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

Hide Rad File explorer grid rows

3 Answers 94 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
siva sankar
Top achievements
Rank 1
siva sankar asked on 24 May 2012, 12:41 PM
Good Evng
   

                      Hai i want to hide the grid rows in rad file explorer i.e i want to display recently uploaded file only with uniqe name.

3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 29 May 2012, 08:36 AM
Hi Siva Sankar,

If I understand you correctly, you want to hide the Size column of the explorer's grid component. You can achieve this by setting the column's Display to False, e.g.:
protected void  Page_Load(object sender, EventArgs e)
{
     RadFileExplorer1.Grid.Columns[1].Display = false;
}

If this is not the case, could you please describe in more details what exactly you want to achieve?


Greetings,
Dobromir
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
siva sankar
Top achievements
Rank 1
answered on 22 Jun 2012, 12:17 PM
Thank you for your reply

                    But i.e not my problem actually if i was upload a file name "abcd", next time when iam uploading same file (iam renameing it when uploading file "abcd")the renameing file only should display and previous file i.e first uploaded file  doesnot display in grid.
0
Dobromir
Telerik team
answered on 25 Jun 2012, 03:22 PM
Hi Siva Sankar,

If I understand you correctly you are renaming the old file instead of overwriting it, and you do not want to display old files. To do so, you can use RadFileExplorer's ExplorerPopulated server-side event to filter the displayed items.

Please take a look at the following live demo, I believe it will help you achieve the required result.
FileExplorer / Filter files and download

Greetings,
Dobromir
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
FileExplorer
Asked by
siva sankar
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
siva sankar
Top achievements
Rank 1
Share this question
or