473,669 Members | 2,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

@ Register User Control Tag Problem

I have an asp.net web application that I'm having problems with. Everytime
I view certain pages in design mode, Sourcesafe asks me to check out the
page because of requested changes. When I go to view the page in design
mode, .Net is switching the user control registration tag with the page
language tag.

Example:

<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Til e.aspx.vb"
Inherits="TileP riceTag"%>
<%@ Register TagPrefix="User Control" TagName="Header " Src="..\Header. ascx"
%>

If I open the page just to view it, it VSS asks me to check out the file so
that it can make the following change:

<%@ Register TagPrefix="User Control" TagName="Header " Src="..\Header. ascx"
%>
<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Til e.aspx.vb"
Inherits="TileP riceTag"%>

It swaps the User Control Registration Tag with the Page Language tag.
Thats fine, but I'll accept the change and check it back in... only to have
VSS ask me to check it out again so that it can swap them back again.

I can even create a BRAND NEW page and the only code I add to it is the user
control registration tag. If I jump between design mode and HTML mode, the
registration tag jumps back and forth with every switch.

ANY HELP would be greatly appreciated.


Nov 18 '05 #1
1 2040
Wow... no one can answer?
"ATJaguarX" <JP********@msn .com> wrote in message
news:%2******** *******@TK2MSFT NGP11.phx.gbl.. .
I have an asp.net web application that I'm having problems with. Everytime I view certain pages in design mode, Sourcesafe asks me to check out the
page because of requested changes. When I go to view the page in design
mode, .Net is switching the user control registration tag with the page
language tag.

Example:

<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Til e.aspx.vb"
Inherits="TileP riceTag"%>
<%@ Register TagPrefix="User Control" TagName="Header " Src="..\Header. ascx"
%>

If I open the page just to view it, it VSS asks me to check out the file so that it can make the following change:

<%@ Register TagPrefix="User Control" TagName="Header " Src="..\Header. ascx"
%>
<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Til e.aspx.vb"
Inherits="TileP riceTag"%>

It swaps the User Control Registration Tag with the Page Language tag.
Thats fine, but I'll accept the change and check it back in... only to have VSS ask me to check it out again so that it can swap them back again.

I can even create a BRAND NEW page and the only code I add to it is the user control registration tag. If I jump between design mode and HTML mode, the registration tag jumps back and forth with every switch.

ANY HELP would be greatly appreciated.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2944
by: Adam McKee | last post by:
We are using Visual Studio.NET 2003 in our project with .NET framework 1.1. One of our libraries is a mixed-mode dll assembly consisting of one managed C++ library, and several unmanaged C++ libraries. We are using managed C++ as a bridge between managed .NET code and unmanaged C++ code, which I'm sure is a fairly common practice. The managed C++ library is compiled with /CLR whereas all other libraries are compiled without /CLR because...
2
2390
by: Kristoffer Arfvidson | last post by:
Ok, so a new question... Im building my page as dynamic as I can... meaning that I have basicly one aspx page that controls everything... so, I solved this by sending different variables to the page depending on where i want to go, eg. www.myserver.com/gotopage.aspx?page=mainpage ok, so, on this gotopage.aspx I have used a lot of usercontrols to show the defferent contents of my pages (to keep the design at one place and the code in...
3
5781
by: ad | last post by:
I download the source of Portal Starter Kit form http://www.asp.net/Default.aspx?tabindex=8&tabid=47 I find there are Register tag in many .aspx, like this HtmlModule.ascx , the first line is <%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%> What does the function of Register tag in .aspx
1
2970
by: ATJaguarX | last post by:
I have an asp.net web application that I'm having problems with. Everytime I view certain pages in design mode, Sourcesafe asks me to check out the page because of requested changes. When I go to view the page in design mode, .Net is switching the user control registration tag with the page language tag. Example: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Tile.aspx.vb" Inherits="TilePriceTag"%>
5
2454
by: serge calderara | last post by:
Dear all, I do not see the difference between Referencing an assembliy for use in my project and Register it on a page ? At the end if I want to use assembly functionnality , I need anyway to add a reference no ?
3
2278
by: Goh | last post by:
Hi, May I know how to register a java script inside the <head> tag not the body? I found only got method that able register at the body like RegisterStartupScript and RegisterClientScriptBlock. I would like to register this script inside user control. and this script must be run when the page is load. Got any method that able to call to solve this problem?
5
1837
by: richard.tallent | last post by:
I'm fond of web controls in ASP.NET, but the need for <@ Register%> blocks at the top of each page is a pain. ASP.NET 2.0 has a way to centrally register controls in the web.config file, but it is poorly documented and appears to be broken. I have added my standard user controls to my web.config file. The MSDN examples are flat wrong, by the way (bad XML case and attribute names, won't compile). The proper syntax for registering server...
1
4777
by: gogo | last post by:
I'm running my (use space)application on kernel complied with debug option. So whenever any user level program recevies segfault , kernel prints Register dump at the time of Segfault having values like PC etc. And program terminates. But recently i observed strange situation , while executing perticular function in my code , kernel goes on printing register dump in while(1) loop . And process continues exicution. So what can be the...
1
4354
George Lft
by: George Lft | last post by:
ok, first of all, i built my register page using dreamweaver tool which the codes haven been out of control. Now i'm thinking that turning over everything - by using this another set of codes. And these new sets of codes have overwhelmed me a bit. Here's the new code: CREATE TABLE `users` ( `ID` int(11) NOT NULL auto_increment, `Username` varchar(255) NOT NULL, `Password` varchar(255) NOT NULL, `Temp_pass` varchar(55)...
0
8465
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
8383
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
8894
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
8803
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8587
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6210
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4206
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
4384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2029
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.