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 1599
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=serv er" 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=serv er" 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=serv er" 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=serv er" 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=serv er" 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=serv er" to your <table> > tags. > > -- > > Edge >
"Shawn" <Sh***@discussi ons.microsoft.c om> wrote in message
news:C0******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c om> wrote in message news:C0******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c om> wrote in message
news:C5******** *************** ***********@mic rosoft.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 small or mid-sized business.
http://groups-beta.google.com/group/microsoft.public.msdn.general/browse_thread/thread/9d7e8f9a00c1c7da/459ca99eb0e7c328?q=%22Proposed+MSDN+subscription+changes%22&rnum=1#459ca99eb0e7c328
Damn! To be that...
|
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, data4, data6 and data8 from the above file
and output it to a file delimited by tabs:
data2 data4 data6 data8
|
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 this directory
c:\inetput\wwwroot\testapp
|
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 than the production website.
For example, the local website (running XP Pro) is: http://localhost/webapp. Images are kept in the images subfolder. Because IIS does not recognize subwebs as roots, the local means of refering to an image is...
|
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, running on Windows Advanced
Server 2000 SP4.
Here is my asp code, SQL table create statements, CSV example data and
output. As can be seen by the output, the pc_model and manufacturer fields
display blank although these fields hold text data in...
| |
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 HttpHandler of our
design. This setup serves over a million page views daily with almost no
hassle whatsoever. We have brought a few affiliates onto our system who
have URLs still floating in Google, Y! and other search engines from before
they...
|
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 tag on each page the reference to the
..js file I want to use. Because I want client side includes I make the
reference with <script> tag, for example:
<head runat=server>
<script src="/javascript/test.js" />
</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: www.mysite.com/~mypage.aspx, my web application will
through the following error (with custom errors turned off):
Server Error in '/' Application.
--------------------------------------------------------------------------------
|
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.
However when it is enclosed in an update panel the viewstate for it gets
lost and it contains no data.
|
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,...
|
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...
| |
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...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |