2011年4月30日星期六
Siderite's Blog: Invalid postback or callback argument in ASP.Net 3.5
Also, you might get a Sys.WebForms.PageRequestManagerServerErrorException with code 500 when using Ajax. It usually happends when you click on a button in a GridView or another bound control. You expect it to work, but it doesn't, even if the code is relatively clear.
The answer is (probably) that you are binding the container bound control every time you load the page (instead of only on !IsPostBack). The thing is this used to work in ASP.Net 2.0.
Bottom line: check your binding, see if you are not doing any DataBind in between the button click and the eventual event catch.
2011年4月12日星期二
NO-FLY-ZONE, NO-VEIL, What’s next? Enjoy your time with hats!
France or should I say Sarkozy has really shown himself on the international stage. Being eager to set up the no-fly-zone, I don’t believe the French care the democracy in Libya that much. If Libya has no oil, it will be ignored as many other countries.
Now it’s really a doubt about the democracy in France itself. The ban of veil is completely under democratic process, which means this presents the respect of liberty. Yes, the premise is that all the women who wearing full veil are forced. The logic is, we are going to help the women who hate wearing veil but were forced to do so. So we ban wearing veil that you all can enjoy your liberty of not wearing it. See? we are so care of you that we establish a law to protect you. So what happen to those who want to wear veils? Do they have right to wear it? I’m sorry, wearing veils is against liberty so you have no liberty to wear them.
Don’t believe this logic? Think terrorist! Why they got arrested and sentenced is because they are dangerous! Why we thrown so many bombs(sorry, missiles) in Libya? It’s because Gaddafi is a dictator. What? Civilian casualties? I’m sorry, Gaddafi is a dictator.
If something/someone is bad, and I’m against it. Then I’m good. If something/someone is bad in my opinion, and I’m against it. I’m still good. If someday I think wearing hats is harmful to liberty as the hats ban the right of hair to see the sun, I will ban hats! So enjoy your time of wearing hats now.
2011年3月17日星期四
中国政治何去何从?
本次两会似乎更加能折射出目前中国政治的困境,温家宝本身,似乎也成了中国政坛目前局势的一个缩影。温家宝在本周的答记者问上表现出的有心无力,实际上既折射了温家宝的真实想法,也折射了他的困境。温家宝总是被称为“人民的总理”,以致于今天在中国大陆,知识界和老百姓几乎都有一种感觉,温家宝说的话人们都可以同意,但他越是说什么,就表示什么越实现不了:温家宝越是谈政改,就说明政改越实现不了;温家宝越是谈抑制房价,房价就越是一路攀升。
温家宝的这一困境也是中国政坛的困境。有良心和正义感的官员和学者,在近年的中国似乎已越来越难以找到市场;充斥中国政坛和学术殿堂的,是一些"假大空"和极左的表述和思潮,而真正对国家和民族有益的建言,反而会遭到压制。从过去十年一路走来的中国正直的学者,几乎都有这样的感受。
“反,要忘党;不反,亡国”,虽然目前中国政治体制还没遇到达蒋中正那般的困境。但是,一旦经济增长遇到瓶颈,谁知道北非的茉莉花会不会中在中国大地盛开呢?
(本文基于德国之声报道,但有所修改)。