Geeks With Blogs
Athens's Id Permanent Resident of the Blue Nowhere

Normally I believe that the Delete View is only available within Design View. There are several possible angles that I am pursuing for exposing the delete verb within the Browse View. One thing to note is that no webparts or user controls can be declared within the page code. All must be added from a catalog to the shared view or the delete function is unavailable. I am researching overriding RenderVerbs and RenderVerb within the WebPartChrome to add the Delete Verb despite Browse being the current view. Failing this I intend to take a brief look at writing a custom view to expose Delete natively, this would be nice since I may be able to expose the Move action as well during the default (then Custom) View. I have a couple of other ideas but I want to see how these turn out first. I am working toward the most effecient way to accomplish the task without having to rewrite tons of functionality. It may be as simple as overriding the close action or something of that nature. We shall see.

Of course many will suggest that none of this is the right way to do things since it is not supported by Microsoft but since I have rewritten much of the WebPart functionality already, it may be considerably easier in this case.

Posted on Wednesday, August 22, 2007 12:12 PM WebParts , ASP.NET 2.0 | Back to top

Comments on this post: ASP.NET 2.0 - Custom WebPart Infrastructure - Exposing Delete Verb in Browse View

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Athenz | Powered by: