3.0 beta 2

Grid cannot work well

Hi, I try to use this control in asp.net today, but I meet a problem. I do not if it is a bug or my problem.
1. I put a treeview on left and put the grid of ActiveWidgets on right. When we click one node, I get data from database and convert it to JOSN and use grid.setCellText(data), it work well. But I click this node again, this grid will disappear.

2. I put the treeview to UpdatePanel and put the grid to another UpdatePanel, when I selected a node of the tree, I get data from db and set to Grid, then invoked rightUpdatepanel.Update() , but the grid cannot show to me.

thanks for you answer and sorry for my poor English.
Archer
October 14,
1. What does your code do when the grid disappears?

2. as far as I understand the UpdatePanel does not execute script tags on update (please correct me if I am wrong).
Alex (ActiveWidgets)
October 14,
The code is following:
protected void tvEnergeBp_SelectedNodeChanged(object sender, EventArgs e)
{
if (tvEnergeBp.SelectedNode == null)
{
return;
}

if (string.IsNullOrEmpty(tvEnergeBp.SelectedNode.Value))
{
return;
}

SetIndicatorContent(Convert.ToInt16(tvEnergeBp.SelectedNode.Value));

}

for this line code :SetIndicatorContent(Convert.ToInt16(tvEnergeBp.SelectedNode.Value));

it will read data from database and bind data to grid.
When I click the treenode first it work well, if Iclick this node again, it will not enter tvEnergeBp_SelectedNodeChanged method because its node was not changed but it will refresh the page ,so the grid was disappear.

thanks!
Archer
October 17,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.