Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 18th, 2006, 03:50 PM
Registered User
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can I make a part of my include editable?

I have put my navigation header, which is sliced graphics with javascript on some of the text images in an include. On the left is a company logo image that is replaced depending on the area of the website you're in, ie., about us, contact us, business units etc. I am not much of a programmer and use simple stuff like includes for obvious reasons. Everything is working fine except the ability to change the leftside image in the child pages.

I have gotten as far as adding a column to the left and putting a table in it and given the table a really original ID, "hole". It seemed like the logical thing to do. Now I'm a little stuck. Is there a way to make "hole" editable so I can drop images in it from child pages?

Thank you,


Old October 18th, 2006, 08:27 PM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

This may or may not work, its just theory.

In the days of asp, include files were processed along with the asp itself so you could provide functionality inside of your includes, so here is the theory:

In .NET i can use an aspx page as an image src like <img src="page.aspx?id=1"> on page.aspx i would do a Request.Querystring("ID") then setup my GDI functionality, create the image, and use a binary writer to send the datastream back to the browser effectively displaying the image.

So, I don't know if this is possible or not, but on your include you could try: file.aspx?page=page and then on the file.aspx page do a request.querystring and based off of what the value of page is select the image to display. Again, this is only a theory and I don't actually know if it will work, but try it out!


I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
Old October 19th, 2006, 10:07 AM
Registered User
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Thank you, I will give it a try.


Similar Threads
Thread Thread Starter Forum Replies Last Post
iframe editable skyler Javascript 3 April 15th, 2011 05:28 AM
Editable Dropdownlist msbsam ASP.NET 2.0 Professional 1 March 31st, 2008 09:08 AM
how to make Ultragrid editable ? remya_pn Pro VB 6 0 February 26th, 2007 06:55 AM
difference between include file & include virtual crmpicco Classic ASP Basics 2 January 23rd, 2006 11:50 AM
xsl:include within include chuck123ie XSLT 1 January 5th, 2006 11:07 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.