473,770 Members | 2,781 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Driving me nuts...

It seems all of the sudden that user controls that
contain images are referencing image sources relative to
the document that I drop the control on. This obviously
does not work beacuase the image source is relative to
the user control, not necessarily the form. Can anyone
tell me why this would be the case?
Nov 17 '05 #1
12 1614
FWIW, this drives me nuts too!

This is how I do it for asp image, after dropping the control on the page
(or user control) I change the ImageUrl to something like
"~/'images/mypicture.jpg"

For an IMG html control I use src="<%=Resolve Url("~/image/mypicture.jpg") %>"

The drawback to both of these is you don't get to see the actual image in
design mode, only the place marker.

HTH
Brian W

"Marty" <an*******@disc ussions.microso ft.com> wrote in message
news:00******** *************** *****@phx.gbl.. .
It seems all of the sudden that user controls that
contain images are referencing image sources relative to
the document that I drop the control on. This obviously
does not work beacuase the image source is relative to
the user control, not necessarily the form. Can anyone
tell me why this would be the case?

Nov 17 '05 #2
Marty,

I'm a bit confused. The URL to the image will have to be relative to the
Webform onto which your user control is placed. If not, the image link
will be broken.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Marty" <an*******@disc ussions.microso ft.com>
Sender: "Marty" <an*******@disc ussions.microso ft.com>
Subject: Driving me nuts...
Date: Mon, 10 Nov 2003 11:07:37 -0800
Lines: 6
Message-ID: <00************ *************** *@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcOnvefxXWxzEBR 1RRmi3tV9aszCgw ==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Path: cpmsftngxa06.ph x.gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1898 10
NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

It seems all of the sudden that user controls that
contain images are referencing image sources relative to
the document that I drop the control on. This obviously
does not work beacuase the image source is relative to
the user control, not necessarily the form. Can anyone
tell me why this would be the case?


Nov 17 '05 #3
This is exactly the problem

When placing an image control on a UserControl the path assigned to the
image will be relative to the user control which is not necessarily the same
as the webform the user control is placed on.

Take the following example:

I have a folder/structure like this

root \+
Default.aspx
+- images\
mypicture.jpg
+- controls
myheader.ascx
+- help\
about.aspx

if I place an image control on myheader.ascx and use the designer to assign
the image, the designer assigns ../images/mypicture.jpg to the ImageUrl
attribute.

When I place myheader.ascx on Default.aspx (which reside in the root) and
run the app the link to mypicture.jpg is broken because
.../images/mypicture.jpg is not the correct relative path in the context of
Default.aspx.

Now, if I place myheader.ascx on about.aspx (residing in help directory) the
link is un-broken because the relative path for about.aspc is correct.

Clear as mud, right?!?! ;-)

I actually brought this very topic up several months ago in this or the IDE
NG.
Brian W


"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:cd******** *****@cpmsftngx a06.phx.gbl...
Marty,

I'm a bit confused. The URL to the image will have to be relative to the
Webform onto which your user control is placed. If not, the image link
will be broken.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Marty" <an*******@disc ussions.microso ft.com>
Sender: "Marty" <an*******@disc ussions.microso ft.com>
Subject: Driving me nuts...
Date: Mon, 10 Nov 2003 11:07:37 -0800
Lines: 6
Message-ID: <00************ *************** *@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcOnvefxXWxzEBR 1RRmi3tV9aszCgw ==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Path: cpmsftngxa06.ph x.gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1898 10NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

It seems all of the sudden that user controls that
contain images are referencing image sources relative to
the document that I drop the control on. This obviously
does not work beacuase the image source is relative to
the user control, not necessarily the form. Can anyone
tell me why this would be the case?

Nov 17 '05 #4
Thanks everyone. I've taken all the feedback and
formulated a few scenarious which now seem to be working
OK.

--------------------------

When using objects that support runat=server, use ~/ to
indicate "virtual root":

<a runat=server href="~/Forms/main.aspx"></a>

When using controls that do not support runat=server
(such as TD to set its background) use Page.ResolveURL :

<TD background="<%= Page.ResolveUrl ("~/Images/fadeBG.jpg")
%>" height="5"></TD>

