Sharepoint Custom Field default template

Posted by Mina Samy on Stack Overflow See other posts from Stack Overflow or by Mina Samy
Published on 2010-06-09T10:02:55Z Indexed on 2010/06/09 11:52 UTC
Read the original article Hit count: 203

Filed under:

Hi all

I want to develop a custom lookup field for sharepoint.

I created a class as the following

public class CustomLookupControl:BaseFieldControl

and overided this method

protected override string DefaultTemplateName
        {
            get
            {
                return base.DefaultTemplateName;                    
            }
        }

but when I edit an item I find that the place of the field is empty.

my question is that I don't want to implement a custom rendering template for the field, I want to use the default template of the lookup field

how can this be achieved.

© Stack Overflow or respective owner

Related posts about sharepoint