asp:multiview - not able to access controls in different asp:views fro

asp:multiview - not able to access controls in different asp:views fro

Page 1 of 1

4 Replies - 3485 Views - Last Post: 22 July 2008 - 07:19 AM

#1 rajasreepradeep  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 23-June 08

asp:multiview - not able to access controls in different asp:views fro

Posted 22 July 2008 - 05:23 AM

Hi,

I have a multi view with 3 asp:Views in a content page of a Master Page.

Each View contains a set of controls.

I want to validate the controls in all the tabs in a button click ( this button is common for all the 3 Tabs).

If I am in the View 1 : then the controls in that view will be able to access ,

if I am in the View2 ,the controls in the View1 will not be accessable from the javascript.

Please see the aspx page below.

Please help.


<asp:Menu 

		 id="menuSiteUpdate"

		 Orientation="Horizontal" 

		 Width="168px" 

		 OnMenuItemClick="menuSiteUpdate_MenuItemClick"

		 Runat="server">

		 <Items>

				  <asp:MenuItem Text="" ImageUrl="~/Images/General.gif" Value="0" />

				  <asp:MenuItem Text="" ImageUrl="~/Images/Study Specific.gif" Value="1" />

				  <asp:MenuItem Text="" ImageUrl="~/Images/Material Management.gif" Value="2" /> 

		</Items>

</asp:Menu>

<asp:MultiView runat="server" ID="mvSiteUpdate" ActiveViewIndex = "0" > 

<asp:View ID="vStudy" runat="server" >

</asp:View>

<asp:View ID="vMaterial" runat="server" >

</asp:View>

</MultiView>



Is This A Good Question/Topic? 0
  • +

Replies To: asp:multiview - not able to access controls in different asp:views fro

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1619
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: asp:multiview - not able to access controls in different asp:views fro

Posted 22 July 2008 - 05:43 AM

Moved to ASP.NET :)
Was This Post Helpful? 0
  • +
  • -

#3 rajasreepradeep  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 23-June 08

Re: asp:multiview - not able to access controls in different asp:views fro

Posted 22 July 2008 - 06:11 AM

View PostPsychoCoder, on 22 Jul, 2008 - 05:43 AM, said:

Moved to ASP.NET :)



I did not understand.:)
Was This Post Helpful? 0
  • +
  • -

#4 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1619
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: asp:multiview - not able to access controls in different asp:views fro

Posted 22 July 2008 - 06:16 AM

I apologize, I didnt see you were trying to access it via Javascript. Moved to the Javascript forum :)
Was This Post Helpful? 0
  • +
  • -

#5 rajasreepradeep  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 23-June 08

Re: asp:multiview - not able to access controls in different asp:views fro

Posted 22 July 2008 - 07:19 AM

View PostPsychoCoder, on 22 Jul, 2008 - 06:16 AM, said:

I apologize, I didnt see you were trying to access it via Javascript. Moved to the Javascript forum :)


ok.plz anybody can help me out
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1