We help IT Professionals succeed at work.
Get Started

Why can't I see my Multiview control when I run my project?

VBBRett
VBBRett asked
on
342 Views
Last Modified: 2012-05-07
I am trying to figure out why I cannot see my multiview control whenever I run my project.  Here see the code below.  Please tell me what I am doing wrong and why I cannot see my multiview when I run the project and why can't I even see a simple label when i run the project?  Thanks!

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Questionaire.aspx.vb" Inherits="Member_Questionaire" %>

<!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>
</head>
<body style="background-color:White; color:Black;" runat="server">
    <form id="form1" runat="server">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
      ConnectionString="<%$ ConnectionStrings:EmployeeScreeningConnectionString %>" SelectCommand="SELECT QuestionNumber, Question FROM Exam_Question WHERE ExamID = (SELECT ExamID FROM Exam WHERE ActiveExam = 'True') ORDER By QuestionNumber"></asp:SqlDataSource>
    <div id="pagediv" style="width:100%; text-align:center;" runat="server">
        <div id="questionairediv" style="width:50%; margin-left:auto; margin-top:250px; margin-right:auto;" runat="server">
            <asp:Label runat="server">hello</asp:Label>
            <asp:MultiView ID="Multiview1" Visible="true" runat="server">
                <asp:View ID="View1" EnableViewState="true" runat="server">
                    <asp:Label ID="label1" runat="server">Please answer the following questions</asp:Label>
                </asp:View>
            </asp:MultiView>
        </div>        
    </div>
    </form>    
</body>
</html>
Comment
Watch Question
Top Expert 2013
Commented:
This problem has been solved!
Unlock 1 Answer and 11 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE