Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to develop an easy website with 3 pages. I decided to use Master page in Asp.Net. But i have problem with
C#
<a href>
tag. when i use that tag then i get this error
" Microsoft JScript runtime error: Invalid procedure call or argument". How can i fix this ?
here the codes i have
C#
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Sablon.master.cs" Inherits="BasitWebMuhasebe.Sablon" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="CSS.css" rel="stylesheet" />
    <asp:ContentPlaceHolder ID="head" runat="server"></asp:ContentPlaceHolder>
</head>
<body>
    <form id="form1" runat="server">
        <div class="container">
            <div class="banner"></div>
            <div class="navigasyon">
                <ul>
                    <li><a href="#" title="">Anasayfa</a></li>
                    <li><a href="#" title="">Hakkımda</a></li>
                </ul>
            </div>
        </div>

        <div>
            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
            </asp:ContentPlaceHolder>
        </div>

    </form>
</body>
</html>
Posted
Comments
ZurdoDev 30-Jul-14 16:04pm    
It's a javascript error. Where is your javascript?

1 solution

i solved the problem. It was because of the antivirus program. It installed some tools in browser. When i make it disabled then it worked.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900