Click here to Skip to main content
15,903,175 members
Home / Discussions / Web Development
   

Web Development

 
QuestionAnybody know how to make a read-only Iframe? Pin
Darrell Long30-May-10 6:49
Darrell Long30-May-10 6:49 
AnswerRe: Anybody know how to make a read-only Iframe? Pin
Peace ON31-May-10 1:07
Peace ON31-May-10 1:07 
GeneralRe: Anybody know how to make a read-only Iframe? Pin
Darrell Long31-May-10 5:19
Darrell Long31-May-10 5:19 
QuestionDo we still need to support IE6 browsers? Pin
Gregory Gadow28-May-10 4:02
Gregory Gadow28-May-10 4:02 
AnswerRe: Do we still need to support IE6 browsers? Pin
Peace ON28-May-10 6:02
Peace ON28-May-10 6:02 
QuestionUpgration of IE 6 to IE 8 Pin
Rajiya27-May-10 18:37
Rajiya27-May-10 18:37 
AnswerRe: Upgration of IE 6 to IE 8 Pin
Peace ON27-May-10 22:11
Peace ON27-May-10 22:11 
Questionmenu with multiview tab problem [ANY EXPERT CAN SOLVE THIS ...2 EXPERTS FAILED] Pin
mominafiz27-May-10 11:17
mominafiz27-May-10 11:17 
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" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
     <link href="tabstyle.css" rel="stylesheet" type="text/css" />
    <script runat="server">
    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
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
'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" %>
<asp:Content ContentPlaceHolderID="PathologyHeadCPH" runat="server">
    <link href="tabstyle.css" rel="stylesheet" type="text/css" />
    
</asp:Content>

<asp:Content ContentPlaceHolderID="PathologyCPH" runat="server">

    <form id="form1" action="TestStandards.aspx">
    <div>
        <asp:Table ID="maintab" runat="server">
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Table ID="content" runat="server">
                        <asp:TableRow>
                            <asp:TableCell>
                              Test Name:

                            
                            </asp:TableCell>
                            <asp:TableCell>
                                <asp:DropDownList ID="testnameddl" runat="server">
                                </asp:DropDownList>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                               Technique Name:
                            </asp:TableCell>
                            <asp:TableCell>
                                <asp:DropDownList ID="techniqddl" runat="server">
                                </asp:DropDownList>
                            </asp:TableCell>
                        </asp:TableRow>
                    </asp:Table>
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </div>
    <div>
        <asp:Menu ID="teststdmenu" OnMenuItemClick="NavigationMenu_MenuItemClick" BorderWidth="0" Width="150px" runat="server" Orientation="Horizontal"
            StaticMenuItemStyle-CssClass="tab" StaticSelectedStyle-CssClass="selectedTab"
            CssClass="tabs"  Height="16px">
            <Items>
                <asp:MenuItem Text="Pre-Test & Post-Test" Value="0"></asp:MenuItem>
                <asp:MenuItem Text="Procedure & Protocols " Value="1"></asp:MenuItem>
            </Items>
        </asp:Menu>
        <div class="tabContents">
            <asp:Table runat="server" ID="teststdcontenttable">
                <asp:TableRow CssClass="ViewStyle">
                    <asp:TableCell>
                        <asp:MultiView ID="STDmultiview" runat="server">
                            <asp:View ID="pptestview" runat="server" EnableViewState="true">
                                <asp:Table Width="600" Height="400" CellPadding="0" CellSpacing="0" ID="pretesttable"
                                    runat="server">
                                    <asp:TableRow VerticalAlign="top">
                                        <asp:TableCell Width="600px"><br />
                                           <br />
                                            TAB VIEW 1 
                                        </asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow>
                                        <asp:TableCell>
                                            <asp:Button ID="pptestbackbtn" runat="server" Text="BACK" /><asp:Button ID="pptestsearchbtn"
                                                runat="server" Text="SEARCH" /></asp:TableCell>
                                    </asp:TableRow>
                                </asp:Table>
                            </asp:View>
                            <asp:View ID="prprview" runat="server">
                                <asp:Table Width="600" Height="400" CellPadding="0" CellSpacing="0" ID="protocoltable"
                                    runat="server">
                                    <asp:TableRow VerticalAlign="top">
                                        <asp:TableCell Width="600px"><br />
                            <br />
                                    TAB VIEW 2 </asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow>
                                        <asp:TableCell>
                                            <asp:Button ID="prprbackbtn" runat="server" Text="BACK" /><asp:Button ID="prprsearchbtn"
                                                runat="server" Text="SEARCH" /></asp:TableCell>
                                    </asp:TableRow>
                                </asp:Table>
                            </asp:View>
                        </asp:MultiView>
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>
        </div>
    </div>
    </form>
</asp:Content>


modified on Friday, May 28, 2010 5:40 AM

NewsNew plugin for WordPress enables use of Windows Azure Storage Service Pin
pSorvik27-May-10 7:37
pSorvik27-May-10 7:37 
GeneralRe: New plugin for WordPress enables use of Windows Azure Storage Service Pin
Peace ON28-May-10 1:26
Peace ON28-May-10 1:26 
NewsFREE Windows Azure Virtual Boot Camp June 1 to 7 Pin
pSorvik27-May-10 7:34
pSorvik27-May-10 7:34 
QuestionHTML Source Code fragment Appears in Email Pin
office@hempsted-it.co.uk27-May-10 5:54
office@hempsted-it.co.uk27-May-10 5:54 
AnswerRe: HTML Source Code fragment Appears in Email Pin
Not Active27-May-10 6:07
mentorNot Active27-May-10 6:07 
GeneralRe: HTML Source Code fragment Appears in Email Pin
office@hempsted-it.co.uk27-May-10 6:14
office@hempsted-it.co.uk27-May-10 6:14 
AnswerRe: HTML Source Code fragment Appears in Email Pin
T M Gray1-Jun-10 8:56
T M Gray1-Jun-10 8:56 
GeneralRe: HTML Source Code fragment Appears in Email Pin
office@hempsted-it.co.uk1-Jun-10 12:43
office@hempsted-it.co.uk1-Jun-10 12:43 
QuestionLimit File Size or Request Size Pin
tarek.mostafa27-May-10 5:06
tarek.mostafa27-May-10 5:06 
QuestionNavigation CSS Question Pin
Dalek Dave26-May-10 10:54
professionalDalek Dave26-May-10 10:54 
AnswerRe: Navigation CSS Question Pin
User 171649226-May-10 12:01
professionalUser 171649226-May-10 12:01 
GeneralRe: Navigation CSS Question Pin
Dalek Dave26-May-10 12:38
professionalDalek Dave26-May-10 12:38 
GeneralRe: Navigation CSS Question Pin
User 171649226-May-10 13:03
professionalUser 171649226-May-10 13:03 
GeneralRe: Navigation CSS Question Pin
Dalek Dave26-May-10 13:22
professionalDalek Dave26-May-10 13:22 
GeneralRe: Navigation CSS Question Pin
User 171649226-May-10 13:27
professionalUser 171649226-May-10 13:27 
GeneralRe: Navigation CSS Question Pin
Dalek Dave26-May-10 14:02
professionalDalek Dave26-May-10 14:02 
QuestionOpening webpage having stylesheets in masterpage contentplaceholder Pin
mominafiz25-May-10 23:45
mominafiz25-May-10 23:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.