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 August 22nd, 2006, 07:24 PM
Authorized User
 
Join Date: Nov 2005
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default Use Response object inside asp:textbox tag

I want to have a textbox filled with text using Response.Write. Can anyone tell me why this doesn't work, and what I can do to make it work?
<asp:TextBox ID="txt1" runat="server" ><% Response.Write("asdf") %></asp:TextBox>


I did this as a test and it doesn't work. I'd really like the day of the week put into the textbox using the Weekday function.

Thanks.





Similar Threads
Thread Thread Starter Forum Replies Last Post
'FormView' must be placed inside a form tag stephena.co.uk ASP.NET 2.0 Basics 2 October 15th, 2008 08:25 AM
get value of textbox inside datagrid khaink ASP.NET 1.0 and 1.1 Basics 9 October 2nd, 2007 10:05 AM
Printing the content inside the div tag cheeky Pro JSP 0 April 26th, 2007 07:26 AM
place anchor tag around bgImage inside cell?? mat41 HTML Code Clinic 4 January 26th, 2006 07:42 AM
use a JS-variable/function inside a tag cybermaarten Javascript 3 January 20th, 2005 05:42 AM





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