protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridEditableItem && e.Item.IsInEditMode) { RadDatePicker StartDate = (RadDatePicker)e.Item.FindControl("DateofCommencement"); RadNumericTextBox Duration = (RadNumericTextBox)e.Item.FindControl("Duration"); RadDatePicker EndDate = (RadDatePicker)e.Item.FindControl("DateofCompletion"); Duration.Attributes.Add("onblur", string.Format("changeEndDate('{0}','{1}','{2}','{3}','{4}');", StartDate.ClientID, Duration.ClientID, EndDate.ClientID, Dtcomm, Dtcomplete)); } }In this itemdatabound i passing through javascript ,
First time public variable values are come ,
after i change the public variable ,
Second that public variables values not old values on available ,
How i get current values
Reply as soon as possible
Thanks,
Mohamed,