473,624 Members | 2,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

i have registered user control(.ascx) in masterpage but not able to see it in design

1 New Member
Expand|Select|Wrap|Line Numbers
  1. <%@ Master Language="VB" CodeFile="Admin.master.vb" Inherits="Admin" %>
  2. <%@ Register Src="~/Controls/AdminMenu.ascx" TagName="AdminMenu" TagPrefix="RealEstate" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" >
  5. <head id="Head1" runat="server">
  6.   <title>Home</title>
  7.  
  8. </head>
  9. <body>
  10.   Not able to find out where i have made a mistake. Plz help
  11.  
  12.  
  13.           <img src="App_Data/RealEstate/New Picture.bmp" runat="server" id="imgLogo" alt="Image" style="width: 257px; height: 159px" />
  14.  
  15.       <div id="Content">
  16.         <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
  17.         </asp:ContentPlaceHolder>
  18.       </div>
  19.  
  20.     <div id="Footer" align="center">
  21.       &copy;
  22.     </div>
  23.  
  24. </body>
  25. </html>
Jul 20 '10 #1
1 1658
Frinavale
9,735 Recognized Expert Moderator Expert
You have to register the control on the page where it is going to be used.

In the future, use the title to describe the problem you are facing...and post your question in the thread. If the title and the question are the same, please re-type it in the thread. It is very confusing to just see a bunch of code posted in thread with no question asked.

-Frinny
Jul 20 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2142
by: kbailey | last post by:
what a waste of money. visual studio does not handle user control files - these are files with and ascx extension are are refered to in the help as 'user-authored server controls'. the VS help says to use a text editor to create these controls (i wonder if they'd recommend emacs) - however, web matrix handles these files fine and you can use the designer to alter them.
2
11390
by: C K | last post by:
I am having trouble getting the page_load event to fire from within my usercontrol - my code is below, I'm sure I'm missing something simple. Just your basic web user control - I've just began using them. My aspx page is simple: <%@ Register TagPrefix="TestPoll" TagName="Message" Src="poll.ascx" %> .... <form id="Form1" method="post" runat="server"> <TestPoll:Message runat="server" ID="Message1"/>
6
11276
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header" Src="WebControls/Header.ascx" %> The web user control contains the following server controls
1
4962
by: Srinivas | last post by:
hi I have user control with datagrid and other things,and in page load i am loading the control in to aspx page and iam displaying the page,Now i have a situation where i have to email the result of that page like in html format.i know how to email html page but i dont have any idea how to extract html form string from user control.Please help Thanks in advance srin.
2
3340
by: John Ninan | last post by:
I am creating Dynamic Usercontrol in Asp.net application. In this application I have a combobox(aspx Page). Which contains various items. Based on item selected I am dynamically populating Usercontrols. Problem: When I am populating dynamic user control (ascx) page in Page_load event it works fine for the first list item from combobox. When I change the item in combobox, usercontrols are build properly but value will be same in second...
6
12275
by: grist2mill | last post by:
I want to create a standard tool bar that appears on all pages that is a control. The toolbar has a button 'New'. What I wolud like when the user clicks on 'New' depends on the page they are on. I would like to do this by defining a NewFunc() that is different in each (code-behind) page which is called by the standard 'New' button in the toolbar. How can I get this to work? So far I have the following (which doesnt work). When the user...
2
1685
by: John Blair | last post by:
Hi, I am trying to create a generic page footer control. But whenever i include it in a page it always appears at the top of the page - how do i go about positioning it at the footer - the control is a simple table. code below: Thanks! <TABLE WIDTH="100%" BGCOLOR="#dbeaf5" BORDER="0" CELLSPACING="0" CELLPADDING="0" style=" HEIGHT: 0.5in" id="myheader">
0
1348
by: Jose Walker | last post by:
Hi, I've an application written in ASP.NET 1.1 that uses lots of web user controls (ascx) hosted on a single page (default.aspx) which programatically loads and unloads these user controls. In ASP.NET 1.1 all events postbacks where properly working, once the application is moved ASP.NET 2.0 these events are not raised anymore! I've taken the time to thru the whole application and migrate it properly to
4
2099
by: =?Utf-8?B?Qkw=?= | last post by:
I am in a problem to access user control(.ascx) on a .aspx page the following is my scenario I have following directory structure - Autoboom - workshop -- WSFirst -showroom
0
8234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8172
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8677
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5563
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.