Very basic usage of sitecore search

I am trying to setup a very basic search index, to index all items in a specific folder. I haven’t really used much searching, but I’m trying to use out-of-the-box features, because its a very simple search. I just want to index all the fields. The sitecore documentation really doesn’t provide much information – I’ve read a few blogs, and they all seem to suggest that I need the advanced database crawler ( – basically, something to the effect of ‘it won’t work without a custom crawler).

Open sitecore media library programmatically from button click

I have been trying to figure out if it is possible to open the Sitecore media library browser programmatically from ASP.NET code-behind on a server-side button click. By searching the net, I found an example which explained how to open a media library browser from a Sitecore thumbnail click. I tried this approach on ASP.NET server-side button click but it did not work failing with object reference not set to an instance of an object.