473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Some doubt for .NET and HTML/Server button

Is CLR a process or a thread? if process then name it... if thread, name its
parent process?

2. Is Garbage Colelctor a process or a thread? if process then name it... if
thread, name its parent process?

3. If HTML Button has this property runat = "server", then what is the
difference left b/w this button and Server Control button?
Nov 18 '05 #1
2 1011
I can answer #3...

The client-side attributes and events for HTML controls are not
available to server-side code unless we include the runat="server"
attribute. Doing so makes the HTML control the equivalent of an
HTML 'server' control which exposes its attributes and event
processing to server-side code.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/


"Mihir" <mi**********@wipro.com> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
Is CLR a process or a thread? if process then name it... if thread, name its
parent process?

2. Is Garbage Colelctor a process or a thread? if process then name it... if
thread, name its parent process?

3. If HTML Button has this property runat = "server", then what is the
difference left b/w this button and Server Control button?

Nov 18 '05 #2
1) Neither actually. The CLR is executable code inside of a DLL
(MSCOREE.DLL). The CLR can load into one or more processes on a
machine.

2) Likewise the garbage collector is an algorithm which executes on
one or more threads in a process. Each process with the CLR loaded can
potentially have have garbage collection executing.

3) One will be an instance of System.Web.UI.HtmlControls.HtmlButton,
the other an instance of System.Web.UI.WebControls.Button. If you take
a look at the docs, there are some additional features on the
WebControls class, like a BackColor property.

Personally, I've never found a need to use the classes in
HtmlControls. I imagine one reason they are provided is to help port
existing applications to .net by just adding runat="server" to the
HTML tags.

--
Scott
http://www.OdeToCode.com

On Thu, 15 Jul 2004 16:54:54 +0530, "Mihir" <mi**********@wipro.com>
wrote:
Is CLR a process or a thread? if process then name it... if thread, name its
parent process?

2. Is Garbage Colelctor a process or a thread? if process then name it... if
thread, name its parent process?

3. If HTML Button has this property runat = "server", then what is the
difference left b/w this button and Server Control button?


Nov 18 '05 #3

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

Similar topics

1
by: Song Zhang | last post by:
I need to write asp/script/html code to fill the following function. 1. When a page appA.mycom.com/aa.html (aa.html code shown below) is visited from my site, a user can click the button "Launch",...
1
by: Ralph Krausse | last post by:
I know more html is needed to really produce this but enough is here for me to ask my question. So, this HTML code produce 2 buttons. One button is a HTML control and the other is ASP Web or Server...
193
by: Michael B. | last post by:
I was just thinking about this, specifically wondering if there's any features that the C specification currently lacks, and which may be included in some future standardization. Of course, I...
8
by: Matthew Louden | last post by:
why need to set autopostback property to be true?? I know autopostback event means to send the form to the server automatically. I tried checkbox, checkbox list, radio button, and radio button...
17
by: Lloyd Sheen | last post by:
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control...
0
by: Joby | last post by:
Dear All, My problem is first i download an application, that application executes in the client machine and it returns some values. I want to send it back to server and validate these values in...
5
by: Andy G | last post by:
I have many html pages that I need to put a button on. When this button is clicked I need to call a stored procedure that updates a record. -How do I add a button to html page that will call a...
5
by: Brian Kitt | last post by:
I have a C# application that builds dynamic HTML and renders it. Because it is rendered in this way, the input controls are not server controls. I write the entire page, which has a variable...
3
by: balurajeev | last post by:
Hii, currently i am working on an apliction(ASP.NET/C#) that creates dynamic html rows which contain six html text boxes and a html dropdowllist. At the time of page load the web page contain six...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...
0
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...

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.