Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Including an ASPX within an ASPX

Thread Tools

Including an ASPX within an ASPX

DeathWeasel DeathWeasel is offline
Junior Member
Join Date: May 2007
Posts: 2

I am trying to generate a CSS page based on entries in the datbase. I am using VB.NET to pull the records from the database and generate a stylesheet.

When I use this CSS page, I link it in the typical way that you would link a CSS file, but instead of linking to a .CSS I link to a .ASPX:

<link rel='stylesheet' type='text/css' href='CSS.aspx'>

Everything works ok at this point, I have my page load properly and the CSS is included and the browser appropriately styles all the elements using the CSS in the ASPX file. However, when I try to use flushes, they do not seem to work. On a page that I need to show progress on, the page acts just like it would if I did not have any flushes in it at all (it waits until everything is done before displaying everything on the page).

I removed the link to the CSS.ASPX and flushes work again (but everything is unstyled, of course).

I cannot figure out why flushes stopped working because I am including an ASPX page. Can anyone help me out?

Thank you.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Including and Executing JS and CSS from an ASPX within a Master Pa Alex Maghen ASP .Net 3 08-12-2010 12:59 AM
Referring to a textbox within a web control within an aspx KatB ASP .Net 0 04-22-2005 07:14 PM
Including 3rd party libraries within a jar file Java 6 01-12-2005 10:55 PM
Help on including one XML document within another XML document using XML Schemas Tony Prichard XML 0 12-12-2003 03:18 PM
including one aspx file in another aspx file vish ASP .Net 2 07-16-2003 10:29 PM