Here is a list of the more important changes we have done in CT2:
Hi there,
i have a textbox in the groupHeaderSection1 called ResourceDivision. I am trying to test out the callbacks on the sections to see how to manipulate the data in the textbox.
The datafield property of the textbox is set up to pull text from the datasource, and it is displaying the text from the datarecord properly.
However..
1) I'd expect ResourceDivision.text content to be the dynamic content from the data record when stopping at breakpoints in the debugger in all callbacks. At least in one of the callbacks listed below? It isnt: it is showing the default text that's defined in the property panel for the textbox.
Looks like the data actually only gets bound to the textboxes AFTER the callbacks are triggered? Help?
2) I'd expected to be able to modify the data in the textbox through the callbacks, but since it seems to the actual binding is happening AFTER the callbacks it is actually overwritten with the actual datarecord's content.
private void groupHeaderSection1_ItemDataBinding(object sender, EventArgs e)
{
this.ResourceDivision.Text += "-1";
//this is nor reflected anywhere?
}
private void groupHeaderSection1_ItemDataBound(object sender, EventArgs e)
{
this.ResourceDivision.Text += "-2";
//this is nor reflected anywhere?
}
private void detail_ItemDataBinding(object sender, EventArgs e)
{
this.ResourceDivision.Text += "-3";
//this is nor reflected anywhere?
}
private void detail_ItemDataBound(object sender, EventArgs e)
{
this.ResourceDivision.Text += "-4";
//this is nor reflected anywhere?
}
Thanks,
Eric