which event of Page I can access the value of hiddenfield initialize in
documet. ready function inasp.net
I set some hidden filed value in document.ready function In which event of
page life cycle I cant access the value of that hidden filed here is Code
$("document").ready(function () {
StatdIds = $("input[id$=hdnSelectedStateIDs]").val();
$("input[id$=hdnSupplierID]").val($("input[id$=hdnSupplierID]").val());
$("input[id$=hdnShippinRateID]").val($("input[id$=hdnShippingId]").val());
$("body").click(function (e) {
if (e.target.id != 'dvNewPostSettings-ddlFilter') {
$("#dvNewPostSettings-dvSearchFilterActions").hide();
}
});
});
and Page Code is
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
Dim supplierID As Integer = hdnSupplierID.Value
Dim ShippingRateID As Integer = hdnShippinRateID.Value
End Sub
Thank You
No comments:
Post a Comment