Tutorial :Controlling drop down lists in Windows SharePoint Services 3.0 Form



Question:

I have created a form in a WSS 3.0 site. There are a number of drop-down lists on the form. Is there a way to control the values in one drop-down based on a selected value in a previous drop down?


Solution:1

On post-back you should be able to access the previously selected controls value.

If not, then you might want to try the Control.FindControl method.

http://msdn.microsoft.com/en-us/library/486wc64h.aspx


Solution:2

The cascading dropdowns issue is a big one. There are some solutions that people have built with custom field controls and/or site columsn. Here's a link to a solution that will let you set up multiple levels of parent-child relationships.


Solution:3

It seems this sort of cascaded lookup is big issue indeed. This thread digs this issue little bit deeper:

sharepoint cascading drop

Cheers


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »