Welcome Guest Search | Active Topics | Sign In | Register

Can´t customize "These will delete the selected file ?" message on file explorer Options
Posted: Thursday, September 25, 2008 9:33:36 AM
Rank: Member
Groups: Member

Joined: 5/6/2008
Posts: 21
Hi

I need to customize this message, but i can´t found the code that display the message!!



thanks for the help
eo_support
Posted: Thursday, September 25, 2008 10:03:23 AM
Rank: Administration
Groups: Administration

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

I believe you can set the FileExplorer's ClientSideOnMessage to the name of a JavaScript function:

Code: HTML/ASPX
<eo:FileExplorer ClientSideOnMessage="on_message" ....>
.....
</eo:FileExplorer>


Code: JavaScript
function on_message(control, name, message, type, args)
{
    if (name == "confirm_delete_file")
        return window.confirm("your own message here");

    ...other cases....
}


More information about this here:

http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.Handlers.clientside_message_handler.html

Thanks
Posted: Thursday, September 25, 2008 10:10:32 AM
Rank: Member
Groups: Member

Joined: 5/6/2008
Posts: 21
It works great!! thanks a lot


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.