473,508 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Execution of code-behind without postback

I just came across a nice dropdown replacement that populates
on-the-fly, and wondered if anyone knew how to do the sort of thing it
does. As far as I knew, you couldn't do what it does.

I think it's basically a textbox with some sort of iframe or popup
window that displays the results. Becuase of that, it can display
multi-column grids in the dropdown part of the component.

The thing that has me confused is that way the population of the
dropdown occurs. You have this control on your ASP.NET page, and in
your code-behind for that page you have a function that handles the
database querying. If I put a breakpoint on this function and run the
page, the function is executed (server side) when the down arrow thing
on the right of the dropdown is clicked. The client page however is
NOT doing a postback. You can continue interacting with the client
page while stepping through the function running at the server. As
soon as the server has finished binding it's data, this dropdown part
appears at the client. The client page has not refreshed or posted
back at all, yet a function was run in it's code-behind page.

I'm confused as to how this can happen. Does anyone know how to do
this sort of thing?

The control is the WebCombo.NET 2 at
http://www.intersoftpt.com/WebCombo2 - download the trial and run one
of the samples and you'll see for yourself what it does.

Ronnie S.
Nov 18 '05 #1
2 1519
Maybe it uses the smart navigation, check out the component behaviour using
mozilla or other non-IE browser
"Ronnie Scott" <ro*************@hotmail.com> ha scritto nel messaggio
news:c3*************************@posting.google.co m...
I just came across a nice dropdown replacement that populates
on-the-fly, and wondered if anyone knew how to do the sort of thing it
does. As far as I knew, you couldn't do what it does.

I think it's basically a textbox with some sort of iframe or popup
window that displays the results. Becuase of that, it can display
multi-column grids in the dropdown part of the component.

The thing that has me confused is that way the population of the
dropdown occurs. You have this control on your ASP.NET page, and in
your code-behind for that page you have a function that handles the
database querying. If I put a breakpoint on this function and run the
page, the function is executed (server side) when the down arrow thing
on the right of the dropdown is clicked. The client page however is
NOT doing a postback. You can continue interacting with the client
page while stepping through the function running at the server. As
soon as the server has finished binding it's data, this dropdown part
appears at the client. The client page has not refreshed or posted
back at all, yet a function was run in it's code-behind page.

I'm confused as to how this can happen. Does anyone know how to do
this sort of thing?

The control is the WebCombo.NET 2 at
http://www.intersoftpt.com/WebCombo2 - download the trial and run one
of the samples and you'll see for yourself what it does.

Ronnie S.

Nov 18 '05 #2
look at remoting.. or webservices behaviors, that is how this is done.

Iguana

"Ronnie Scott" <ro*************@hotmail.com> wrote in message
news:c3*************************@posting.google.co m...
I just came across a nice dropdown replacement that populates
on-the-fly, and wondered if anyone knew how to do the sort of thing it
does. As far as I knew, you couldn't do what it does.

I think it's basically a textbox with some sort of iframe or popup
window that displays the results. Becuase of that, it can display
multi-column grids in the dropdown part of the component.

The thing that has me confused is that way the population of the
dropdown occurs. You have this control on your ASP.NET page, and in
your code-behind for that page you have a function that handles the
database querying. If I put a breakpoint on this function and run the
page, the function is executed (server side) when the down arrow thing
on the right of the dropdown is clicked. The client page however is
NOT doing a postback. You can continue interacting with the client
page while stepping through the function running at the server. As
soon as the server has finished binding it's data, this dropdown part
appears at the client. The client page has not refreshed or posted
back at all, yet a function was run in it's code-behind page.

I'm confused as to how this can happen. Does anyone know how to do
this sort of thing?

The control is the WebCombo.NET 2 at
http://www.intersoftpt.com/WebCombo2 - download the trial and run one
of the samples and you'll see for yourself what it does.

Ronnie S.

Nov 18 '05 #3

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

Similar topics

2
2881
by: satish | last post by:
Hello all, I have a shared object executable viz. *cable* which I execute as follows : $ ansyscust71 -custom cable -p ANSYSRF **ansyscust71 is a shell script and is a part of a software...
75
9809
by: Beni | last post by:
I have been programming in C for about a year now. It sounds silly, but I never took the time to question why a C(or C++ or Java) program execution begins only at the main(). Is it a convention or...
1
1935
by: Default | last post by:
Hi, I am new to C#, that is why I am not sure what kind of problem it is: Is VS files corrupted , or something else. that is the problems description: I am working on a small database project. I am...
7
1567
by: Andrew Poulos | last post by:
If I have code that looks like this ajax = function(str) { var val = ""; // do some stuff here return val; }; var foo = ajax("string");
4
27946
by: sphinney | last post by:
Hi everyone. I'm creating an application inside Access 2007. The application will retrieve data from various locations on my company's network servers. Depending on the time of day, alignment of...
0
7224
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
7323
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
7380
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
7494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5050
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...
0
4706
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...
0
3192
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...
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.