When using javascript for control attributes:

imgHome.Attribu tes.Add("onMous eOver", "this.src=' " &
Page.ResolveUrl ("~/Images/btn_home_dn.gif ") & "';")
Nov 17 '05 #5
Brian,

Let me have a look into this. I'll post back to this thread ASAP.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Brian W" <brianw@gold_de ath_2_spam_rush .com>
References: <00************ *************** *@phx.gbl> <cd************ *@cpmsftngxa06. phx.gbl>Subject: Re: Driving me nuts...
Date: Mon, 10 Nov 2003 12:15:20 -0800
Lines: 89
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <e7************ **@TK2MSFTNGP12 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
NNTP-Posting-Host: dsl-107.goldrush.co m 206.171.170.107
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG XA06.phx.gbl!TK 2MSFTNGXA05.phx .gbl!TK2MSFTNGP 0
8.phx.gbl!TK2MS FTNGP12.phx.gblXref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1898 38
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

This is exactly the problem

When placing an image control on a UserControl the path assigned to the
image will be relative to the user control which is not necessarily the sameas the webform the user control is placed on.

Take the following example:

I have a folder/structure like this

root \+
Default.aspx
+- images\
mypicture.jpg
+- controls
myheader.ascx
+- help\
about.aspx

if I place an image control on myheader.ascx and use the designer to assign
the image, the designer assigns ../images/mypicture.jpg to the ImageUrl
attribute.

When I place myheader.ascx on Default.aspx (which reside in the root) and
run the app the link to mypicture.jpg is broken because
../images/mypicture.jpg is not the correct relative path in the context of
Default.aspx .

Now, if I place myheader.ascx on about.aspx (residing in help directory) thelink is un-broken because the relative path for about.aspc is correct.

Clear as mud, right?!?! ;-)

I actually brought this very topic up several months ago in this or the IDE
NG.
Brian W


"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:cd******* ******@cpmsftng xa06.phx.gbl...
Marty,

I'm a bit confused. The URL to the image will have to be relative to the
Webform onto which your user control is placed. If not, the image link
will be broken.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
>Content-Class: urn:content-classes:message
>From: "Marty" <an*******@disc ussions.microso ft.com>
>Sender: "Marty" <an*******@disc ussions.microso ft.com>
>Subject: Driving me nuts...
>Date: Mon, 10 Nov 2003 11:07:37 -0800
>Lines: 6
>Message-ID: <00************ *************** *@phx.gbl>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Thread-Index: AcOnvefxXWxzEBR 1RRmi3tV9aszCgw ==
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
>Path: cpmsftngxa06.ph x.gbl
>Xref: cpmsftngxa06.ph x.gblmicrosoft.publ ic.dotnet.frame work.aspnet:189 810 >NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
>X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
>
>It seems all of the sudden that user controls that
>contain images are referencing image sources relative to
>the document that I drop the control on. This obviously
>does not work beacuase the image source is relative to
>the user control, not necessarily the form. Can anyone
>tell me why this would be the case?
>



Nov 17 '05 #6
For reference, see this thread started December of last year in this very NG

http://groups.google.com/groups?hl=e...40TK2MSFTNGP09
Brian W
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:SI******** ********@cpmsft ngxa06.phx.gbl. ..
Brian,

Let me have a look into this. I'll post back to this thread ASAP.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Brian W" <brianw@gold_de ath_2_spam_rush .com>
References: <00************ *************** *@phx.gbl> <cd************ *@cpmsftngxa06. phx.gbl>
Subject: Re: Driving me nuts...
Date: Mon, 10 Nov 2003 12:15:20 -0800
Lines: 89
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <e7************ **@TK2MSFTNGP12 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
NNTP-Posting-Host: dsl-107.goldrush.co m 206.171.170.107
Path:

cpmsftngxa06.ph x.gbl!TK2MSFTNG XA06.phx.gbl!TK 2MSFTNGXA05.phx .gbl!TK2MSFTNGP 0 8.phx.gbl!TK2MS FTNGP12.phx.gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1898 38X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

This is exactly the problem

When placing an image control on a UserControl the path assigned to the
image will be relative to the user control which is not necessarily the

