I just created a button that doesn’t post back:
btnOpenReport.Attributes("onclick") = "openReportWindow(" & ddlExtractsList.ClientID & "); return false;"
The “return false;” is the part the stops the postback. The function call openReportWindow explains why you might want to do this…you need the “ClientID” of a Server Control.
No comments:
Post a Comment