Welcome to Dream.In.Code
Getting Help is Easy!

Join 118,309 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,708 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



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

 
Reply to this topicStart new topic

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

rajasreepradeep
post 22 Jul, 2008 - 05:23 AM
Post #1


New D.I.C Head

*
Joined: 23 Jun, 2008
Posts: 10

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.


CODE

<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>

User is offlineProfile CardPM

Go to the top of the page


PsychoCoder
post 22 Jul, 2008 - 05:43 AM
Post #2


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 7,871



Thanked 80 times

Dream Kudos: 8050

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, GDI, Boo.Net

My Contributions


Moved to ASP.NET smile.gif
User is online!Profile CardPM

Go to the top of the page

rajasreepradeep
post 22 Jul, 2008 - 06:11 AM
Post #3


New D.I.C Head

*
Joined: 23 Jun, 2008
Posts: 10

QUOTE(PsychoCoder @ 22 Jul, 2008 - 05:43 AM) *

Moved to ASP.NET smile.gif



I did not understand.smile.gif
User is offlineProfile CardPM

Go to the top of the page

PsychoCoder
post 22 Jul, 2008 - 06:16 AM
Post #4


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 7,871



Thanked 80 times

Dream Kudos: 8050

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, GDI, Boo.Net

My Contributions


I apologize, I didnt see you were trying to access it via JavaScript. Moved to the JavaScript forum smile.gif
User is online!Profile CardPM

Go to the top of the page

rajasreepradeep
post 22 Jul, 2008 - 07:19 AM
Post #5


New D.I.C Head

*
Joined: 23 Jun, 2008
Posts: 10

QUOTE(PsychoCoder @ 22 Jul, 2008 - 06:16 AM) *

I apologize, I didnt see you were trying to access it via JavaScript. Moved to the JavaScript forum smile.gif


ok.plz anybody can help me out
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/10/08 11:49AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month