same
as the webform the user control is placed on.

Take the following example:

I have a folder/structure like this

root \+
Default.aspx
+- images\
mypicture.jpg
+- controls
myheader.ascx
+- help\
about.aspx

if I place an image control on myheader.ascx and use the designer to assignthe image, the designer assigns ../images/mypicture.jpg to the ImageUrl
attribute.

When I place myheader.ascx on Default.aspx (which reside in the root) and
run the app the link to mypicture.jpg is broken because
../images/mypicture.jpg is not the correct relative path in the context ofDefault.aspx .

Now, if I place myheader.ascx on about.aspx (residing in help directory)

the
link is un-broken because the relative path for about.aspc is correct.

Clear as mud, right?!?! ;-)

I actually brought this very topic up several months ago in this or the IDENG.
Brian W


"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:cd******* ******@cpmsftng xa06.phx.gbl...
Marty,

I'm a bit confused. The URL to the image will have to be relative to the Webform onto which your user control is placed. If not, the image link
will be broken.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
>Content-Class: urn:content-classes:message
>From: "Marty" <an*******@disc ussions.microso ft.com>
>Sender: "Marty" <an*******@disc ussions.microso ft.com>
>Subject: Driving me nuts...
>Date: Mon, 10 Nov 2003 11:07:37 -0800
>Lines: 6
>Message-ID: <00************ *************** *@phx.gbl>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Thread-Index: AcOnvefxXWxzEBR 1RRmi3tV9aszCgw ==
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
>Path: cpmsftngxa06.ph x.gbl
>Xref: cpmsftngxa06.ph x.gbl

microsoft.publ ic.dotnet.frame work.aspnet:189 810
>NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
>X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
>
>It seems all of the sudden that user controls that
>contain images are referencing image sources relative to
>the document that I drop the control on. This obviously
>does not work beacuase the image source is relative to
>the user control, not necessarily the form. Can anyone
>tell me why this would be the case?
>


Nov 17 '05 #7
I tested this on VS.NET 2002 and the 1.0 and 1.1 Framework and could not
reproduce it. I then tested the same thing on VS.NET 2003 and again could
not reproduce it.

I created a new user control and added an Image control to it. I then set
the image src and it is relative to the user control (which is what I would
expect since the dialog is set to Document Relative.) I then add my user
control to a webform in another folder (so that the relative path will be
different) and then build and browse. The image link is corrected to be
relative to the page.

Can someone encountering this problem provide me with some repro steps?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Brian W" <brianw@gold_de ath_2_spam_rush .com>
References: <00************ *************** *@phx.gbl> <cd************ *@cpmsftngxa06. phx.gbl>
<e7************ **@TK2MSFTNGP12 .phx.gbl>
<SI************ **@cpmsftngxa06 .phx.gbl>Subject: Re: Driving me nuts...
Date: Mon, 10 Nov 2003 15:41:24 -0800
Lines: 142
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#8************ **@TK2MSFTNGP11 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
NNTP-Posting-Host: dsl-107.goldrush.co m 206.171.170.107
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1898 92
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

For reference, see this thread started December of last year in this very NG
http://groups.google.com/groups?hl=e...elm=OXBB3MEsCH A.1656%40TK2MSF TNGP09

Brian W
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
news:SI******* *********@cpmsf tngxa06.phx.gbl ...
Brian,

Let me have a look into this. I'll post back to this thread ASAP.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "Brian W" <brianw@gold_de ath_2_spam_rush .com>
>References: <00************ *************** *@phx.gbl>

<cd************ *@cpmsftngxa06. phx.gbl>
>Subject: Re: Driving me nuts...
>Date: Mon, 10 Nov 2003 12:15:20 -0800
>Lines: 89
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <e7************ **@TK2MSFTNGP12 .phx.gbl>
>Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
>NNTP-Posting-Host: dsl-107.goldrush.co m 206.171.170.107
>Path:

cpmsftngxa06.p hx.gbl!TK2MSFTN GXA06.phx.gbl!T K2MSFTNGXA05.ph x.gbl!TK2MSFTNG P

