/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (!page.IsPostBack && !page.IsCrossPagePostBack && (string.Compare (HttpContext.Current.Request.RequestType, "POST", true) == 0) && 0 < page.Request.Form.Count)