Click here to Skip to main content
14,695,532 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I have a Wizard (not CreateUserWizard) in a UserControl. The wizard has been placed in an UpdatePanel. When this UserControl is invoked by a web page or another Usercontrol, the following error is returned:

"An extender can't be in a different UpdatePanel than the control it extends."

When the UpdatePanel is removed from the control, of course, the web page that invokes the control is refreshed with each postback and in the case of a usercontrol, both the UserControl and wizard that is called by this UserControl will show simultaneously. For instance, if a web page calls User Control #1, both User Control #1 and User Control #2 (the wizard) will show since the wizard is registered by User Control #1. As a result, the wizard or Usercontrol #2 has to be closed before to getting to UserControl #1.

Wondering if there's a way to include the Wizard in an updatepanel when either a web page or usercontrol that calls the wizard already has an updatepanel?


Any help is appreciated.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900