Re: Ajax & WYSIWYG text editor

Adam Tuliper <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <[email protected]>
how are you initializing the control? anythign in page_load (also remember
that will get called on ajax post back.. I like to check if the event source
is an ajax control and ignore page_loads if they are my ajax_controls - I
name all my ajax controls starting with ajax... for that reason so I can
ignore themin page load when theres a postback)

is the wysiwig in the same panel or a different panel?



2008/10/7 lior levi <[email protected]>

> The page and the Javascript is the same, only the WYSIWYG text editor and
> its content goes away and empty textBox remaining.
>
> Lior.
>
> -----Original Message-----
> From: Discussion of advanced .NET topics.
> [mailto:[email protected]] On Behalf Of John Warner
>  Sent: Wednesday, October 08, 2008 1:02 AM
> To: [email protected]
> Subject: Re: [ADVANCED-DOTNET] Ajax & WYSIWYG text editor
>
> Then the page and all the Javascript behind the control goes away? Is it
> still there if you view source from the browser?
>
> John Warner
>
>
> > -----Original Message-----
> > From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> > [email protected]] On Behalf Of lior levi
> > Sent: Tuesday, October 07, 2008 6:59 PM
> > To: [email protected]
> > Subject: Re: [ADVANCED-DOTNET] Ajax & WYSIWYG text editor
> >
> > Ajax "post back" not entire page and the WYSIWYG editor becomes regular
> > textBox.
> >
> > Lior.
> >
> >
> >
> > -----Original Message-----
> > From: Discussion of advanced .NET topics.
> > [mailto:[email protected]] On Behalf Of
> > John Warner
> > Sent: Wednesday, October 08, 2008 12:53 AM
> > To: [email protected]
> > Subject: Re: [ADVANCED-DOTNET] Ajax & WYSIWYG text editor
> >
> > Are you doing an Ajax "post back" or a regular post back of the entire
> > page?
> >
> > John Warner
> >
> >
> > > -----Original Message-----
> > > From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> > > [email protected]] On Behalf Of lior levi
> > > Sent: Tuesday, October 07, 2008 6:50 PM
> > > To: [email protected]
> > > Subject: Re: [ADVANCED-DOTNET] Ajax & WYSIWYG text editor
> > >
> > > 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: [email protected]
> > > 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: [email protected]
> > > > Subject: [ADVANCED-DOTNET] Ajax & WYSIWYG text editor
> > > >
> > > > Hello,
> > > >
> > > > I have installed WYSIWYG text editor <http://www.openwebware.com/>
> in
> > > an
> > > > ASP.NET <http://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 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 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.