AW: [Rainbowportal-devel] Error - Something to help with
Brought to you by:
danijel_kecman,
manudea
From: Christoph S. <sc...@co...> - 2004-09-28 11:39:31
|
It's: protected System.Web.UI.WebControls.PlaceHolder PlaceHolderHTMLEditor; in CodeBehind... and=20 Rainbow.UI.DataTypes.HtmlEditorDataType h =3D new Rainbow.UI.DataTypes.HtmlEditorDataType(); h.Value =3D moduleSettings["Editor"].ToString(); Beschreibung =3D h.GetEditor(PlaceHolderHTMLEditor, ModuleID, false, portalSettings); In Page_Load... -----Urspr=FCngliche Nachricht----- Von: rai...@li... [mailto:rai...@li...] Im Auftrag von = Mark A. Gregory Gesendet: Dienstag, 28. September 2004 13:09 An: rai...@li... Betreff: RE: [Rainbowportal-devel] Error - Something to help with It is on the aspx page and defined in the class. I have no build errors. Should I create this control using new in the constructor? Thank you Mark -----Original Message----- From: Christoph Schramm [mailto:sc...@co...]=20 Sent: Tuesday, 28 September 2004 8:03 PM To: rai...@li... Subject: AW: [Rainbowportal-devel] Error - Something to help with Mark, check if the HTMLPlaceholder Control exists... there has to be a control = on which the editor is placed... -----Urspr=FCngliche Nachricht----- Von: rai...@li... [mailto:rai...@li...] Im Auftrag von = Mark A. Gregory Gesendet: Dienstag, 28. September 2004 11:12 An: rai...@li... Betreff: [Rainbowportal-devel] Error - Something to help with Here is something that is causing me some grief. If I add a page inherited from AddEditItemPage And launch it using a button on the ModuleTitle This works correctly in my module. If I launch it from a redirect in a button event I get an error at this line DesktopText =3D h.GetEditor(PlaceHolderHTMLEditor, ModuleID, bool.Parse(moduleSettings["ShowUpload"].ToString()), portalSettings); I have checked that portalSettings is valid, and so is ModuleID and=20 bool.Parse(moduleSettings["ShowUpload"].ToString()) returns true I have copied the page from Announcements (yes I changed the guid in the parent) I get told that an object had not been created. What is the problem? I cannot find where the ModuleTitle button fire event is located so cannot debug (in other words look to see if there is something smart happening in the event code). I would appreciate a hint or two.... Thank you Mark ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Rainbowportal-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rainbowportal-devel ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Rainbowportal-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rainbowportal-devel ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Rainbowportal-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rainbowportal-devel |