473,394 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

@ 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="Tile.aspx.vb"
Inherits="TilePriceTag"%>
<%@ Register TagPrefix="UserControl" 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="UserControl" TagName="Header" Src="..\Header.ascx"
%>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Tile.aspx.vb"
Inherits="TilePriceTag"%>

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 21 '05 #1
1 2951
Wow... no one can answer?
"ATJaguarX" <JP********@msn.com> wrote in message
news:eR**************@TK2MSFTNGP10.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="Tile.aspx.vb"
Inherits="TilePriceTag"%>
<%@ Register TagPrefix="UserControl" 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="UserControl" TagName="Header" Src="..\Header.ascx"
%>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Tile.aspx.vb"
Inherits="TilePriceTag"%>

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 21 '05 #2

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

Similar topics

0
by: Mark | last post by:
Hi, I have created a custom user control that includes a dynamically created drop down list populated with data from a database. The control class contains a BindList routine that is used to...
2
by: Jakub Gutkowski | last post by:
Hi, Dose anybody knows how to call JavaScript function in C# Windows User Control? I use Windows User Control as smth like ActiveX, 'coz I need to call
0
by: Yoshi | last post by:
Hello - I am having this strange problem. I created a user control with several text boxes on it. I then place my user control on another form to use it. It looks great but I can't type in the...
0
by: VB Programmer | last post by:
I have a user control that has a drop down list. Initially it has no items. The items are loaded into the drop down list in the Page_Load event of the user control. Basically if...
1
by: Kris van der Mast | last post by:
Hi, been a while since I posted a question myself instead of trying to help others out. I'm refactoring an existing web app that uses dynamic loading of user controls and a lot of...
1
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...
2
by: tshad | last post by:
This is related to my other Hiding datalistitems problem that I can't seem to solve. I have tried different methods which all seem to work only partially. I decided to try to use a User...
1
by: Steve Booth | last post by:
I have a web form containing a button that when selected adds a user control to a place holder. The user control contains a button. The first time the user control is added the contained button...
1
by: ss | last post by:
Hi Friends, In an aspx page ,i am having a header user control containing a search text box,with a "Go" button. In the page i am having a login page containg text boxes for userid and...
1
by: yoknows | last post by:
Hello .Net Gurus. This is my first post here so I apologize in advance if I have not provided the right information. I hope someone has seen this problem before and can tell me what I am doing...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...

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.