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

Select directory

3 Answers 148 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
chp
Top achievements
Rank 1
chp asked on 23 Mar 2010, 11:47 AM
Hi,

is it possible to select a directory instead a file?

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 26 Mar 2010, 10:04 AM
Hi chp,

Could you please provide more details? What exactly do you want to achieve?


Sincerely yours,
Georgi Tunev
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.
0
chp
Top achievements
Rank 1
answered on 26 Mar 2010, 10:16 AM
hi,

if the fileselector dialog is popped up, you have to select a file to close it. The textbox of the control contains after closing the selected file path.
My question is: Is it possible to select a directory and then you can close the dialog and the textbox contains after closing the selected path of the directory?
0
Dobromir
Telerik team
answered on 31 Mar 2010, 06:10 PM
Hi Christian,

Yes, it is possible to select a directory. The live demo that demonstrates this functionality, is checking for the type of the item that is clicked because if it is allowed to select a folder the grid navigation will be disabled.

In order to provide the requested functionality I suggest you to add a button to the opened dialog which should be used to select an item.

For your convenience I have attached a sample project with the suggested approach.

Best wishes,
Dobromir
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.
Tags
FileExplorer
Asked by
chp
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
chp
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or