Đang chuẩn bị liên kết để tải về tài liệu:
Professional ASP.NET 1.0 Special Edition- P34

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Professional ASP.NET 1.0 Special Edition- P34:Those of us who are Microsoft developers can't help but notice that .NET has received a fair amount of visibility over the last year or so. This is quite surprising considering that for most of this period, .NET has been in its early infancy and beta versions. I can't remember any unreleased product that has caused this much interest among developers. And that's really an important point, because ignoring all the hype and press, .NET really is a product for developers, providing a great foundation for building all types of applications | if eventArgument inc Number Number 1 if eventArgument dec Number Number - 1 protected override void Render HtmlTextWriter writer writer.Write The Number is Number.ToString writer.Write a href javascript Page.GetPostBackEventReference this inc Increase Number a writer.Write or writer.Write a href javascript Page.GetPostBackEventReference this dec Decrease Number a The following HTML is rendered by this control html body form name ctrl0 method post action myfirstcontrol.aspx id ctrl0 input type hidden name __VIEWSTATE value dDwtMTM0MTQ1NDExNjt0PDtsPGk8MT47PjtsPHQ8O2w8aTwxPjs O2w8dDxwPGw8TnVtYmVyOz 47bDxpPDQ4Pjs Pjs7Pjs Pjs Pjs The Number is 48 a href javascript __doPostBack ctrl1 inc Increase Number a or a href javascript __doPostBack ctrl1 dec Decrease Number a input type hidden name __EVENTTARGET value input type hidden name __EVENTARGUMENT value script language javascript -- function doPostBack eventTarget eventArgument var theform document.ctrl0 theform.__EVENTTARGET.value eventTarget theform.__EVENTARGUMENT.value eventArgument theform.submit -- script form body html Notice how the following script block containing the_doPostBack function is automatically rendered into the output stream when an ASP.NET server control calls the Page.GetPostBackEventReference reference script language javascript -- function doPostBack eventTarget eventArgument var theform document.ctrlO theform.__EVENTTARGET.value eventTarget theform.__EVENTARGUMENT.value eventArgument theform.submit -- script This function is called by the script code returned from Page.GetPostBackEventReference a href javascript __doPostBack ctrl1 inc

TÀI LIỆU LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.