content top
recent posts Loop through all controls in a...
Loop through all controls in a user control
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...
Dynamically Loading a model in...
Dynamically Loading a model in Cake PHP
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...
Integrating CKEditor in CakePH...
Integrating CKEditor in CakePHP
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...
recent from .NET Loop through all controls in a user control
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 have a control collection. A control collection...
recent from General Installing IIS and apache in same server.
Situation:  Not able to access http://localhost/ after installing WAMP. Here is the story. You Install WAMP server. WAMP installation successful. You are happy. Trying to access the localhost from the wamp menu. You are redirected to a URL similar to this. http://localhost/localstart.asp Scratching...
recent from Internet Reliance wimax.. what the f~~~~~ ?
I have been using reliance wimax broadband for the last 8 months .. I think 8 months are more than enough to write a review about a product/service. So here it goes… In a single sentence let me describe Reliance Wimax broadband service .. “Worst Broadband service in Chennai”. First...
recent from JS Access client side files using browser
Is it possible to access files in the client side using a web application/browser ? Answer : Yes. It is possible. But only on certain conditions. Download sample Code here 1) The below code works only in IE. 2) You need to change your security settings in IE to Low. Select Tools -> Internet Options...
recent comments
  • Rakhee: thanx! i want this code for my project work.....
  • Lucas Fagundes: Very useful! Thank you! But, there's a usability issue wi...
  • Robin: Hi John M, Adding a CKEditor to your page will not affec...
  • John M: I have inserted Ckeditor 3.x in my page and i submit my form...
  • TechShankar: Thanks dear Robin...
recent flickr photos