I am trying to create a custom drop down field type and I was able to acheive that using the MS link
As per the link, once the custom field is created we can override the "Validate" method to write the Validation logic and that works fine for me too. However I am facing a challenge even before going to
Validate . Let me explain my actual requirements here.
I need to build a custom drop down field and expose the field
to the user in "Edit Properties " Page of a document library. Along with this field, I will be having
some OOB site columns in the Edit Properties
Page (Ex: Title, Subject etc) . When user selects a value
in the drop down, I need to hide/show few
OOB site columns based on certain criteria.
I am facing a challenge of how to capture the "SelectedIndexChanged
" event for the Custom drop down field in Sharepoint (Can we wire the SelectedIndexChanged event to a custom dropdown field type) ? Is this acheivable in SP 2010 Custom field type ? If so, how can I do it ?
Can any of you kindly help me here?
View Complete Post