Tag Info

Hot answers tagged

1

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 { ...


1

You can use jQuery (or even plain JavaScript) to get the attribute from the generated for the wev part. The only thing you'd need is somethint that allows you to identify this Web Part even from within the main container. If you own the code for the WP, you can add a custom div with and ID or a class (or data-something), get that using jQuery and then ...



Only top voted, non community-wiki answers of a minimum length are eligible