Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1910
Fill textbox (outside of the grid) with the value of a specific cell
posted

When a new row is active, I want to fill a textbox outside of the grid with the value of a specifi cell. Here is what I have so far:

function gridMembers_AfterRowActivateHandler(gridName, rowId){

var row = igtbl_getRowById(rowId);
var cell = row.getCell(0).getValue(); //Member ID

alert(cell);
}

I can get the alert to appear every time I select a row...and it displays exactly what I'm looking for, but I can't seem to get it to change the value of a textbox on the page with the same thing. I have tried it several ways and just can't seem to get it to work.

This is how I have things laid out on my page:

<form name="frm">
   <WARP>
      <UltraWebGrid>
      </UltraWebGrid>
      <asp:TextBox ID="TextBox1" runat="server" name="TextBox1"></asp:TextBox>
   </WARP>
</form>