On Nov 20, 2:08 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.NoSpamMaam.comwrote:
Your ActiveViewIndex is hard-coded into the control declaration as "0".
Unless you change this on a postback, that's the view you'll always get.
Maybe you have additional code you haven't posted?
--Peter
"Inside every large program, there is a small program trying to get out."http://www.eggheadcafe.comhttp://petesbloggerama.blogspot.comhttp://www.blogmetafinder.com
"pbd22" wrote:
Hi.
Has anybody seen this?
I have three views in a multivew:
<asp:MultiView runat="server" ID="multiView" ActiveViewIndex="0">
<asp:View runat="server" ID="loginView">
and so on.
The problem is that, when the page loads, the HTML from the INITIAL
view,
the loginView stays. When I view source for other views, it is always
the
loginView HTML.
This is cusing client scripting problems.
Any ides?
Thanks.
yes, sorry (and thanks for replying).
every time i change a view, i change the ActiveViewIndex attribute
from the server.
So, that shouldn't be the problem. Other ideas?
Thanks