Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 September 21st, 2005, 06:03 PM
Authorized User
 
Join Date: Apr 2004
Location: , , .
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default user control help

Hello,

I'm new to .NET and attempting to create a simple user control (.ascx) in C# that when used will display all form values from a HTTP post.

Thanks for any help.
Regards,
-D-

 
Old September 27th, 2005, 09:36 AM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

Look at www.sybex.com and search ASP.NET with C#. Download the code and look at the code for chapter 6. Chapter 6 handles the complete response object. The responses you are looking for is Response.charset, response.contentencoding, response.contenttype, response.cache, response.cookies and the methods for the response object are addfiledependencies, addfiledependency, appendheader, appendtolog and binarywrite.

To write the properties use something like

Response.Write("Charset=" & Response.Charset & "<br>")
Response.Write("ContentType=" & Response.ContentType & "<br>")
Response.Write("ContentEncoding=" & Response.ContentEncoding & "<br>")

Hope this helps





Similar Threads
Thread Thread Starter Forum Replies Last Post
user control in user control prijatelce ASP.NET 2.0 Basics 2 May 2nd, 2008 08:42 AM
Add Windows User control in Web User Control agarwalvidhu C# 0 March 30th, 2006 01:17 AM
Help! Custom Server Control using User Control diehard ASP.NET 1.0 and 1.1 Professional 2 January 4th, 2006 12:33 PM
Help with control initialization in user control mike_remember ASP.NET 1.0 and 1.1 Professional 7 December 19th, 2005 11:08 AM
User Control stu9820 ASP.NET 1.0 and 1.1 Basics 20 July 20th, 2004 11:42 AM





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