Library Manager - Download file
Hi,
My requirement is -
i want a module where in admin can upload excel files.
and from website end user can download that excel file.
we are using sitefinity 4.0.
How should we go to achieve this?
currently i am trying the download code by using library manager
but not able to do this.
i am getting the error 'object reference not set to instance of an object' for the statement
LibraryManager libraryManager = new LibraryManager();
Hello Anu,
I do not believe that you could use your previous library manager from 3.7. I recommend you to use the library manager from Sitefinity 4.0. You could get the manager in the code like this :
Telerik.Sitefinity.Modules.Libraries.LibrariesManager.GetManager()