Posted by Robin on 02 21st, 2010
Task :
You have a user control. And you want to loop through all the controls in that user control.
You write the following code
foreach (Control ctrl in control.Controls)
{
//Do your task.
}
And you are wrong.
Reason :
As you know, all the forms/Usercontrols...
Posted by Robin on 11 2nd, 2009
You may need to access a different model in a controller that it actually belongs to. For example you may have to access the model ‘comment ‘ in a controller ‘Post”.
Or you may have to access the rating model inside you...
Posted by Robin on 10 25th, 2009
CKeditor/FCK Editor is one of the world’s best WYSIWYG editor. CKEditor provides built-in file management functions.
(If you need a simple Rich Text Editor, I suggest you to use TinyMCE instead of CKEditor)
If you want to integrate CKEditor...