Page 1: Part Search
Page 2: Bill of materials (Multiple parts, with links to Page 1)
Why aren't you simply passing the part # as a query string, then calling the
functionality handled by the Submit button click during the Page_Load event?
You don't need to force a submit.
"Larry Bud" wrote:
> I've got a page with a simple search form for a Part #. User enters a
> partial part #, click Submit, datagrid does it's thing and displays
> part #s that match the search. The datasource that is used uses a
> Parameter coming from the Form object.
>
> All is well and good.
>
> Have another page that lists a BOM (Bill of Materials) which obviously
> contains part #s, and I want to link from Page #2 back to the search
> page, passing it a part #, and having it do a lookup for that part, as
> if that part # was entered into the search form and the user pressed
> the Submit button.
>
> I'm stumped as how to "fool" .NET into thinking the user did this.
>
>
|