Welcome Guest Search | Active Topics | Sign In | Register

File Explorer - Detecting Which File - Client Side Options
Reza Khan
Posted: Wednesday, April 15, 2009 9:21:31 AM
Rank: Member
Groups: Member

Joined: 4/15/2009
Posts: 13
Hello , 1st time user.

I have a eo.FileExplorer control and I want to detect which file has been clicked/selected on the client.

I am using "ClienSideOnItemSelected" in Properties and entered a test name of a Javascipt routine.

I have then entered the test JS routine in the source file :
<source>
function TestClick() {
.....
}
</source>

I can't seem to detect the click ?

Any ideas ?

Thanks for your help.

Reza

R Khan
eo_support
Posted: Wednesday, April 15, 2009 9:32:20 AM
Rank: Administration
Groups: Administration

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

I believe the property should be ClientSideOnFileSelected:

http://doc.essentialobjects.com/library/1/eo.web.fileexplorer.clientsideonfileselected.aspx

Also make sure you give it the function name, not a function call. For example, the following code is wrong:

Code: HTML/ASPX
ClientSideOnFileSelected="TestClick();"


This is the correct form:

Code: HTML/ASPX
ClientSideOnFileSelected="TestClick"


Thanks!

Reza Khan
Posted: Wednesday, April 15, 2009 9:42:02 AM
Rank: Member
Groups: Member

Joined: 4/15/2009
Posts: 13
yep , you are right , thanks.

This product suite is superior that other "German" company have and the support is top-notch.

Cheers mate.

Reza

eo_support wrote:
Hi,

I believe the property should be ClientSideOnFileSelected:

http://doc.essentialobjects.com/library/1/eo.web.fileexplorer.clientsideonfileselected.aspx

Also make sure you give it the function name, not a function call. For example, the following code is wrong:

Code: HTML/ASPX
ClientSideOnFileSelected="TestClick();"


This is the correct form:

Code: HTML/ASPX
ClientSideOnFileSelected="TestClick"


Thanks!



R Khan
eo_support
Posted: Wednesday, April 15, 2009 9:45:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Glad to hear that! Please feel free to let us know if you have any more questions.


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.