473,785 Members | 2,989 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cohabiting html\server-side controls

I want to be able to disable\enable controls on the client via client-side
scripting. I'm trying to avoid a postback. I'd like to use HTML and
server-side controls on the same page. In code-behind of "submit button" how
do I get the value of the HTML Controls? How do you provide a "rich"
experience without roundtrips? Can you? What is the prefered way to
architect these pages? Any pointers to whitepapers/docs would be
apprecieated?
Nov 18 '05 #1
1 1027
In order to get at the values of HTML controls, you simply need to include a
runat="server" attribute in the tags, after which you will be able to access
these controls in the same way that you can access your server controls.
Then, you can just JavaScript your heart out to make a nice rich experience,
and pick up all of the values on the other side.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"eNathan" <pa**@enathan.n et> wrote in message
news:OP******** ******@tk2msftn gp13.phx.gbl...
I want to be able to disable\enable controls on the client via client-side
scripting. I'm trying to avoid a postback. I'd like to use HTML and
server-side controls on the same page. In code-behind of "submit button" how do I get the value of the HTML Controls? How do you provide a "rich"
experience without roundtrips? Can you? What is the prefered way to
architect these pages? Any pointers to whitepapers/docs would be
apprecieated?

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2798
by: Ad Astra | last post by:
I am completely new to PHP and am finding installation the most difficult part to understand and implement. Could someone please review the rather long missive below and assist me? I have provided it in as clear a fashion as possible. COMPONENTS * Windows XP (Home) * Apache2 server (successfully installed; located as
2
1166
by: Steven | last post by:
Hi all, What is the exact difference between a Webserver control and a HTMLserver Control? Why would you use one or the other? Thanks! Steven. ASP.NET Newbie
3
2274
by: Gary B. Levy | last post by:
I need to install (for a developer associate. I am NOT a developer)VB.NET versions 6 & 7 on two dissimilar hardware platforms, both running Windows XP Professional with Service Pack 2. Both are Dell platforms. One is a laptop. One is a tower. 1. Does the "default" install suffice in most cases? 2. Are there any caveats or pitfalls to watch out for? 3. What factors affect the performance of both versions cohabiting with the SAME...
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10153
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8976
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.