Hello,
How can I make the InsertImage button display the"Modify Image" popup message?
Currently everytime I click it, it opens up the current page on a popup window.
One more thing, how can I hide a toolbar button programmatically ?
Thanks
Hi,
Please debug by building a temporary page which contains only WebHtmlEditor and verify that image dialog appears. If it is not, then it is probably problem with the UploadedFilesDirectory. The simplest way to make it work,- is to set it to a local directory like "./upload", create that directory at location of project and in properties of that directory check "Share this folder".Next, try to find out why editor in your application does not work (experiment with location of "upload", etc).Note: any uploaded functionality (images, media, flash, etc.) is available only when editor is created on initial load of page (like aspx), otherwise, while upload request, the instance of control will not be found and server may generate response with default page. So, situation when editor is created on a specific event (like button click, wizard-view event, etc) will destroy upload functionality. No fix is possible.
To remove item from codes you should use corresponding collection. For example, to remove 4th item and Bold button, you may usethis.WebHtmlEditor1.Toolbar.Items.RemoveAt(1);BaseChildControl button = this.WebHtmlEditor1.FindByKeyOrAction("Bold");if(button != null) this.WebHtmlEditor1.Toolbar.Items.Remove(button);
Regards,ViktorInfragistics web team
hello dear friend...i using the Infragistic's WebHtmlEditor in my sample..In that ,while uploadig the image using the InsertImage Icon,the image opens in my system ,but it cannot opened in any other systems..how can i resolve this problem.please help me...
That is probably a security problem. Try to modify properties of directory which is used by WebHtmlEditor, like "Share this folder", give "Security" persmission access to ASPX and maybe to Everyone. Look at properties of wwwroot.