Microsoft Content Management Server - Events not firing on Console Server Control

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > September 2004 > Events not firing on Console Server Control





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Events not firing on Console Server Control
Bob

2004-09-22, 9:47 pm

Hi,

I am trying to convert the Console into a Server Control so I can add all my
favourite extensions to a single control and use it in multiple projects.

All is working OK, except that the Actions which inherit from
BasePostbackAction (for example AuthoringReeditSaveAndExitAction) do not
fire their events on postback.

Does anyone have any experience of doing this, and if so, can you offer any
pointers?

Thanks,
Bob



Glen Wells

2004-09-28, 3:07 am

Often, a reason for this is that your Server Control is not inheriting
INamingContainer. Is that your problem maybe?

One other pointer for you: you get an exception if you try to use an Action
control's ActionJavascript property before you have added it to the
control's Controls collection or child thereof.

--
Glen Wells
www.cubik.co.uk


"Bob" <bob@nospam.net> wrote in message
news:uFpfVN%23nEHA.2340@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> I am trying to convert the Console into a Server Control so I can add all
> my favourite extensions to a single control and use it in multiple
> projects.
>
> All is working OK, except that the Actions which inherit from
> BasePostbackAction (for example AuthoringReeditSaveAndExitAction) do not
> fire their events on postback.
>
> Does anyone have any experience of doing this, and if so, can you offer
> any pointers?
>
> Thanks,
> Bob
>
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com