473,398 Members | 2,525 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,398 software developers and data experts.

alternative to ResolveUrl()

I'm writing an web element (in fact a ToolbarButtopn for FreeTextBox), which
is not a subclass of SWU.Control.

I need to know the client path for something like:
"~/utils/Gallery.aspx"

In Control I could simple use ResolveUrl() which will convert "~/" to
whatever appropriate, such as
"/MyWebSite" or "/"
But how do I do without ResolveUrl() ?

--
I have taken a vow of poverty. If you want to really piss me off, send me
money.
Jan 29 '06 #1
0 1272

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

Similar topics

99
by: Paul McGuire | last post by:
There are a number of messages on the python-dev mail list that indicate that Guido is looking for some concensus to come from this list as to what *one* alternative syntax for decorators we would...
1
by: Lloyd Sheen | last post by:
I have a weird (at least to those who think the IDE should work) problem. I have in code the following: psFiles = Page.ResolveUrl("/Pictures") This resolves to /Pictures in the code In...
4
by: Lloyd Dupont | last post by:
When I want some app resources I usually write something like: MapPath(ResolveUrl("~/App_Data/MyResource")) How could I do the same thing in a static helper method? I mean MapPath & ResolveUrl...
4
by: SandyIsCool | last post by:
Hi, Can any one let me know what is difference between Server.mappath and Page.resolveURL and what are the situations we use them. Thanks, Sandy
2
by: SandyIsCool | last post by:
Hi I used the below code for an image button image1.imageurl="~/images/image1.jpg"; image1.imageurl=Page.ResolveUrl("~/images/image1.jpg"); Both statements work fine..
3
by: bryanp10 | last post by:
Are there any advantages/disadvantages between these two approaches: <img src="~/images/nav_01.gif" runat="server"> vs. <img src="<%=ResolveUrl("~/images/nav_01.gif")%>"> Are they more or...
6
by: tshad | last post by:
I am finally getting the path to the Current Page using Page.ResolveURL. I am now getting "/jobSeeker/displayCompanyOverview.aspx" which is what I was looking for. But what is the syntax to...
1
by: NightOwl888 | last post by:
I have an older web project that I am trying to update with new .NET 2.0 features. I put new master pages in a subdirectory below the project directory. This particular project runs under IIS...
2
by: Max2006 | last post by:
Hi, Is it possible to have the functionality of ResolveURL within *.ashx files? Thank you,
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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...
0
agi2029
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,...

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.