Advanced Forum Search Results
-
Hi,
Found a solution thanks to this post. It is based on scrolling through the grid rows by code and reading the rows in the LoadingRow event.
Here is a class inherited from the DataGrid that shows the idea:
using System.Collections.Generic;
using System.Linq;
using System.Windows.Controls;
namespace Client.UI
{
public class ...
-
Hi,
Yes, I could get the data from the ItemsSource but I have difficulties getting it in the correct sorting order. Also if the data is formated or converted in the binding the value in the ItemsSource is not the same as in the grid cell.
Tim.
-
Hi,
I'm having trouble with a very simple task, I'm trying to read the contents of a DataGrid into a string list for creating an Excel document.
My first approach was to read the data from the cell with the GetCellContent method: foreach (var item in linkDataGrid.ItemsSource.Cast())
{
foreach (var ...
-
Hi,
Found the reason, the object tags data property should contain a trailing comma like:
<object id="myplugin" data="data:application/x-silverlight-2,"
Seems like IE is forgivable but FF not
Just an UNACCEPPTABLE mistake from my side
Tim
-
When I open up my Silverlight 2 -application in FF3 I keep getting the 'Install Silverlight' banner. On IE7 everything works just fine. I have the latest runtime version (3.0.40818.0) installed.
The strange thing is that I can open other Silverlight sites with FF without getting the Install-banner, it is just my own site that causes ...
-
Hi,
True, without the XPS Viewer you cannot open it up inline. But if your web page sends the file back as an attachment, the user can save the file. But as far as I know the XPS viewer is part of the XPS printing system so if your user can print it he can also view it inline.
Regards,
Tim
-
Hi silverbyte,
I do it in two steps, first I post my XAML using HttpWebRequest to an aspx page on the server where the xps is created and temporarily stored in session memory as a byte array. When the post returns to the client I use HtmlPage.Window.Navigate to open up the page in a new window again and the page then streams the byte array ...
-
Hi Andrus,
The best choice is to use the asp.net session memory on the server. This must first be enabled for your service like this:
http://www.sajay.com/post/2006/08/03/Using-a-Session-in-WCF-through-AspNetCompatibility.aspx
Then, in your service you can have code like this to store and retrieve data to/from the ...
-
Hi,
I havn't found any good solution for this.
Currently I do it in two steps, first I post the data to the page with HttpWebRequest, then the data is processed and stored in server memory and when the post returns, I use HtmlPage.Window.Navigate(uri, "_blank") to open up the contents. Not elegant but it works.
Tim
-
Hi and thanks,
Unfortunately Silverlight 3 isn't an option yet for me ;-(
Tim