I have created a user control that is a simple table. This table contains some drop down lists and will be dynamicly added to a web form based on a user's selection. I have the adding of the user contorl in place and it does react accordingly.
Here's my problem\question. Is it at all possible to pass a parameter to a user control. On my user control there are several drop down lists (2 i believe) that are populated from the database but would require an input parameter from the calling page.
Is there any way to send over an @ID to the user control. THere are multiple controls being added (could be as many as 5) that each may require an ID.
If this is feasible then great. If not then I can probably do something with the data grid instead.
I appreciate any assistance/tips/advice.
thanks
Jim
Here's my problem\question. Is it at all possible to pass a parameter to a user control. On my user control there are several drop down lists (2 i believe) that are populated from the database but would require an input parameter from the calling page.
Is there any way to send over an @ID to the user control. THere are multiple controls being added (could be as many as 5) that each may require an ID.
If this is feasible then great. If not then I can probably do something with the data grid instead.
I appreciate any assistance/tips/advice.
thanks
Jim