Hi Everyone,
OK I have a page with several lists of companies. I want the first list to show gas service providers, the next electricity providers etc. My objectdatasource can filter the type of company that it returns and I'd like to use the single objectdatasource for all combo boxes. I thought OK I'll determine which combo is requesting the data in the Selecting event and supply the relevant CompanyTypeID as a param there. Doh, I can't seem to work out which combo is requesting the list.
1) Is there something that I have missed re getting the calling object?
2) Short of having multiple different objectdatasources for each company type is there a work around?
This is inside a Formview to make it a little more complex.
Best Regards,
Jon
OK I have a page with several lists of companies. I want the first list to show gas service providers, the next electricity providers etc. My objectdatasource can filter the type of company that it returns and I'd like to use the single objectdatasource for all combo boxes. I thought OK I'll determine which combo is requesting the data in the Selecting event and supply the relevant CompanyTypeID as a param there. Doh, I can't seem to work out which combo is requesting the list.
1) Is there something that I have missed re getting the calling object?
2) Short of having multiple different objectdatasources for each company type is there a work around?
This is inside a Formview to make it a little more complex.
Best Regards,
Jon