Execution of code-behind without postback

R

Ronnie Scott

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.
 
S

stefano mostarda

Maybe it uses the smart navigation, check out the component behaviour using
mozilla or other non-IE browser
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top