A few months ago i was told that there was a bug that would might be fixed soon
"As for the event not being raised, i looked into the code, and there is a bug, where it only fires for TemplateColumns that are bound to data. I have logged an issue for it, and it should be fixed in our next ServiceRelease."
Has this issue been fixed yet?
Hi,
You can access the latest Service Release on your own download page:
https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
-SteveZ
Ok, not sure why I don't. I updated it in january. How do i upgrade my current version?
You need build number 9.2.20092.1065 or above. That's the build that is shipped with the SR I mentioned above.
So, you would need to apply tha latest SR (available at our site) in order to have this issue fixed.
HTH,
I have version 9.2.20092.1007.
I just tested this and it the cell control attach still does not work for any cell in columns that i create with the following loop:
while (currentDate <= finishDate)
{
var tc = new TemplateColumn();
tc.HorizontalContentAlignment = HorizontalAlignment.Left;
tc.VerticalContentAlignment = VerticalAlignment.Top;
tc.ItemTemplate = (DataTemplate)Resources["myCellTemplate"];
//var tc = (TemplateColumn)Resources["TemplateColumn"];
tc.HeaderText = currentDate.Value.ToString("ddd\nMM/dd");
tc.Tag = currentDate.Value.ToString("yyyy/MM/dd");
tc.HorizontalContentAlignment = System.Windows.HorizontalAlignment.Center;
//tc.HeaderStyle = App.Current.Resources["HeaderCellControlStyle1"] as Style;
tc.CellStyle = Application.Current.Resources["RedStyle"] as Style;
tc.Key = "day" + count++;
TaxonomyGrid.Columns.Add(tc);
currentDate = currentDate.Value.AddDays(1);
Yes, this has been fixed and verified in our last 2009 ServiceRelease which was shipped end of November 2009.
Have you tried applying the ServiceRelease?