Adding Print functionality in Flexigrid Implementation of CodeIgniter

December 18th, 2009

Add print button in flexgird grid in your Controller.
You should define print css in your flexigrid css.
$buttons[] = array(’separator’);
$buttons[] = array(’Print’,’print’,’printReport’);
Now, you should define printReport javascript function in end of the page of view associated with the page.
New tab for print is opened with hiding unwanted css and by location.reload(); again the css is [...]

Read rest of this post »

Big red error message after window 7 installation

December 3rd, 2009

My brother tried to install windows 7 in his new ASUS Laptop Yesterday. But he was unable to open his laptop after installation. A big red error message with “Could not find c://recovery.dat” message was appeared. He show me the error. I had not seen that type of error before.
I tried many things and at [...]

Read rest of this post »

Why Do We Shout In Anger?

November 22nd, 2009

A saint asked his disciples, ‘Why do we shout in anger? Why do people shout at each other when they are upset?’
Disciples thought for a while, one of them said, ‘Because we lose our calm, we shout for that.’
‘But, why to shout when the other person is just next to you?’ asked the saint. [...]

Read rest of this post »

Man, women and love

May 21st, 2009

John was waiting for his love….
“30 minutes late!!”, his brain shouted at him, “Last time you were 5
mins late and she had literally gobbled u up … remember??”
“Yeah yeah”, he said to his brain, “You know her … all moody and
stuff …. oh there she is”
“Scold her OK?”, his brain adviced.
“OK I will try”
Sweet Sheetal [...]

Read rest of this post »

Todays cartoon in Nagariknews

May 18th, 2009

Source: http://www.nagariknews.com

Read rest of this post »

INTERESTING CONVERSATION

January 19th, 2009

An Atheist Professor of Philosophy speaks to his Class on the Problem Science has with GOD, The ALMIGHTY.
He asks one of his New Christian Students to stand and . . .
Professor : You are a Christian, aren’t you, son ?
Student    :Yes, sir.
Professor :So you Believe in GOD ?
Student    :Absolutely, sir.
Professor :Is GOD Good [...]

Read rest of this post »