On a button click on my server side, I assign value to the Hidden Field from a column in my table.
Dim dsGetEnquiryDetails = dbl.usp_GetEnquiryRegisterDetails(Va
Assuming that it's not null you don't use the hiddenfield's value proprty:
null
value
var statusFlag = ''; var hiddenStatusFlag = document.getElementById('<%= HiddenStatusFlag.ClientID%>'); if(hiddenStatusFlag != null) { statusFlag = hiddenStatusFlag.value; }