Welcome to Dream.In.Code
Become an Expert!

Join 150,240 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,334 people online right now. Registration is fast and FREE... Join Now!




Too many characters in character literal

 
Reply to this topicStart new topic

Too many characters in character literal

pietervdl
15 Nov, 2007 - 09:31 PM
Post #1

New D.I.C Head
*

Joined: 9 Oct, 2007
Posts: 15


My Contributions
Good day all,
I am getting this character error, and I do not know where the problem is .
Also My frame does not align correctly on my page.It must align fully in the white space.
Can anyone please help me with this 2 problems.
It would be very much appreciated.
Thanx

CODE


<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Home.aspx.cs" Inherits="_Default" %>

<html>
<head runat="server">
    <title>Invocom Meeting System</title>
    <link runat="server" href="Theme/ColorSheet.css" type="text/css" rel="stylesheet" />
</head>
<body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
    <form id="form1" runat="server">
    <div>  
        <asp:Table runat="server" Width="100%" CellPadding="0" CellSpacing="0">
            <asp:TableRow>
                <asp:TableCell Width="50%" Height="15%" HorizontalAlign="left">
                    <asp:Image runat="server" ImageUrl="~/Images/sasol_logo_anim.gif" />
                </asp:TableCell>
                <asp:TableCell Width="50%" Height="15%" HorizontalAlign="Right" ColumnSpan="7">
                    <asp:Image runat="server" ImageUrl="~/Images/Invocom.jpg" />
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                
                <asp:TableCell Width ="80%" Height="1%" CssClass="title" HorizontalAlign="right" ColumnSpan="2">Invocom Meeting System
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell ColumnSpan="2" Width="100%">
                    <asp:Table runat="server" Width="100%" CellPadding="0" CellSpacing="0">
                        <asp:TableRow>
                            <asp:TableCell Width="12%" cssclass="linksToNet" HorizontalAlign="left">
                                <a href="http://intwww.sasol.com" target="_blank">Sasol Intranet</a> | <a href="http://www.sasol.com" target="_blank">Sasol Internet</a>
                            </asp:TableCell>
                            <asp:TableCell Width="11%" cssclass="topmenuItem" ID="tdHome" runat="server">
                                <asp:Button runat="server" ID="btnHome" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF" Text="Home" OnClick="click_Home('Home')"/>
                            </asp:TableCell>
                            <asp:TableCell Width="11%" cssclass="topmenuItem" ID="tdOther" runat="server">
                                <asp:Button runat="server" ID="btnOther" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF" Text="Other" OnClick="click_Other('Other')"/>
                            </asp:TableCell>
                            <asp:TableCell Width="11%" cssclass="topmenuItem" ID="tdStuff" runat="server">
                                <asp:Button runat="server" ID="btnStuff" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF" Text="Stuff" OnClick="click_Stuff('Stuff')"/>
                            </asp:TableCell>
                            <asp:TableCell Width="11%" cssclass="topmenuItem" ID="tdContactUs" runat="server">
                                <asp:Button runat="server" ID="ContactUs" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF" Text="Contact Us" OnClick="click_ContactUs('ContactUs')"/>
                            </asp:TableCell>
                            <asp:TableCell Width="11%" cssclass="topmenuItem" ID="tdHelp" runat="server">
                                <asp:Button runat="server" ID="Help" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF" Text="Help" OnClick="click_Help('Help')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                    </asp:Table>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell Height="70%" VerticalAlign="top">
                    <asp:Table width="19%" CellPadding="0" CellSpacing="0" runat="server">
                        <asp:TableRow>
                            <asp:TableCell Width="15%" Height="1%" CssClass="mainmenuItem" HorizontalAlign="Center">Results
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdScorecardTrends" runat="server">
                                <asp:Button runat="server" ID="btnScorecardTrends" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Scorecard/Trends" OnClick="click_ScorecardTrends('ScorecardTrends')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdPreviousMeeting" runat="server">
                                <asp:Button runat="server" ID="btnPreviousMeeting" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Previous Meeting" OnClick="click_PreviousMeeting('PreviousMeeting')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdCurrentMeeting" runat="server">
                                <asp:Button runat="server" ID="btnCurrentMeeting" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Current Meeting" OnClick="click_CurrentMeeting('CurrentMeeting')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdFocusTopicRegister" runat="server">
                                <asp:Button runat="server" ID="btnFocusTopicRegister" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Focus Topic Register" OnClick="click_FocusTopicRegister('FocusTopicRegister')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdParkingBay" runat="server">
                                <asp:Button runat="server" ID="btnParkingBay" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Parking Bay" OnClick="click_ParkingBay('ParkingBay')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdInnovationBay" runat="server">
                                <asp:Button runat="server" ID="btnInnovationBay" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Innovation Bay" OnClick="click_InnovationBay('InnovationBay')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" Height="1%" CssClass="mainmenuItem" HorizontalAlign="Center">Context
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdAlignmentMaps" runat="server">
                                <asp:Button runat="server" ID="btnAlignmentMaps" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Alignment Maps" OnClick="click_AlignmentMaps('AlignmentMaps')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdEducationalTopicRegister" runat="server">
                                <asp:Button runat="server" ID="btnEducationalTopicRegister" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Educational Topic Register" OnClick="click_EducationalTopicRegister('EducationalTopicRegister')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdRecognitionBay" runat="server">
                                <asp:Button runat="server" ID="btnRecognitionBay" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Recognition Bay" OnClick="click_RecognitionBay('RecognitionBay')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdMeetingRegister" runat="server">
                                <asp:Button runat="server" ID="btnMeetingRegister" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Meeting Register" OnClick="click_MeetingRegister('MeetingRegister')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" Height="1%" CssClass="mainmenuItem" HorizontalAlign="Center">Support
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdSkillsMatrix" runat="server">
                                <asp:Button runat="server" ID="btnSkillsMatrix" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Skills Matrix" OnClick="click_SkillsMatrix('SkillsMatrix')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdInvocomRules" runat="server">
                                <asp:Button runat="server" ID="btnInvocomRules" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="INVOCOM Rules" OnClick="click_InvocomRules('InvocomRules')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdBStyleLeadership" runat="server">
                                <asp:Button runat="server" ID="btnBStyleLeadership" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="B-Style Leadership" OnClick="click_BStyleLeadership('BStyleLeadership')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdValues" runat="server">
                                <asp:Button runat="server" ID="btnValues" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF"  Text="Values" OnClick="click_Values('Values')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell Width="15%" cssclass="topmenuItem" ID="tdInvocomAgenda" runat="server">
                                <asp:Button runat="server" ID="btnInvocomAgenda" Width="100%" Height="1%" BorderStyle="Solid" BackColor="#CCCCCC" ForeColor="#3333FF" Text="INVOCOM Agenda" OnClick="click_InvocomAgenda('InvocomAgenda')"/>
                            </asp:TableCell>
                        </asp:TableRow>
                    </asp:Table>
                </asp:TableCell>
                    <asp:TableCell Width="100%">
                        <iframe width="100%" height="100%" id="fraMain" src="something.com" frameborder="0" style="border:solid 1px #666666"></iframe>
                    </asp:TableCell>
            </asp:TableRow>
          </asp:Table>
        <asp:Table runat="server" Width="100%" CellPadding="0" CellSpacing="0">
            <asp:TableRow>
                <asp:TableCell Width="100%" Height="1%" CssClass="copyright" HorizontalAlign="center" ColumnSpan="3">Copy Right &copy; Sasol Limited 2007 Developed by Business Connexion</asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    
    </div>
    </form>
    
    <script language="javascript" type="text/javascript">
    
        var myFrame;
        myframe = document.all.fraMain;
        
        function click_Home(Page)
        {
            if(Page =="Home")
                myframe.src = "Home.aspx";
        }
        
        function click_PreviousMeetings(Page)
        {
            if(Page =="PreviousMeeting")
                myframe.src = "PreviousMeeting.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_CurrentMeeting(Page)
        {
            if(Page =="CurrentMeeting")
                myframe.src = "CurrentMeeting.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_FocusTopicRegister(Page)
        {
            if(Page =="FocusTopicRegister")
                myframe.src = "FocusTopicRegister.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_ScorecardTrends(Page)
        {
            if(Page =="ScorecardTrends")
                myframe.src = "ScorecardTrends.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_ParkingBay(Page)
        {
            if(Page =="ParkingBay")
                myframe.src = "ParkingBay.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_InnovationBay(Page)
        {
            if(Page =="InnovationBay")
                myframe.src = "InnovationBay.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_AlignmentMaps(Page)
        {
            if(Page =="AlignmentMaps")
                myframe.src = "AlignmentMaps.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_EducationalTopicRegister(Page)
        {
            if(Page =="EducationalTopicRegister")
                myframe.src = "EducationalTopicRegister.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_RecognitionBay(Page)
        {
            if(Page =="RecognitionBay")
                myframe.src = "RecognitionBay.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_MeetingRegister(Page)
        {
            if(Page =="MeetingRegister")
                myframe.src = "MeetingRegister.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_SkillsMatrix(Page)
        {
            if(Page =="SkillsMatrix")
                myframe.src = "SkillsMatrix.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_InvocomRules(Page)
        {
            if(Page =="InvocomRules")
                myframe.src = "InvocomRules.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_BStyleLeadership(Page)
        {
            if(Page =="BStyleLeadership")
                myframe.src = "BStyleLeadership.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_Values(Page)
        {
            if(Page =="Values")
                myframe.src = "Values.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_InvocomAgenda(Page)
        {
            if(Page =="InvocomAgenda")
                myframe.src = "InvocomAgenda.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_Other(Page)
        {
            if(Page =="Other")
                myframe.src = "Other.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_Stuff(Page)
        {
            if(Page =="Stuff")
                myframe.src = "Stuff.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_ContactUs(Page)
        {
            if(Page =="ContactUs")
                myframe.src = "ContactUs.aspx";
            else
                myframe.src = "Home.aspx";
        }
        
        function click_Help(Page)
        {
            if(Page =="Help")
                myframe.src = "Help.aspx";
            else
                myframe.src = "Home.aspx";
        }
  
    </script>
</body>
</html>
                

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 06:24AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month