This is an extremely useful function, which allows you to read an Excel spreadsheet and convert its data into a DataTable in C#. With data in a DataTable, we can perform lots of things to it.
When you group list items by some fields, by default Sharepoint have the items collapsed. It's quite annoying to have to manually expand each. There's a way you could easily expand all list items or collapse in one click.
I had the problem of saving files which I uploaded programatically to Sharepoint list item. When I tried to save them, there's pop up dialog saying the file is in read only mode, even I had all the required permissions.
Just two weeks ago, my website had been hacked and what drove me crazy was I couldn't find out what was wrong, or which files were been hacked. All I knew was the site had been marked as containing malicious code by Google and hence visitors could not get to my site, which in another words, my site was blocked by Google!
I was trying to add a duplicate link to the list item menu dropdown context box, so that user can click and duplicate an item. It's actually quite easy to do that.
I had the problem of page not able to redirect when in an ajax postback. It happens to be the fact that I disabled a line in web.config:. This line should be added in HttpModules, so that redirection will work in Ajax postback. This class manages HttpModules for Ajax functionalities in ASP.NET.
Today I was reading Google's Webmaster Guideline regarding content duplication on the Internet and steps that Google advise webmasters to take care if the situation applies. It's quite interesting as I did not know some of these facts.
I came across this problem of wanting to add a column in the List view web part (stock standard one) with the ability to have html elements rendered properly. Unfortunately Sharepoint's standard list view only displays text in it.
Lately I had fun digging into Sharepoint database and see how the monster was built and what its database schema looking like. Well, it's pretty smart the way it was built but it's also a pain for developers to understand and even to play with it, if they have to. With the business that I am working for, we have to create reports for corporates, which forces us to having to dig into Sharepoint database directly, even though I read a lot of posts saying that is not recommended by Microsoft.
A useful function to send email in Sharepoint, programatically.