Trying to dynamically add new view into multiview in ajax updatepanel

Last post 11-19-2008 1:00 AM by Vince Xu - MSFT. 2 replies.

Sort Posts:

  • Trying to dynamically add new view into multiview in ajax updatepanel

    11-17-2008, 5:19 AM
    • Member
      26 point Member
    • seajuju
    • Member since 03-28-2006, 2:16 AM
    • Posts 10

    I was trying to dynamically add new view into multiview in ajax updatepanel but the error as below came out. I can see the first view but when clicked button 'Next', error came out: 

    Error:
    ActiveViewIndex is being set to '0'.  It must be smaller than the current number of View controls '0'. For dynamically added views, make sure they are added before or in Page_PreInit event.
    Parameter name: value

    Anyone knows the problem for this error?

  • Re: Trying to dynamically add new view into multiview in ajax updatepanel

    11-19-2008, 12:36 AM
    Answer
    • Member
      26 point Member
    • seajuju
    • Member since 03-28-2006, 2:16 AM
    • Posts 10

    The error already resolved, go to this post for the solution:

    http://forums.asp.net/t/1349410.aspx

  • Re: Trying to dynamically add new view into multiview in ajax updatepanel

    11-19-2008, 1:00 AM
    Answer

    Hi,

    Please check this thread:

    http://forums.asp.net/p/917479/1053417.aspx

     


    Vince Xu
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (3 items)