Hi,
For a few years, I have been developing each of my clients websites using a
seperate web site (unique IP) to solve problems with relative URL's between
my local dev station and the production server.
Recently, I have needed to collaborate with other developers using Source
Safe. But, in order to get source safe working properly, you really need to
be working in virtual directories of the default web site.
Fine, so I started to convert over sites and began using the "~" character
to resolve images, etc. to the root of the application.
However, certain items such as the "backbround" element of the <TD> and
<table> tags does not provide resolution of the "~" character.
What is the proper method for this scenario?
Shawn Zavoda 10 1583
Shawn wrote: Hi,
For a few years, I have been developing each of my clients websites using a seperate web site (unique IP) to solve problems with relative URL's between my local dev station and the production server.
Recently, I have needed to collaborate with other developers using Source Safe. But, in order to get source safe working properly, you really need to be working in virtual directories of the default web site.
Fine, so I started to convert over sites and began using the "~" character to resolve images, etc. to the root of the application.
However, certain items such as the "backbround" element of the <TD> and <table> tags does not provide resolution of the "~" character.
What is the proper method for this scenario?
Shawn Zavoda
The tilde only works with server controls.
I think it will work if you just add "runat=server" to your <table> tags.
--
Edge
You are correct about the Runat=server problem. However, the table and td
and many other html controls do not support it even then. This is a problem
that I have seen other users have without any resolution.
Thanks!
Shawn
"Edge" wrote: Shawn wrote: Hi,
For a few years, I have been developing each of my clients websites using a seperate web site (unique IP) to solve problems with relative URL's between my local dev station and the production server.
Recently, I have needed to collaborate with other developers using Source Safe. But, in order to get source safe working properly, you really need to be working in virtual directories of the default web site.
Fine, so I started to convert over sites and began using the "~" character to resolve images, etc. to the root of the application.
However, certain items such as the "backbround" element of the <TD> and <table> tags does not provide resolution of the "~" character.
What is the proper method for this scenario?
Shawn Zavoda
The tilde only works with server controls.
I think it will work if you just add "runat=server" to your <table> tags.
--
Edge
Hello Shawn,
The ~ character only works with runat=server controls that use the Page.ResolveUrl
method to resolve the url.
--
Matt Berther http://www.mattberther.com You are correct about the Runat=server problem. However, the table and td and many other html controls do not support it even then. This is a problem that I have seen other users have without any resolution.
Thanks!
Shawn
"Edge" wrote:
Shawn wrote:
Hi,
For a few years, I have been developing each of my clients websites using a seperate web site (unique IP) to solve problems with relative URL's between my local dev station and the production server.
Recently, I have needed to collaborate with other developers using Source Safe. But, in order to get source safe working properly, you really need to be working in virtual directories of the default web site.
Fine, so I started to convert over sites and began using the "~" character to resolve images, etc. to the root of the application.
However, certain items such as the "backbround" element of the <TD> and <table> tags does not provide resolution of the "~" character.
What is the proper method for this scenario?
Shawn Zavoda The tilde only works with server controls.
I think it will work if you just add "runat=server" to your <table> tags.
--
Edge
Hi Matt,
Yes, I realize that - that was the reason for the origial post. If the
tilde will not work for the <table> and <td> tags, how is a developer suppose
to implement the Miscrosoft recommended development environment and use
SourceSafe which requires that all ASP.net projects exists under the default
website as virtual web sites?
Without some way to reference the application root rather than the web root,
the application cannot be developed at that location.
PS: I was hoping a Microsoft official was going to monitor these threads
and provide responses as what I thought was stated on their MSDN Subscriber
pages - I am looking to use up a case for this crazy problem....
Thanks.
Shawn
"Matt Berther" wrote: Hello Shawn,
The ~ character only works with runat=server controls that use the Page.ResolveUrl method to resolve the url.
-- Matt Berther http://www.mattberther.com
You are correct about the Runat=server problem. However, the table and td and many other html controls do not support it even then. This is a problem that I have seen other users have without any resolution.
Thanks!
Shawn
"Edge" wrote:
Shawn wrote:
Hi,
For a few years, I have been developing each of my clients websites using a seperate web site (unique IP) to solve problems with relative URL's between my local dev station and the production server.
Recently, I have needed to collaborate with other developers using Source Safe. But, in order to get source safe working properly, you really need to be working in virtual directories of the default web site.
Fine, so I started to convert over sites and began using the "~" character to resolve images, etc. to the root of the application.
However, certain items such as the "backbround" element of the <TD> and <table> tags does not provide resolution of the "~" character.
What is the proper method for this scenario?
Shawn Zavoda
The tilde only works with server controls.
I think it will work if you just add "runat=server" to your <table> tags.
--
Edge
Hello Shawn,
Is there a reason why you cant use <asp:table>? This should provide the ~
resolution you're looking for.
--
Matt Berther http://www.mattberther.com Hi Matt,
Yes, I realize that - that was the reason for the origial post. If the tilde will not work for the <table> and <td> tags, how is a developer suppose to implement the Miscrosoft recommended development environment and use SourceSafe which requires that all ASP.net projects exists under the default website as virtual web sites?
Without some way to reference the application root rather than the web root, the application cannot be developed at that location.
PS: I was hoping a Microsoft official was going to monitor these threads and provide responses as what I thought was stated on their MSDN Subscriber pages - I am looking to use up a case for this crazy problem....
Thanks.
Shawn
"Matt Berther" wrote:
Hello Shawn,
The ~ character only works with runat=server controls that use the Page.ResolveUrl method to resolve the url.
-- Matt Berther http://www.mattberther.com You are correct about the Runat=server problem. However, the table and td and many other html controls do not support it even then. This is a problem that I have seen other users have without any resolution.
Thanks!
Shawn
"Edge" wrote:
Shawn wrote:
> Hi, > > For a few years, I have been developing each of my clients > websites using a seperate web site (unique IP) to solve problems > with relative URL's between my local dev station and the > production server. > > Recently, I have needed to collaborate with other developers using > Source Safe. But, in order to get source safe working properly, > you really need to be working in virtual directories of the > default web site. > > Fine, so I started to convert over sites and began using the "~" > character to resolve images, etc. to the root of the application. > > However, certain items such as the "backbround" element of the > <TD> and <table> tags does not provide resolution of the "~" > character. > > What is the proper method for this scenario? > > Shawn Zavoda > The tilde only works with server controls.
I think it will work if you just add "runat=server" to your <table> tags.
--
Edge
Hi,
The main issue with that is that I have existing sites that need to be
copied into this framework model that are quite large. Manually updating
hundreds of pages would be very costly.
There is that additional problem of non-standard controls such as flash
movies, etc.
I am going to call MSoft on this today or tomorrow to see what they have to
recommend.
How are you setup in your development environment? My previous workaround
was always to reate a physicial website with unique IP for each dev prokect.
But, with Source Safe, this is not allowed.....
Thanks!!
Shawn
"Matt Berther" wrote: Hello Shawn,
Is there a reason why you cant use <asp:table>? This should provide the ~ resolution you're looking for.
-- Matt Berther http://www.mattberther.com
Hi Matt,
Yes, I realize that - that was the reason for the origial post. If the tilde will not work for the <table> and <td> tags, how is a developer suppose to implement the Miscrosoft recommended development environment and use SourceSafe which requires that all ASP.net projects exists under the default website as virtual web sites?
Without some way to reference the application root rather than the web root, the application cannot be developed at that location.
PS: I was hoping a Microsoft official was going to monitor these threads and provide responses as what I thought was stated on their MSDN Subscriber pages - I am looking to use up a case for this crazy problem....
Thanks.
Shawn
"Matt Berther" wrote:
Hello Shawn,
The ~ character only works with runat=server controls that use the Page.ResolveUrl method to resolve the url.
-- Matt Berther http://www.mattberther.com You are correct about the Runat=server problem. However, the table and td and many other html controls do not support it even then. This is a problem that I have seen other users have without any resolution.
Thanks!
Shawn
"Edge" wrote:
> Shawn wrote: > >> Hi, >> >> For a few years, I have been developing each of my clients >> websites using a seperate web site (unique IP) to solve problems >> with relative URL's between my local dev station and the >> production server. >> >> Recently, I have needed to collaborate with other developers using >> Source Safe. But, in order to get source safe working properly, >> you really need to be working in virtual directories of the >> default web site. >> >> Fine, so I started to convert over sites and began using the "~" >> character to resolve images, etc. to the root of the application. >> >> However, certain items such as the "backbround" element of the >> <TD> and <table> tags does not provide resolution of the "~" >> character. >> >> What is the proper method for this scenario? >> >> Shawn Zavoda >> > The tilde only works with server controls. > > I think it will work if you just add "runat=server" to your <table> > tags. > > -- > > Edge >
"Shawn" <Sh***@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com... Hi,
The main issue with that is that I have existing sites that need to be copied into this framework model that are quite large. Manually updating hundreds of pages would be very costly.
There is that additional problem of non-standard controls such as flash movies, etc.
I am going to call MSoft on this today or tomorrow to see what they have to recommend.
How are you setup in your development environment? My previous workaround was always to reate a physicial website with unique IP for each dev prokect. But, with Source Safe, this is not allowed.....
Actually, it's VS.NET that has a problem with that, not SourceSafe. Have you
seen the following (I've probably posted this already):
Team Development with Visual Studio .NET and Visual SourceSafe
( http://msdn.microsoft.com/library/de...asp?frame=true)
What I usually do is develop a site as http://localhost./site (using tilde)
then deploying to http://site.company.com/.
John Saunders
Hi John,
Yes - I did check out that site to some degree, although I admit not in full
depth.
My goal to to do the same procedure as you have mentioned. But, how are you
able to handle the problems with tilde when it comes to controls such as
<table>, <td>, flash movies, etc. that do not evalulate the tilde even when
the runat=server attribute is used?
The previous post recommended that I use the ASP:Table model, which would
require a great re-code effort, but could be a work around, however still
leaves Flash Movie controls and others that have no Server Control
implementations.
PS: I understood that the problem was not with SourceSafe per sae, just
that it was not a problem until I began to use sourcesafe....
Thanks!!
Shawn
"John Saunders" wrote: "Shawn" <Sh***@discussions.microsoft.com> wrote in message news:C0**********************************@microsof t.com... Hi,
The main issue with that is that I have existing sites that need to be copied into this framework model that are quite large. Manually updating hundreds of pages would be very costly.
There is that additional problem of non-standard controls such as flash movies, etc.
I am going to call MSoft on this today or tomorrow to see what they have to recommend.
How are you setup in your development environment? My previous workaround was always to reate a physicial website with unique IP for each dev prokect. But, with Source Safe, this is not allowed.....
Actually, it's VS.NET that has a problem with that, not SourceSafe. Have you seen the following (I've probably posted this already):
Team Development with Visual Studio .NET and Visual SourceSafe (http://msdn.microsoft.com/library/de...asp?frame=true)
What I usually do is develop a site as http://localhost./site (using tilde) then deploying to http://site.company.com/.
John Saunders
"Shawn" <Sh***@discussions.microsoft.com> wrote in message
news:C5**********************************@microsof t.com... Hi John,
Yes - I did check out that site to some degree, although I admit not in full depth.
My goal to to do the same procedure as you have mentioned. But, how are you able to handle the problems with tilde when it comes to controls such as <table>, <td>, flash movies, etc. that do not evalulate the tilde even when the runat=server attribute is used?
Actually, I cheated. I had actually started using "~" before Microsoft had
documented it. I borrowed it from Unix. My implementation had forms like
~foo/, which would look up "foo" in the web.config and plug it in, as well
as ~/, which looked up a default value from web.config and plugged it in. In
order to do that, I already had code to iterate through all server controls
on the page looking for "~" and replacing it with the calculated value.
This included <table>, <tr> and <td>, as well as style attributes.
The previous post recommended that I use the ASP:Table model, which would require a great re-code effort
I found it useful to learn how to use the Replace In Files functionality in
VS.NET to do global replacements like this.
but could be a work around, however still leaves Flash Movie controls and others that have no Server Control implementations.
I've never used Flash. How are Flash movies embedded in the HTML? With
<object> tags? If so, try <object runat="server">.
John Saunders
Thanks for the reply, John.
I see your solution - unfortunately, another workaround. I have to hope in
my heart that the developers at MS are using a more HTML friendly solution
for their environment setup. I am not thrilled with having to use server
controls in places that they are not needed - why have the extra overhead to
evaluate and convert to HTML?
The flash movies are in the <object> tags format, however, like the <table>
tag, the tilde is not evaluated.
I will call MS today before I start spending valuable time and money
converting sites. I will post their feedback here as soon as I have it.
Shawn
"John Saunders" wrote: "Shawn" <Sh***@discussions.microsoft.com> wrote in message news:C5**********************************@microsof t.com... Hi John,
Yes - I did check out that site to some degree, although I admit not in full depth.
My goal to to do the same procedure as you have mentioned. But, how are you able to handle the problems with tilde when it comes to controls such as <table>, <td>, flash movies, etc. that do not evalulate the tilde even when the runat=server attribute is used?
Actually, I cheated. I had actually started using "~" before Microsoft had documented it. I borrowed it from Unix. My implementation had forms like ~foo/, which would look up "foo" in the web.config and plug it in, as well as ~/, which looked up a default value from web.config and plugged it in. In order to do that, I already had code to iterate through all server controls on the page looking for "~" and replacing it with the calculated value.
This included <table>, <tr> and <td>, as well as style attributes.
The previous post recommended that I use the ASP:Table model, which would require a great re-code effort
I found it useful to learn how to use the Replace In Files functionality in VS.NET to do global replacements like this.
but could be a work around, however still leaves Flash Movie controls and others that have no Server Control implementations.
I've never used Flash. How are Flash movies embedded in the HTML? With <object> tags? If so, try <object runat="server">.
John Saunders This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jim Hubbard |
last post by:
It seems that Microsoft not only does not need the classic Visual Basic
developer army (the largest army of developers the world has ever seen), but
now they don't need ANY Windows developer at a...
|
by: monte |
last post by:
Hello, I need to parse a tilde delimited file and output it to a
tabbed delimited file. Example file example.txt
data1~data2~data3~data4
data5~data6~data7~data8
I need to extract data2,...
|
by: Girish |
last post by:
hey all,
im building a asp.net project in vs.net. Is there a way to have the
codebehind files sit in a different folder outside the website folder
altogether?
example:
The aspx files are in...
|
by: John Tacke |
last post by:
When developing ASP.NET apps using Microsoft's recommended isolated model (develop on your local iis), there are deployement reference problems because the local website is generally one level deeper...
|
by: Sunny |
last post by:
I am using an asp page to access data stored by Microsoft SQL in a SQL server
database. I cannot get all values to return, some display as blanks.
I am using IIS v5, Microsoft SQL Server 2000,...
|
by: Jared Tullis |
last post by:
We have an .NET 1.1 application running on 4 2K3 load balanced servers
(using WLBS). IIS has the .NET aspnet_isapi.dll mapped as a wildcard
application map. The web.config points *.html to a...
|
by: otto |
last post by:
Hi, all:
I have a problem with the inclusion of .js files in mu .aspx pages when
using Master Pages. I try to explain it. If I make a web project without
master pages I simply put in the head...
|
by: =?Utf-8?B?QWxm?= |
last post by:
Hello all,
I am having trouble dealing with ~(tilde) in my .Net 1.1 web application,
specially when it comes through the URL. For example, when someone requests
the following URL:...
|
by: kurt sune |
last post by:
Hi all,
I have a custom control that Inherits WebControl, Implements
INamingContainer and Implements IPostBackDataHandler
It works flawlessly on a page that does not have an update panel.
...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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...
|
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,...
|
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...
| |