.NET 2.0, wizard control with dynamic controls

Discussion in 'ASP .Net Web Controls' started by Mark Baker, Dec 12, 2005.

  1. Mark Baker

    Mark Baker Guest

    We're making use of the .NET 2.0 wizard control in our web app. On clicking
    the 'Next' button the data on the current page of the wizard control is
    saved. One of the pages of the wizard contains a user control that renders a
    dynamically created table and various dynamically created web controls to the
    page. The problem comes when we click 'Next' on this page because when the
    user controls save method is called the user control errors as there is no
    reference to the dynamic controls on the page, the reference is gone. Other
    controls on this page of the wizard that do not belong to the user control
    all save fine. We have tested and used the user control on regular .aspx
    pages and the control performs as expected on each occasion. We have
    experience of using user controls and dynamically created controls and are
    aware of the way that the code the produces the web controls must be
    re-parsed on each postback in order for the page to reload each controls view
    state correctly for events such as save routines to work properly, hence I'm
    posting here as I am a bit baffled by what is going on. Any help would be
    appreciated.
     
    Mark Baker, Dec 12, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QmlsbCBHYXV2ZXk=?=

    ASP NET 2.0 Wizard Control - creating dynamic steps

    =?Utf-8?B?QmlsbCBHYXV2ZXk=?=, Oct 17, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,040
    =?Utf-8?B?QmlsbCBHYXV2ZXk=?=
    Oct 17, 2005
  2. Ronald
    Replies:
    2
    Views:
    846
    Robbe Morris [C# MVP]
    Jan 17, 2006
  3. Replies:
    0
    Views:
    605
  4. =?Utf-8?B?U3RldmUgRnVuaw==?=

    Dynamic Wizard with Dynamic Validation Controls

    =?Utf-8?B?U3RldmUgRnVuaw==?=, Oct 13, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    452
    =?Utf-8?B?U3RldmUgRnVuaw==?=
    Oct 13, 2006
  5. Andy B
    Replies:
    0
    Views:
    440
    Andy B
    Apr 19, 2008
Loading...

Share This Page