Archive for December, 2008

24 Dec

Solution: Changing color of disabled checkbox or radioButton

Applies to: C#.NET/VB.NET (Windows Programming).
1. Making it gray
After being disabled, the checkbox and radiobutton control’s ForeColor turns contrast to the BackColor of the form.This behavior is good because it increases the readability of your forms.
But in some cases this is really not desired.
So in that case you can make the CheckBox/RadioButton gray by setting its

BackColor [...]

10 Dec

Disabling mysite / mylinks on Sharepoint 2003 & MOSS 2007

No theory, just pure steps =)
1. Disabling mysite/mylinks on MOSS 2007
Step 1.Visit “Central Administration”Select “SharedServices” under “Shared Services Administration”Step 2:Under “User Profiles and My Sites”, select “Personalization services permissions”
Step 3:This will open “Manage Permissions”.
Select appropriate user for which you want to disable “mysite” option.
In most cases you will have to use “NT AUTHORITY\Authenticated Users”. This [...]

03 Dec

InputFormTextBox width, Enabled, ReadOnly Properties not working properly

InputFormTextBox’s width, Enabled, ReadOnly Properties doesn’t work properly whenever you enable RichTextMode.
Unfortunately you cannot adjust the width of this control properly. Sometimes the toolbar get streatched but the inside frame doesn’t.

I have tried various approach. Also tried to correct the width using JavaScript. But it doesn’t work
People have tried many things link setting number columns [...]