This is the discussion forum for the HtmlEditor. See also the
HtmlEditor home page, where you can download the control, and the
Documentation Wiki, a collaborative project for documenting the control.
the method Save() has error?
Posted by:
zyj (222.35.46.---)
Date: Thursday, 17-Apr-2008, 12:00:56
the method SaveAs() is ok, but the Save() is invalid????the modified codes are below:
public bool Save(string DefaultPath)
{
return this.execCommand(commandids.IDM_SAVE, DefaultPath, true, true);
}
public bool SaveAs(string DefaultPath)
{
return this.execCommand(commandids.IDM_SAVEAS, DefaultPath, true, true);
}
help me,please!
Re: the method Save() has error?
Posted by: Bug? (222.35.46.---)
Date: Friday, 18-Apr-2008, 03:04:31
I try it, the SaveAs("d:\test.htm") method return true; but the SaveAs("d:\test.htm") method return false.How to fix this problem, is it bug?
Re: the method Save() has error?
Posted by:
zyj (222.35.46.---)
Date: Sunday, 20-Apr-2008, 03:17:55
Tim, I downloaded your project. The method SaveAs() is perfect. In order to implement another method Save(), I added the method Save() by copying codes of SaveAs() as below list:
public bool Save(string DefaultPath)
{
return this.execCommand(commandids.IDM_SAVE, DefaultPath, true, true);
}
but the new method Save() has no effect. So, I tested the new added method Save() many times, I find that the method Save() always return the value of "False" ,are those codes have errors? or some other problems.