Welcome Guest Search | Active Topics | Sign In | Register

File Explorer Options
Reza Khan
Posted: Tuesday, April 21, 2009 10:13:56 AM
Rank: Member
Groups: Member

Joined: 4/15/2009
Posts: 13
Hi support ,

I have a FileExplorer control called FileExplorer1and I need to set the default GridView of the FileGrid to "thumbNail" view and I need to set the Preview image to BestFit by default.

I have no toolbar so would like to set in code.

Can you please advise ?

Kind regards.

Reza




R Khan
eo_support
Posted: Tuesday, April 21, 2009 10:32:25 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

In order to switch the FileExplorer to thumbnail view, you can call:

Code: JavaScript
eo_GetObject("FileExplorer1").switchView(2);


I do not believe there is any way to change the preview image mode from code. You can only do it through the toolbar.

Thanks!
Reza Khan
Posted: Tuesday, April 21, 2009 10:44:01 AM
Rank: Member
Groups: Member

Joined: 4/15/2009
Posts: 13
Thanks , how about "Best Fit" ?

reza

eo_support wrote:
Hi,

In order to switch the FileExplorer to thumbnail view, you can call:

Code: JavaScript
eo_GetObject("FileExplorer1").switchView(2);


I do not believe there is any way to change the preview image mode from code. You can only do it through the toolbar.

Thanks!


R Khan
eo_support
Posted: Tuesday, April 21, 2009 10:48:30 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
We have already answered the best fit question in our previous reply.
Reza Khan
Posted: Tuesday, April 21, 2009 10:56:13 AM
Rank: Member
Groups: Member

Joined: 4/15/2009
Posts: 13
eo_support wrote:
We have already answered the best fit question in our previous reply.


Sorry , one was "GridView" the other "BestFit"

R Khan
eo_support
Posted: Tuesday, April 21, 2009 10:57:48 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
We said "I do not believe there is any way to change the preview image mode from code. You can only do it through the toolbar". That is for the "BestFit" question.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.