Wrox Programmer Forums
|
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 June 18th, 2006, 10:31 PM
Authorized User
 
Join Date: Apr 2006
Posts: 79
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via AIM to anujrathi Send a message via MSN to anujrathi Send a message via Yahoo to anujrathi
Default Use of HTML controls in a web page

Hi friends,

How can we use the HTML controls in our web page. There are about 18 HTML controls availeble in the tool box. I know that these controls are used to write client side coding means those operations in which there is no need to go to the web server as my validation web server controls that work in client side.
    But how can i write the coding for these buttons. In code behind, I can't do it ?
An important control is File field that can be use to select appropriate file.

So how can I write the code for these controls. Pls explain.......
 
Old June 19th, 2006, 07:51 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
Default

I assume you are asking how you can reference HTML controls in your code behind file? Thats as easy as dragging it from the toolbox onto your form, right clicking and selecting the "Run As Server Control" option from the menu and this will then allow you to reference your HTML controls in code behind.

HtH

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting a Text file from a HTML File or web page rajesh.java Java Basics 1 January 20th, 2007 08:36 AM
html(aspx) web page sivkum Javascript 1 January 11th, 2007 01:53 AM
HTML controls in web page anujrathi ASP.NET 1.0 and 1.1 Professional 1 June 18th, 2006 10:33 PM
Odd attributes on Web- and Html Controls jacob ASP.NET 1.0 and 1.1 Professional 4 November 6th, 2005 07:24 AM
User controls not showing on web page pdr ASP.NET 1.0 and 1.1 Basics 0 August 10th, 2005 09:02 AM





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