sanjayvishu,
In this example,
We should how to pass editor as an object to the dialog.
If you want to pass some other object, please following the step below.
1. Modify ShowMyDialog:
function ShowMyDialog(button)
{
//use CuteEditor_GetEditor(elementinsidetheEditor) to get the cute editor instance
var editor=CuteEditor_GetEditor(button);
var obj = {
editor : editor,
myhtmlcode : "Hello World"
};
//show the dialog page , and pass the editor as newwin.dialogArguments
//(handler,url,args,feature)
var newwin=editor.ShowDialog(null,"My_Custom_Text.html?_rand="+new Date().getTime()
,obj,"dialogWidth:400px;dialogHeight:240px");
}
2. In the dialog, you can get the editor, myhtmlcode using the following method:
var obj =Window_GetDialogArguments(window);
var editor = obj.editor;
var myhtmlcode = obj.myhtmlcode;
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx