473,320 Members | 1,947 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,320 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 18 '05 #1
1 2027
Wow... no one can answer?
"ATJaguarX" <JP********@msn.com> wrote in message
news:%2***************@TK2MSFTNGP11.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 18 '05 #2

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

Similar topics

5
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++...
2
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...
3
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 ...
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...
5
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...
3
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....
5
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...
1
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...
1
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.