Advanced Forum Search Results
-
You can't call a function in your SendCompleted event handler which could cause reentrancy into the Silverlight control, such as calling into the HtmlPage.Window.Alert function.
HtmlPage.Window.Alert("alert user"), HtmlPage.Window.Invoke("alertUser") or System.Windows.MessageBox.Show("alert user"), all of ...
-
@dr d b karron
The uservoice page is the official wishlist, it's created by the Silverlight Program managers.
http://silverlight.uservoice.com/pages/4325-feature-suggestions
-
I had a simiar problem in the past. Could you post us your source code (a zip file would be best)?
Thanks.
-
I got the same result with just using the built-in datagrid without sub-classing (see my earlier reply above). The hovered row is wrong and two rows have the same background.
Now I've investigated more than a half week into this problem and I'm pretty sure it's misbehavior of the datagrid. What do you think?
-
Here a print screen which show the side effect, because of this wrong index from the test above.
-
Well, range of 30 to 40 is definitively wrong. It should be 33 to 43.
Please note: this is the index of the viewed items in the observable collection and there are now 3 items inserted on top of the collection. You get the same wrong result as on my machine. Please also note, this index has nothing to do with the displayed one in the first ...
-
Very Strange.
I've tested it on several machines, all ends in the same misbehavior.
Do we use the same version? 3.0.40818.0
Maybe you can test something for me? make your browser height smaller so that only 10 rows are visible. Then scroll down to row 30 (row 30 must be on top in view). Press button "Show current indexes". The ...
-
Hi Michael,
Unfortunately not. I changed it to the build-in DataGrid and the same misbehavior happens. The only reason for EvdDataGrid subclass is to the get an instance of the rowpresenter in the OnApplyTemplate override.
Could you post me your solution?
Best regards,
Beat
P.S: This is the code of my datagrid subclass. public class ...
-
This week I ran into a very strange behavior with the Silverlight DataGrid.
I added new items via an ObservableCollection to a set of existing items which are already bound to a standard DataGrid. If the new items are inserted on a lower index than the currently displayed range of items the result of the DataGridRow.GetIndex is not correct. ...
-
@K2P2You can achieve that with today's language features like the following. public interface IDemo
{
void Run();
}
public class Demo : IDemo
{
#region IDemo Members
void IDemo.Run()
{
// implementation goes here
}
#endregion
...