Perhaps you should register the script WYSIWYG.attach('textBox1')with the
Scriptmanager something like:

ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "WYSIWYG",
"WYSIWYG.attach('textBox1')", true);

Instead of rendering the script yourself.

HTH
// Ryan

2008/10/8 lior levi <[EMAIL PROTECTED]>

> the controls I am posting back have no relation to the WYSIWYG editor.
> It seems like the script WYSIWYG.attach('textBox1') does not render after
> Ajax postbak and the WYSIWYG editor return to a Textbox control.
>
> lior.
>
>
>
> -----Original Message-----
> From: Discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of John Warner
> Sent: Tuesday, October 07, 2008 11:57 PM
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: Re: [ADVANCED-DOTNET] Ajax & WYSIWYG text editor
>
> What control are you posting back via Ajax? If the WYSIWYG control are you
> encoding the post back before wrapping it in XML? What does openwebware
> have to say about the issue?
>
> John Warner
>
>
> > -----Original Message-----
> > From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> > [EMAIL PROTECTED] On Behalf Of lior levi
> > Sent: Tuesday, October 07, 2008 5:53 PM
> > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> > Subject: [ADVANCED-DOTNET] Ajax & WYSIWYG text editor
> >
> > Hello,
> >
> > I have installed WYSIWYG text editor <http://www.openwebware.com/>  in
> an
> > ASP.NET page. (It worked fine)
> >
> > Now I am upgrading the web site to work with Ajax that includes a Script
> > Manager and UpdatePanel.
> >
> > The page loads correctly but when the Ajax postback occurs the page
> returns
> > with just the Textbox and no WYSIWYG text editor control.
> >
> >
> > Any ideas?
> >
> > Regards
> > Lior.
> >
> > ===================================
> > This list is hosted by DevelopMentorR  http://www.develop.com
> >
> > View archives and manage your subscription(s) at
> http://discuss.develop.com
>
> ===================================
> This list is hosted by DevelopMentor.  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>
> ===================================
> This list is hosted by DevelopMentor(R)  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to