Changing ImageGalleryPath client side via Javascript.

Last post 09-19-2007, 11:26 AM by Domainscanners. 1 replies.
Sort Posts: Previous Next
  •  09-19-2007, 11:18 AM 33638

    Changing ImageGalleryPath client side via Javascript.

    Hi Adam,

    My config has this setting...

    <security name="ImageGalleryPath">~/ImageGallery/16x16</security>
     
    Is it possible to change this setting client side before the 'ImageGalleryByBrowsing' command is executed?
    Some thing like...

    // Public Image Gallery
    function callShowPublicImageGallery(str_CEID)
    {
    var editor1 = document.getElementById('<%=ceImageSelector.ClientID%>');
    editor1.FocusDocument();
    var editdoc = editor1.GetDocument();
    editor1.somehowchangeImageGalleryPath("my new path");
    editor1.ExecCommand(
    'new');
    editor1.ExecCommand(
    'ImageGalleryByBrowsing');
    InputURL2(str_CEID);
    }
     
    Paul.
  •  09-19-2007, 11:26 AM 33639 in reply to 33638

    Re: Changing ImageGalleryPath client side via Javascript.

     Ps. Trying to do this without a postback.
View as RSS news feed in XML