H
han zhiyang
I wonder if the Page.RegisterRequiresRaiseEvent and Page.RequiresPostBack are
asp.net bugs,for they are somewhat "ugly" and difficult to use.At the same
time, I wonder if there is other alternatives I can choose.I've read the book
"Developing Microsoft ASP.NET Server Controls and Components" by Nikhil
Kothari, and here is some codes in LoadPostData method in code list 9-11:
bool buttonClicked = (buttonValue != null) && (buttonValue.Length != 0);
if (buttonClicked) Page.RegisterRequiresRaiseEvent(this);
Reading these codes,I feel I go back to the asp times again. these are
somewhat ugly.
asp.net bugs,for they are somewhat "ugly" and difficult to use.At the same
time, I wonder if there is other alternatives I can choose.I've read the book
"Developing Microsoft ASP.NET Server Controls and Components" by Nikhil
Kothari, and here is some codes in LoadPostData method in code list 9-11:
bool buttonClicked = (buttonValue != null) && (buttonValue.Length != 0);
if (buttonClicked) Page.RegisterRequiresRaiseEvent(this);
Reading these codes,I feel I go back to the asp times again. these are
somewhat ugly.