Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lookup Control in Dot Net
Message
From
06/04/2006 14:30:05
Keith Payne
Technical Marketing Solutions
Florida, United States
 
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
01110875
Message ID:
01111155
Views:
14
Gerard,

I just re-read your question and it occurred to me that you might be asking how to implement a simple drop-down list control and then refresh a grid that is already on the page with data from a child table.

This is not difficult at all in .NET. Simply change the DataSource property of the grid in the DropDownList's SelectedIndexChanged event to whichever table you want to display.

>Hi Keith, thanks for your reply.
>
>In my innocense, I thought the great world of Dot Net would have made this a snap !!
>
>Do you knopw if there are any commercial activex's that would accomplish this relatively painlessly ?
>
>Regards,
>
>Gerard
>
>
>
>>>Hi
>>>I have a Web Form that includes a few controls that are linked to Tables that I want to do a lookup on
>>>(e.g. Customer Table, Product Table, Category Table)
>>>
>>>I normally do this in VFP by having the user hit F4 or right click and a Grid with the Data appears
>>>
>>>I'm wondering how this can be done on a Web Form in dor net ?
>>>
>>>Regards,
>>>Gerard
>>
>>Gerard,
>>
>>Gerard, this can be done on a web form but it will require a lot of javascript along with the server-side code. Using an iframe, you can trigger a popup web browser window with the javascript:onClick event, or you can make a second web request (or web service request) from the onClick event, retrieve the grid, then manually re-arrange the exising content and insert the grid's HTML.
>>
>>It is a lot of trial and error coding to make the various pieces work together fluidly. I suggest coming up with a different way to interact with the interface instead.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform