
I have a radtextbox that I am updating the text with JavaScript (clientside). The new value shows on the page but if I access the control server side, it shows the old value. This control is not being reloaded server side.
JavaScript: this will set the new value which shows up on the web page
document.Form1.txtTotalCharge_text.value = document.Form1.txtHdTotalCharge.valueIf I access txtTotalCharge.text on the server side, the old value shows up. The asp:textbox doesn't have this issue. Can anyone tell me how to fix this.

public override string SelectedValue { get { return _SelectedValue; } set { _SelectedValue = value; } }Radgrid.AutoGenerateColumns = true; Radgrid.MasterTableView.AllowPaging = true; Radgrid.MasterTableView.IsItemInserted = true; Radgrid.ExportSettings.OpenInNewWindow = true; Radgrid.AllowFilteringByColumn = false; Radgrid.ExportSettings.ExportOnlyData = true; Radgrid.ExportSettings.HideStructureColumns = true; Radgrid.MasterTableView.HierarchyDefaultExpanded = false; Radgrid.MasterTableView.NestedViewTemplate = null; Radgrid.MasterTableView.HierarchyDefaultExpanded = false; Radgrid.MasterTableView.ClearChildEditItems(); Radgrid.ExportSettings.FileName = filename; Radgrid.ExportSettings.Excel.Format = GridExcelExportFormat.Html; Radgrid.MasterTableView.ExportToPdf(); ClientEvents-OnDataBound
ClientEvents-OnDataBinding
ClientEvents-OnGridCreated
ClientEvents-OnGridCreating
ClientEvents-OnMasterTableViewCreated
ClientEvents-OnMasterTableViewCreating
Also, here is my code below:
function rgSchoolMonitor_OnDataBinding()
{
var grid = $find("<%=rgSchoolMonitor.ClientID %>");
var masterTableView = grid.get_masterTableView();
var pageCount = masterTableView.get_pageCount();
if (pageCount > 1)
{
//Need to Iterate Through Pages
var pageIndex = masterTableView.get_currentPageIndex();
if ((pageIndex + 1) > (pageCount - 1))
{
masterTableView.set_currentPageIndex(0);
}
else
{
masterTableView.set_currentPageIndex((pageIndex + 1));
}
}
}
