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?