I have a .net page with a user control. The user contol contains a detailsView Server Control. I have added the user control to the webpart zone control on the page. I also have code to be able to edit webparts. All this is working. Now I need to create
a custom editorpart link on this page, so that whe the user clicks on the Edit button of the Editor Zone, this Custom EditorPart link should show up. When the user clicks on this link, a new window should open which should display all the fields for that
web part. I need to be able to show and hide these fields.
I have written code for the PropertyGridEditorPart and I'm able to show and hide fields on the propertygrid. However, I need to accomplish this using the custom editorpart so that all the fields are dispayed in the new window instead of the PropertyGrid.
Rinni
Member
10 Points
2 Posts
Creating Custom EditorPart
Mar 27, 2006 08:54 PM|LINK
Hello All,
I have a .net page with a user control. The user contol contains a detailsView Server Control. I have added the user control to the webpart zone control on the page. I also have code to be able to edit webparts. All this is working. Now I need to create a custom editorpart link on this page, so that whe the user clicks on the Edit button of the Editor Zone, this Custom EditorPart link should show up. When the user clicks on this link, a new window should open which should display all the fields for that web part. I need to be able to show and hide these fields.
I have written code for the PropertyGridEditorPart and I'm able to show and hide fields on the propertygrid. However, I need to accomplish this using the custom editorpart so that all the fields are dispayed in the new window instead of the PropertyGrid.
Thanks.
AndresS
Member
519 Points
108 Posts
Microsoft
Re: Creating Custom EditorPart
Apr 05, 2006 08:02 PM|LINK
The following quickstart has a sample on how to create a custom editor part. http://www.asp.net/QuickStart/aspnet/doc/webparts/edit.aspx
Let me know if you have additional questions
This posting is provided "AS IS" with no warranties, and confers no rights.
rajesh_shirp...
Member
2 Points
1 Post
Re: Creating Custom EditorPart
Feb 06, 2008 11:53 AM|LINK
hi ,
can you tell me how who have solved this problem?
thanks....
Rajesh.S
darsho
Participant
802 Points
180 Posts
Re: Creating Custom EditorPart
Feb 06, 2008 12:09 PM|LINK
i think this is one of the best articles in your question :
http://markitup.com/Posts/Post.aspx?postId=a20e70f2-7eb1-40b6-b498-5bf4cb7b6edd
read and do it to the end it deserves,
hope it helps