473,387 Members | 1,890 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,387 software developers and data experts.

Dear MVP; ASP.NET 2.0 combo box questions.

Greetings,

The current asp.net 1.1 combo box allow auto postback, and when this
happens, the whole page actually refreshes its self. But with the advent of
xmlhttp, we can solve this matter. Can MVP or anyone who is familiar with
asp.net 2.0 clarify this matter for me which is, does asp.net 2.0 combo box
uses xmlhttp? Which means evertime it does a postback, it does not do refresh
the entire page. Thanks in advance for you reply.

Nov 18 '05 #1
2 979
No it doesn't automatically use xmlHttp. It still does a complete postback.
The only thing which has changed is how easy it now is to use XmlHTTP
(called client callback in ASP.Net), so if you wanted to you could make your
dropdownlist use it. I wrote a real-world example/tutorial of using
client-callback in ASP.Net 2.0 with a dropdownlist, it should help shed some
light on the topic for you:
http://www.openmymind.net/clientcallback/index.html

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Asha" <As**@discussions.microsoft.com> wrote in message
news:2F**********************************@microsof t.com...
Greetings,

The current asp.net 1.1 combo box allow auto postback, and when this
happens, the whole page actually refreshes its self. But with the advent of xmlhttp, we can solve this matter. Can MVP or anyone who is familiar with
asp.net 2.0 clarify this matter for me which is, does asp.net 2.0 combo box uses xmlhttp? Which means evertime it does a postback, it does not do refresh the entire page. Thanks in advance for you reply.

Nov 18 '05 #2
XMLHttp is actually an older technology. You can use a web service to
"automagically" update information without a postback, but the mechanism for
controls in 2.0 is still to PostBack to the server rather than open a
connection to the server via some other mechanism.

You can set up an XMLHttp object for client side (JScript in the page) and
connect to an interface like a web service, if you wish.

NOTE: While a bit heavier than a client side mechanism, the Postback return
trip is far easier to maintain and debug. You have all of the page handling
code in one place, instead of two.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"Asha" wrote:
Greetings,

The current asp.net 1.1 combo box allow auto postback, and when this
happens, the whole page actually refreshes its self. But with the advent of
xmlhttp, we can solve this matter. Can MVP or anyone who is familiar with
asp.net 2.0 clarify this matter for me which is, does asp.net 2.0 combo box
uses xmlhttp? Which means evertime it does a postback, it does not do refresh
the entire page. Thanks in advance for you reply.

Nov 18 '05 #3

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

Similar topics

8
by: CZERNAI | last post by:
Hi Am new to programming and to this process of asking questions. I believe I have read all the threads concerning combo box questions but haven't found an answer to my problem. I am using ...
4
by: Kay | last post by:
Hi all, Wondering is there a way to work with .net's combo box like in VB 6's with the ItemData property? Coz I want to store 2 values for each item in the combo.... Thanks! Kay
14
by: Kevin | last post by:
A couple of easy questions here hopefully. I've been working on two different database projects which make use of multiple forms. 1. Where's the best/recommended placement for command buttons...
7
by: Ausclad | last post by:
Ok, ill try again..... It seems fairly simple. I have two combo boxes in a datagrid. The datagrid is bound to a a table in a dataset. The two combo boxes are bound to a single data table...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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...

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.