Here is my objective: I have a RadTextBox that opens a RadWindow when it receives focus. The RadWindow contains a RadGrid, which allows the user to select a row. Upon selection, the RadWindow closes and returns an a variable to the parent page. I then take the id that is returned, run a query to get a string value and place that string value in the RadTextBox. Everything is working fine until I try to put the string value in the RadTextBox. I can get the return value from the RadWindow and even place it in a label (see below).
The page will display the value for lblEmployeeId when the RadWindow closes, but not for rtbFirstName. However, if I click in rtbFirstName, the value will be displayed. I need it to display the same way as the lblEmployeeId. Please advise.
function refresh(id, name) { |
var lblEmployeeId = document.getElementById("<%= lblEmployeeId.ClientID %>"); |
lblEmployeeId.innerHTML = id; |
var rtbFirstName = document.getElementById("<%= rtbFirstName.ClientID %>"); |
rtbFirstName.value = name; |
} |
The page will display the value for lblEmployeeId when the RadWindow closes, but not for rtbFirstName. However, if I click in rtbFirstName, the value will be displayed. I need it to display the same way as the lblEmployeeId. Please advise.