I am using custombinding to pass back to the server a large string. It seems that the maximum size is only 4 megabytes. Here is my Any ideas how to pass a string larger than 4 megabytes and up to 2147483647 bytes?
VickyC
Posts
-
WCF-Silverlight -
Where to snack in Tokyo?The website is bad...the food/environment looks good.
-
Why? Why?!! WHY!!!!Do you get paid for the job?
-
Don't they know what an array is?Does the language support lists?
-
Treeview Expansion in MVVMit was just a long day...thanks though.
-
Treeview Expansion in MVVMI have tried the application that is listed Silverlight Auto Complete Treeview[^] It seems to be a good solutions accessing the View Model in a MVVM application using the treeview. The core of this article is based on Bea Stollnitz's solution to treeview expansion in Silverlight. However, it does not like to get binded using DataContext and ItemsSource in XAML. Does anybody has come up with a solution?
-
LINQ, XML to tree classFYI: I should have done public static List<Hierarchy> GetHierarchy(XContainer root) { List<Hierarchy> retVal = new List<Hierarchy>(); var children = from treenode in root.Descendants("TREENODE") select treenode; foreach (XNode xn in root.Nodes()) { Hierarchy node = new Hierarchy(); node.Code = ((XElement)xn).Attribute("code").Value.ToString(); node.Text = ((XElement)xn).Attribute("text").Value.ToString(); retVal.Add(node); node.Hierarchies = GetHierarchy((XContainer)xn); } return retVal; }
-
LINQ, XML to tree classI have the following XML: <?xml version="1.0" encoding="utf-8" ?> <string xmlns="http://none.none.none/webservices"> <TREENODES xmlns:sql="urn:schemas-microsoft-com:xml-sql"> <TREENODE code="1" text="None" > <TREENODE code="2" text="America" > <TREENODE code="16128" text="AUTOS"> <TREENODE code="ATO" text="ATO" /> <TREENODE code="ATO" text="ATO" /> </TREENODE> </TREENODE> </TREENODE> <TREENODE code="11" text="None" > <TREENODE code="21" text="America" > <TREENODE code="3" text="AUTOS"> <TREENODE code="ATO44" text="ATO5" /> </TREENODE> </TREENODE> </TREENODE> </TREENODES> </string> And this code to read the xml into class Hierarchy. void client_ReadCompleted(object sender, ReadCompletedEventArgs e) { if (e.Error == null) { string s = e.Result.ToString(); XDocument document = XDocument.Parse(s); var retVal = (from treeNode in document.Descendants("TREENODE") select new Hierarchy() { Code = treeNode.Attribute("code").Value, &n
-
XML to ObservableCollectionit was the FirstOrDefault not SingleOrDefault. Will this work if I change the class from List to ObservableCollection? Thanks a bunch.
-
XML to ObservableCollectionHave you seen the Linq exception "Sequence contains more than one element"? It comes from Populate.
-
XML to ObservableCollectionAlso this class it seems that will create a simple list. Not a tree like the XML.
-
XML to ObservableCollectionSo what would be the LINQ? Thanks in Advance
-
XML to ObservableCollectionHow can I load an XML Document to an ObservableCollection class that preserves the XML tree structure? My xml looks like this: <?xml version="1.0" encoding="utf-8" ?> <string xmlns="http://none.none.none/webservices"> <TREENODES xmlns:sql="urn:schemas-microsoft-com:xml-sql"> <TREENODE code="1" text="None" > <TREENODE code="2" text="America" > <TREENODE code="16128" text="AUTOS"> <TREENODE code="ATO" text="ATO" /> <TREENODE code="ATO" text="ATO" /> </TREENODE> </TREENODE> </TREENODE> <TREENODE code="11" text="None" > <TREENODE code="21" text="America" > <TREENODE code="3" text="AUTOS"> <TREENODE code="ATO44" text="ATO5" /> </TREENODE> </TREENODE> </TREENODE> </TREENODES> </string>
-
Access ASX in crossdomain [modified]How can I access an asx file from a different domain? I have a Silverlight MediaPlayer (it comes with SilverLight tools. I use Silverlight 2.2 beta). The Silverlight is hosted in an ASP page. Normally if you supply in mediasource the file name (for example movie.wmv) it plays the file.
modified on Tuesday, July 22, 2008 11:47 PM
-
WPF Designer VS2008Thanks for the answer. I wonder if Microsoft will fix the WPF Designer in VS 2005?
-
WPF Designer VS2008Does anyone knows where is the "Windows Presentation Foundation Designer" executable that is shipped with Visual Studio 2008?
-
page timesoutFYI. My method just worked. May be you should follow it.
-
page timesoutI appreciate your support. I just need to hit the sack. It has been a long day.
-
page timesoutIt is a heavy duty page but as you say is just a silly thing. 1. At any given time only a single selection is done 2. Just pass parameters to an sql data source. 3. The stored procedure(s) do the work. 4. Analyze/format/populate the data into a grid view. 5. Trigger via the selection item of the main grid 2 more detailed grid views. The process is repeated for the detailed gridviews. Sometimes there is no page expiration. But then some times when larger datasets are called then for sure there will be a page timeout. It all way though happens on the gridview databind. The larger datasets are not that large (50 recs vs 2). The underlying data of the stored procedure contain lot of data. But how could this be relevant? On stand alone page there is no issue. But I would hate to separate the gridviews since they provide an nice concise presentation.
-
page timesoutThere are just similar queries that provide sales analysis and forecasting. 9 gridviews 2 dropdown list boxes, 7 radio buttons, 1 textbox, 1 button, 8 sqldatasources. The total size of the aspx is about 189k. But at any given time only a few of these are activated.