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