Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've got an application that contains a custom list. I'm using the default NewItemForms to create new Items. One filed of the form is a select/combobox. now I want to set the choices of the select dynamicly. That means I want to set the choices each time the form pops up.

One idea was perhabs to get access from a "code-behind-class"?

Does someone know how to do this?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

A custom field type would meet this need. You can customize the rendering of the field on the new/edit/display forms.

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

If you want to go the code-behind route, then you would be creating an entirely new form, and you would be responsible for any future updates. (When users add a column to the list, that column would not be on your form.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.