Hi Keith.
Thanks for your reply.
What I'm looking for is a 'Lookup List' of say Account Number, Name and address, which the user then selects from to populate a Customer No. field.
My query was how to do this ine a Web Form , and is this done at load of the page time, or as in noraml Forms, when yiu say Hit F4 to do a lookup.
Regards,
Gerard
>G
erard,
>
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only