Monday, 05 October 2009 11:48

Q#14: How to customize Upload page

Written by 
Rate this item
(0 votes)

Question:

>> How can I customized _Layout/Upload.aspx?!

Answer:

It's a tricky question, because to do it propertly you not only need to add the new toolbar action, but hide existing one, and it's where the thicks is. You can't hide the "upload" action via "HideCustomAction" feature, because "Upload" is not rendered via custom action feature. "Upload" page is the custom control in toolbar, that is implemented in "Microsoft.Sharepoint.WebControls.UploadMenu" class.

So, to implement the custom "Upload" page you need to subclass the standard "UploadMenu" class and render your own page.

The detailed description and code snippet can be found in this post

Read 3833 times Last modified on Tuesday, 21 August 2012 12:15

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.