0
8.phx.gbl!TK2MS FTNGP12.phx.gbl
>Xref: cpmsftngxa06.ph x.gblmicrosoft.publ ic.dotnet.frame work.aspnet:189 838 >X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
>
>This is exactly the problem
>
>When placing an image control on a UserControl the path assigned to the
>image will be relative to the user control which is not necessarily the

same
>as the webform the user control is placed on.
>
>Take the following example:
>
>I have a folder/structure like this
>
>root \+
> Default.aspx
> +- images\
> mypicture.jpg
> +- controls
> myheader.ascx
> +- help\
> about.aspx
>
>if I place an image control on myheader.ascx and use the designer toassign >the image, the designer assigns ../images/mypicture.jpg to the ImageUrl
>attribute.
>
>When I place myheader.ascx on Default.aspx (which reside in the root) and >run the app the link to mypicture.jpg is broken because
>../images/mypicture.jpg is not the correct relative path in the contextof >Default.aspx .
>
>Now, if I place myheader.ascx on about.aspx (residing in help directory)

the
>link is un-broken because the relative path for about.aspc is correct.
>
>Clear as mud, right?!?! ;-)
>
>I actually brought this very topic up several months ago in this or theIDE >NG.
>
>
>Brian W
>
>
>
>
>"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > wrote in message
>news:cd******* ******@cpmsftng xa06.phx.gbl...
>> Marty,
>>
>> I'm a bit confused. The URL to the image will have to be relative tothe >> Webform onto which your user control is placed. If not, the image link >> will be broken.
>>
>> Jim Cheshire [MSFT]
>> Developer Support
>> ASP.NET
>> ja******@online .microsoft.com
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>> --------------------
>> >Content-Class: urn:content-classes:message
>> >From: "Marty" <an*******@disc ussions.microso ft.com>
>> >Sender: "Marty" <an*******@disc ussions.microso ft.com>
>> >Subject: Driving me nuts...
>> >Date: Mon, 10 Nov 2003 11:07:37 -0800
>> >Lines: 6
>> >Message-ID: <00************ *************** *@phx.gbl>
>> >MIME-Version: 1.0
>> >Content-Type: text/plain;
>> > charset="iso-8859-1"
>> >Content-Transfer-Encoding: 7bit
>> >X-Newsreader: Microsoft CDO for Windows 2000
>> >Thread-Index: AcOnvefxXWxzEBR 1RRmi3tV9aszCgw ==
>> >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>> >Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
>> >Path: cpmsftngxa06.ph x.gbl
>> >Xref: cpmsftngxa06.ph x.gbl
>microsoft.publ ic.dotnet.frame work.aspnet:189 810
>> >NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
>> >X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
>> >
>> >It seems all of the sudden that user controls that
>> >contain images are referencing image sources relative to
>> >the document that I drop the control on. This obviously
>> >does not work beacuase the image source is relative to
>> >the user control, not necessarily the form. Can anyone
>> >tell me why this would be the case?
>> >
>>
>
>
>



Nov 17 '05 #8
Hello Jim,

I've created several user controls with no problem, but
only recently have I included images in them, resulting
in the problem I identified. My app structure is the
following:

<bin>
<images>
<forms>
legal.aspx
...
<usercontrols >
main.aspx

