Chaks' Corner

SharePoint and other stuffs

30. June 2009 09:27
by Chakkaradeep
0 Comments

Meet you @ New Zealand SharePoint Conference

30. June 2009 09:27 by Chakkaradeep | 0 Comments

The first ever New Zealand SharePoint Conference is just a day to go! If you haven’t registered yet, you can still do so! If you have already registered, check out these excellent sessions and feel free to come to my session on Developing Custom Field Controls in SharePoint. If you are not f... [More]

23. June 2009 15:42
by Chakkaradeep
3 Comments

Using KeywordQuery to search in your SharePoint site

23. June 2009 15:42 by Chakkaradeep | 3 Comments

There are various ways that you can query the Search Service in your SharePoint site: 1) Using the Search Web Service 2) Using the SharePoint Object Model There are yet again two ways you can use the Search, using the Object Model: i) KeywordQuery ii) FullTextSqlQuery I think it is a good opti... [More]

23. June 2009 10:40
by Chakkaradeep
3 Comments

Customizing the 404 Redirection in SharePoint

23. June 2009 10:40 by Chakkaradeep | 3 Comments

By default, SharePoint takes you to its own 404 NOT FOUND page if you enter an Url which does not exist in the site. It is very easy to customize this behaviour and let SharePoint redirect 404 errors to the page you want to. The important file that manages this 404 redirection is - 12\TEMPLATE\... [More]

12. June 2009 15:05
by Chakkaradeep
0 Comments

Highlighting the current page (site) in a custom navigation

12. June 2009 15:05 by Chakkaradeep | 0 Comments

When you build your custom navigation menu in SharePoint, highlighting the current page in the navigation menu is one of the various things we like to do. Something like this: You can see how People and Skills Development funding is highlighted and also their parent items – ANZBPF programme... [More]

10. June 2009 17:13
by Chakkaradeep
1 Comments

Using the Reusable Content to style HTML Contents

10. June 2009 17:13 by Chakkaradeep | 1 Comments

Sometimes in your WCM website, you might want users to enter some content in a content area but still apply those styles for the content. Using the RichHTMLField control, users can enter rich HTML content, but if the content needs some styling or formatting to be applied, then its pretty hard to do... [More]

4. June 2009 12:04
by Chakkaradeep
0 Comments

Using same custom edit forms across different Lists in SharePoint

4. June 2009 12:04 by Chakkaradeep | 0 Comments

We have a customer who has 5 different Lists and all the Lists have same content type associated with it. They wanted a custom edit form for this content type and want to use it across those 5 different Lists to enter data. We created the custom edit form very easily and uploaded the form to the Lay... [More]

4. June 2009 11:41
by Chakkaradeep
1 Comments

Getting the index of an item in a LINQ query

4. June 2009 11:41 by Chakkaradeep | 1 Comments

So, you want to retrieve the index of an matching item in an array or a collection and you want to use LINQ. For example, I want to get the month number given the month name – If I pass 3, I should get March Of course, you could write your own enum and other stuffs, but there is already an o... [More]