menu with multiview tab problem [ANY EXPERT CAN SOLVE THIS ...2 EXPERTS FAILED]
-
hi. i have created a page having menu and multiview. this i used to create a tabs and on clicking on tab raises an onMenuItemClick event. this event i have placed it in vb script. when i run this page it works perfectly...and clicking on tabs shows me the content of that tab. but when i connect this page with masterpage and instead of writing script in the webpage...i wrote it in .vb codefile and tried to run the page...but surprisingly on clicking on tab takes me to home pages which is my default.aspx. when i put breakpoints on menuclick event in .vb codefile and then tried to debug the page it doesnt raise any event on tab click because it doesnt reaches the breakpoint. dont know what wrong with the code. here are is the .aspx page not linked to masterpage
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm7.aspx.vb" Inherits="PATHOLOGY.WebForm7" %>
Sub NavigationMenu\_MenuItemClick(ByVal sender As Object, \_ ByVal e As MenuEventArgs) 'STDmultiview.ActiveViewIndex = Int32.Parse(e.Item.Value) If e.Item.Value = "0" Then STDmultiview.ActiveViewIndex = "0" Else STDmultiview.ActiveViewIndex = "1" End If End Sub
'same as latter section div
here is the master page linked page:
<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Pathology.Master" CodeBehind="TestStandards.aspx.vb"
Inherits="PATHOLOGY.TestStandards" %>Test Name: