I have a RadGrid control in which I want to display a ToolTip for certain columns which contain information from the same data row in the data table. I'm getting the results I expect on the first load of the RadGrid. However, if I push a button which does a postback and databinds the RadGrid to the new SQL, I only get $nbsp; as the tooltip. I've searched and can not find the answer. Please help.
ASPX (It does become visible in the button push).
This is the code within radgrid1_ItemDataBound which does provide the correct results the first rendering of the RadGrid.
ASPX (It does become visible in the button push).
<telerik:RadGrid ID="radgrid1" runat="server" Visible="False" MasterTableView-EnableNoRecordsTemplate="true" DataSourceID="" AllowPaging="True" PageSize="20" OnItemDataBound="radgrid1_ItemDataBound"> <MasterTableView></MasterTableView></telerik:RadGrid>This is the code within radgrid1_ItemDataBound which does provide the correct results the first rendering of the RadGrid.
If (TypeOf e.Item Is GridDataItem) Then Dim dataItem As GridDataItem = CType(e.Item, GridDataItem) dataItem("SSN4").ToolTip = dataItem("SSN").Text dataItem("Client").ToolTip = dataItem("Description").Text dataItem("Status").ToolTip = "Change date: " & dataItem("StatusChangeDate").TextEnd If