|
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
|
|
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!
|
|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
We have already answered the best fit question in our previous reply.
|
|
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
|
|
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.
|
|