naveen gupta wrote:never mind
i have kept both of them and based on the button clicked i am displaying one and hiding other
Me too. It's about the easiest way to do it.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.