Archive for the 'reusable code' Category

03 Dec

using RichTextBox control in Sharepoint MOSS 2007

Like me you too came searching for the RichTextField control for SharePoint. But you will be surprised that this is not the one you are looking for.
You must be looking for a control which will allow you to create formatted text as shown in below given image.

InputFormTextBox is the correct control you will ever [...]

01 Dec

Collection was modified; enumeration operation may not execute

Collection was modified; enumeration operation may not execute
This exception is thrown when you are trying to delete items of a collection in a for loop or using a for each loop.
The ideal solution could be to use a for loop with a descending counter.
Problem:
for e.g.
If suppose you are executing any of following code snippets
1.
for [...]

25 Jun

Welcome

Hi,
I’m Jay. Welcome to my blog. I have created this blog to share my experiences while working on different technologies.
The theme for this blog is “Coding for future”.
Coding for future is all about reducing the time required for software development.
The ways I have figured out is;
Building reusable code, and making it public!
Though practically exposing code [...]