When I place a user control in a same level directory as
the <usercontrols > directory (such as a form in the
<forms> directory all is fine. But when I place a user
control in the main.aspx page, which is in the root, the
images in the user control are not resolved.

This is not really a big deal, but it would sure be nice
to be able to see the images used in the user control in
the designer. As it is now, I had to use the methods I
described in my last post, resulting in empty image
placeholders from the designer. Like I said, it's not a
big deal. Maybe I'm doing something wrong, but I've also
seen other posts from individuals who had to resort to
what I did to make this work. One would think, though,
that the image sources in a user control would correct
themselves when they are placed on a form.
Nov 17 '05 #9
Annoying, yes. You didn't reply to the same thread, so I can't see the
previous discussion, but the solution to this problem is to use absolute URL
paths for all your images. For example ...
imgsrc="http://yourdotcom.com/images/myimageispretti erthanyours.jpg "

NOW - I'd love to find a solution to the problem of having multiple projects
.... and having to create multiple copies of the user control so you have one
in each project. Wouldn't it be slick if you could share user controls
across projects without having to create a custom control in a .dll?

mark

"Marty" <an*******@disc ussions.microso ft.com> wrote in message
news:07******** *************** *****@phx.gbl.. .
Hello Jim,

I've created several user controls with no problem, but
only recently have I included images in them, resulting
in the problem I identified. My app structure is the
following:

<bin>
<images>
<forms>
legal.aspx
...
<usercontrols >
main.aspx

When I place a user control in a same level directory as
the <usercontrols > directory (such as a form in the
<forms> directory all is fine. But when I place a user
control in the main.aspx page, which is in the root, the
images in the user control are not resolved.

This is not really a big deal, but it would sure be nice
to be able to see the images used in the user control in
the designer. As it is now, I had to use the methods I
described in my last post, resulting in empty image
placeholders from the designer. Like I said, it's not a
big deal. Maybe I'm doing something wrong, but I've also
seen other posts from individuals who had to resort to
what I did to make this work. One would think, though,
that the image sources in a user control would correct
themselves when they are placed on a form.

Nov 17 '05 #10

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

Similar topics

6
1610
by: Keiron Waites | last post by:
Please see the problem in action here: http://www.leadbullet.biz/contact.php If you mouse over the fields, you will see that text is shown on the right. The text makes the other fields move when it is shown - even though the width of the text is less than the width of the field. WHY? This is driving me nuts - please help! TIA,
0
983
by: Simon Harris | last post by:
Ok, this really is driving me nuts!!! :( 'All' I am trying to do is get the value of a named element. My XML doc is: <?xml version="1.0" encoding="utf-16" standalone="yes" ?> - <Page> <Title>Test</Title> <MetaKeywords>Test</MetaKeywords>
2
1381
by: ipmccun | last post by:
Hello all: Perhaps someone can shed some light on this: I'm trying to create a situation, while debugging, where a long running request (sleeps for 15s) and a short running request execute concurrently. Right now, no matter what I do, it seems that they execute serially. I've verified (by watching netstat) that two simultaneous connections are being made to the server, so I'm sure this isnt the standard IE "only two connections to the...
4
1658
by: trond | last post by:
Hello all, Before I start I'd like to point out that I am a complete novice when it comes to asp.net - My background is in network and operating systems, and although I have been doing a bit of hobby programming in vb.net and web programming in asp/vbscript in the past, I am pretty much a beginner at asp.net. What I'm trying to do, is to take the "PersonalHomePage" starter kit that MS supplies with VS2005 and tweak it a bit, to make it...
2
1512
by: mitsura | last post by:
Hi, I need to read a simle XML file. For this I use the SAX parser. So far so good. The XML file consist out of number of "Service" object with each object a set of attributes. I read through the XML file and for each "<Service>" entry I create a new service object. When I am in the "<Service>" part of the XML file and I encounter
5
6862
by: jason.neo | last post by:
Hi all experts, I am going nuts with this Invalid postback or callback argument thingy with .Net 2.0 I am building a file attachment module which relays on a Datatable stored in session (yeah i know its unhealthy, but its the only "clean" approach which I can think of to avoid tranfering temp files onto the server) to maintain the list of attached files before the "commit" action is done to transfer all the files onto the server.
4
2474
by: mattlightbourn | last post by:
Hi all, I have a problem which has been driving me nuts. Crosstab queries! I have a database witch a few different tables to do with garment manufacturing. I have a table for a client account, garment type (Jacket, skirt, etc), client sizing spec and descriptives (measurement names i.e: Shoulder to cuff, inside leg, etc), available sizes (ie. 4,6,8,10,12,14,16,18,20,S,M,L,SM,ML,One) and pattern adjustments (if size 10 is the base, the...
3
2287
by: DuncanIdaho | last post by:
Hello experts IE 7.0.5730.11 Opera 9.27 Firefox 2.0.0.14 This problem only occurs in Opera and Firefox (amazing, IE does something right, or maybe not) Anyway, the problem is that when I put an image in a <divor a <td>
0
9591
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10228
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, 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...
0
9869
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 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...
0
8883
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, 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...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3970
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
2
3575
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.