Mar 03, 2010, 7:11 AM
content inside rowexpander template won't update
hi there i have a grid panel, the problem is if i call a server side update of the grid panel content, the content of the grid row is updated, but the text inside the row expander does not get updated.
server side update
server side update
[AjaxMethod]
public void bindQuestionSetContent_AM()
{
int pqsid = Convert.ToInt32(hdnParentWinQSID.Value);
try
{
bindQuestionSetContent(pqsid, ....................);
extgpMyQS_SelectionModel.ClearSelections();
}
catch
{
bindQuestionSetContent(pqsid);
}
}
private void bindQuestionSetContent(int pqsid, int selectedview)
{
try
{
DataTable dtMyQSContent = ...............;
extstorePQS.DataSource = dtMyQSContent;
extstorePQS.DataBind();
}
catch (Exception ex)
{
.....................
}
}
<ext:RowExpander ID="RowExpander1" runat="server" ColumnPosition="1" >
<Template ID="Template1" runat="server">
<p>About this Question: {description}</p>
</Template>
<Listeners>
<BeforeExpand Fn="descriptionExpanded" />
<Expand Fn="descriptionExpandedDone" />
</Listeners>
</ext:RowExpander>
<ext:GridPanelMaintainScrollPositionOnRefresh runat="server"></ext:GridPanelMaintainScrollPositionOnRefresh>
{description} does not get updated