Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. tagprefix in asp.netwithC#

tagprefix in asp.netwithC#

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mahichandu
    wrote on last edited by
    #1

    Hi i added tag in masterpage and i added same tagprefix & tagname in which i declred globally..just go through my code..i added tagprefix users & tagname Menus.. The error coming like Menus is not a known element... can anyone answer?

    <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="NDIMaster.master.cs" Inherits="NDI.NDIMaster" %>

    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

    <%@ Register TagPrefix="user1" TagName="Menus" Src="~/UserControl/Menus.ascx" %>

    L M 2 Replies Last reply
    0
    • M mahichandu

      Hi i added tag in masterpage and i added same tagprefix & tagname in which i declred globally..just go through my code..i added tagprefix users & tagname Menus.. The error coming like Menus is not a known element... can anyone answer?

      <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="NDIMaster.master.cs" Inherits="NDI.NDIMaster" %>

      <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

      <%@ Register TagPrefix="user1" TagName="Menus" Src="~/UserControl/Menus.ascx" %>

      L Offline
      L Offline
      Leonscape
      wrote on last edited by
      #2

      Erm, I think your missing something from your code, I can't event see a menu tag set.

      Using the wrong tool for the job is half the fun.

      1 Reply Last reply
      0
      • M mahichandu

        Hi i added tag in masterpage and i added same tagprefix & tagname in which i declred globally..just go through my code..i added tagprefix users & tagname Menus.. The error coming like Menus is not a known element... can anyone answer?

        <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="NDIMaster.master.cs" Inherits="NDI.NDIMaster" %>

        <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

        <%@ Register TagPrefix="user1" TagName="Menus" Src="~/UserControl/Menus.ascx" %>

        M Offline
        M Offline
        mahichandu
        wrote on last edited by
        #3

        hey i copied entire design page..it din't display in the webpage... i am just copying other part of my code..follow from above.. i mentioned my menu tag in below..just go through..i can't view this code when i add it in the codeblock..when i removed the tag i can able to view this in the webpage.. i don't know..just go through my menu tag.. div class="header1"user1:Menus runtat="server" vissible="true" id="menu1" / /div plz answer :zzz:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups