IZWebFileManager

Advanced ASP.NET File Manager
Welcome to IZWebFileManager Sign in | Join | Help
in Search
The forum is moved to http://groups.google.com/group/izwebfilemanager
If you have any question, please post there. Thanks!

Problem with special characters with ClientOpenItemFunction

Last post 03-09-2011, 6:57 PM by fedrok. 5 replies.
Sort Posts: Previous Next
  •  03-07-2011, 10:40 AM 637

    Problem with special characters with ClientOpenItemFunction

    Hi.
    I'm using the 'ClientOpenItemFunction' attribute to get the selected file name.
    The problem is when file name contains special characters like +,à,è,...
    I've tried to javascript unescape the parameter of callback function, but doesn't work.

    How can I do to get back the right name?
    I use the following callback function:

    function Copen(path) {
    pH = unescape(path.replace('', ''));

    //....
    }

    where

    <iz:FileManager ID="FileManager1" runat="server" Height="600" Width="800" ClientOpenItemFunction="Copen" DownloadOnDoubleClick="false" FileViewMode="Thumbnails"/>

    Many thanks.

    fedrok
  •  03-09-2011, 12:38 PM 638 in reply to 637

    Re: Problem with special characters with ClientOpenItemFunction

    The problem is that when a file contains special charicters like "à", "ì", "+" and others, the parameter 'path', passed to method 'Copen' is corrupted...

    How can I avoid this?
    Any help please?

    Thx.
  •  03-09-2011, 12:48 PM 639 in reply to 638

    Re: Problem with special characters with ClientOpenItemFunction

    I am working on it...
  •  03-09-2011, 1:16 PM 640 in reply to 639

    Re: Problem with special characters with ClientOpenItemFunction

    Hi Igor.
    Many thanks.

  •  03-09-2011, 5:27 PM 641 in reply to 640

    Re: Problem with special characters with ClientOpenItemFunction

    I fixed that (I hope)

    send me an email to izwebfilemanager@gmail.com, I will reply you with patched binary.
  •  03-09-2011, 6:57 PM 642 in reply to 641

    Re: Problem with special characters with ClientOpenItemFunction

    Done!

    Thank you very much.
View as RSS news feed in XML
www.IZWebFileManager.com
izwebfilemanager@gmail.com