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

Microsoft Bug


In ASPX Page,

For unknown reasons, sometimes the CSS disappears on reload of the ASP
page.
Be it a Datagrid refresh, a button click that does a PostBack ! ! !

I have tried ways to include the external CSS

<link href="xyz.css" rel="stylesheet">

import url(http://xyz/abc.css)

ultimately the only solution was to Embedd the CSS in to page itself.

Check it out ! or suggest ! !

--
champ0007Posted from http://www.pcreview.co.uk/ newsgroup acces

Nov 19 '05 #1
5 1059
Have you checked the rendered HTML code ?

Patrice

--

"champ0007" <champ0007.1qemca@> a écrit dans le message de
news:j-********************@giganews.com...

In ASPX Page,

For unknown reasons, sometimes the CSS disappears on reload of the ASPX
page.
Be it a Datagrid refresh, a button click that does a PostBack ! ! !

I have tried ways to include the external CSS

<link href="xyz.css" rel="stylesheet">

import url(http://xyz/abc.css)

ultimately the only solution was to Embedd the CSS in to page itself.

Check it out ! or suggest ! ! !
--
champ0007Posted from http://www.pcreview.co.uk/ newsgroup access

Nov 19 '05 #2

yeah ! i have checked the code !
The CSS is included properly.
What i dont understand is that Why does it gets the reference of ht
CSS on Initial Load
and on Post Back it loses the Reference ! ! ! ?????

--
champ0007Posted from http://www.pcreview.co.uk/ newsgroup acces

Nov 19 '05 #3
What do you mean by "loses the reference" ? Do you mean that you don't see
visually any more the styles or that the HTML code doesn't contain any more
the stylesheet link ?

If "link" is still in the HTML code, this is more likely a client side
problem. Check perhaps IIS to see if there is a request to the CSS
stylesheet (problem with the HTTP request, the IE cache etc...)

Try perhaps to clean up the rendered HTML code to see if at some point you
gain access again to your styles (for example some other things you do such
as adding embedded styles could perhaps hide the effect of your linked
sheet).

Good luck.

Patrice

--

"champ0007" <champ0007.1qeogy@> a écrit dans le message de
news:td********************@giganews.com...

yeah ! i have checked the code !
The CSS is included properly.
What i dont understand is that Why does it gets the reference of hte
CSS on Initial Load
and on Post Back it loses the Reference ! ! ! ??????
--
champ0007Posted from http://www.pcreview.co.uk/ newsgroup access

Nov 19 '05 #4

Losing Reference means Styles are not visible .. the page turns Blac
and White !

Fine ! thanks Patrice !

I'll check the same

--
champ0007Posted from http://www.pcreview.co.uk/ newsgroup acces

Nov 19 '05 #5
Champ,

That sounds like some strange behavior. I use style sheets for our
ASP.NET projects and have yet to run across a similar situation. On
the .aspx page itself, the only reference that I use in the HTML code
is the following within the <head> </head> tags.:

<LINK href="common.css" type="text/css" rel="stylesheet">

where the common.css file is in the root of my application. I'm not
sure what could be causing the reaction that you are experiencing, but
it definitely sounds like a frustrating one. Have you tried this on
any other machines besides the one you are working on, in case, as
mentioned above, that it may be a client side issue?

Keep us informed if you get any more news,
Aaron

Nov 19 '05 #6

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

Similar topics

0
by: Karuppasamy | last post by:
H I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net I installed everything as per the Instructions given in the 'Development Using the Logging Block' ...
1
by: Novice | last post by:
Hi all, I am a C++ and Java developer with over 3 years of industry experience. I've written low level C++ code, in addition to web clients that use web services. I've just recently installed the...
99
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...
476
by: Xah Lee | last post by:
Microsoft Hatred, FAQ Xah Lee, 20020518 Question: U.S. Judges are not morons, and quite a few others are not morons. They find MS guilty, so it must be true. Answer: so did the German...
16
by: ShadowOfTheBeast | last post by:
Hi all, is there any one who have developed an application in c# using a text-speech engine using the Microsoft Speech SDK 5.1 especially using visual studio.net IDE 2003 (v7.1) I seem to get an...
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: mateipuiu | last post by:
When a try to run a client build on 2005, which uses the Microsoft.ApplicationBlocks.Cache.dll reference, when using a Microsoft.ApplicationBlocks.Cache.dll created on Debug mode, the client works...
2
by: JC | last post by:
Anybody knows what problem has this code? I think, in the Garbage Collector? You know the Solution? The program in the test's case, whit 350 contacts, run OK before number 86. The error is a...
7
by: clintonG | last post by:
To all Microsoft partners and customers who have been unable to download recently or access ASP.NET documentation from the msdn2 website and for all of those customers who have been lied to and...
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
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
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...
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
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
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...
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.