Author: SeanHallinan | Posted on: 7/1/2008 6:38:47 AM | Views : 793

So, we have around 75 webforms that we wish to add a person look-up to. Currently we have about 5 or so that link to our directory page and pass all the info thats already been filled out via the query string. then when the search is done and a person chossen the user is sent back and all that info is passed back to the webform and filled in. The issue is that we want to tighten up what a user can throw into the query string, and so we have to write around 50 or so lines of code each time we add a form. Obviously for 5 or 6 this is fine but its not the solution we want for all 75 webforms.

Our plan is to write a class in C# that takes in a a placeholder, and in the constructor Populates the placeholder via the PH.Controls.Add(control) function. We've had success with this approach and have managed to replicate our search page and even populate the dropdownlists on it from a database. The problem is that we need some way of creating the search results page, and ou ...

Go to the complete details ...