Tag Info

New answers tagged


Mallu, This can be achieved by creating Editorpart for your custom web part. Lets say the web part that we are building is RightNav.ascx Create a .CS file under your web part (.ascx) Full code of the EditorPart.cs is as follows You may have to edit the code as per your requirements class RightNavEditorPart : EditorPart { ...


You're basically asking how one can dynamically add values to an enum. The short answer is it is difficult/not worth the hassle. Others, it seems, have had success with a workaround where you create a custom tool pane and override the rendering method to draw your own drop down. See here. Incidentally, a similar question has been asked previously, here.

Top 50 recent answers are included