User Profile & Activity

Alfred La Garde Member
Page
of 2

Is there an example of this?

Posted: November 4, 2010 3:30 PM

If fixed it by adding the following code after statusCell.SetText(txd1, true);

 

row.AddPendingChanges();

grid.UpdatePendingChangesStatus();

 

Al

 

row.AddPendingChanges();

grid.UpdatePendingChangesStatus();

 

Al

Posted: November 2, 2010 8:02 AM

Glenn;

The builds that I have are 310 for Desktop and 220 for WebCombo.  I don't see 312 in the list of builds on the Developer site.  Here is the code that I am using:

WebCombo combo = new WebCombo("WebCombo1");
            combo.Width = Unit.Pixel(166);
            combo.Height = Unit.Pixel(20);
            combo.MultipleSelectionSettings.Enabled = true;
            combo.UseDefaultStyle = true;
            combo.LayoutSettings.TextBoxMode = TextboxMode.ReadOnly;
            combo.LayoutSettings.ResultBoxWindowType = ISNet.WebUI.DisplayType.Normal;
            combo.Style["Position"] = "Absolute";
            combo.Style["Top"] = "25px";
            combo.Style["Left"] = "5px";
Posted: November 2, 2010 7:48 AM

Thanks. That corrected the problem.

Posted: November 1, 2010 7:21 PM

Glenn;

When I set the ResultBoxWindowType to normal it has a problem rendering when used with panes.  The attached picture is before attempting to display it in SharePoint.

Thanks,

Al

Posted: November 1, 2010 7:01 PM

I recieve the same error with your example.  See the attched files. 

Posted: October 26, 2010 4:08 PM

Handy;

I am away on holiday, and will provide additional information when I return.

Al

Posted: March 18, 2010 6:39 PM

Glenn;

 

Here is a simple Silverlight 3 project with a DataGrid.  The DataGrid is successfully populated using the Silverlight enabled WCF Service.  I am trying to figure out how to replicate this simple DataGrid using Grid Presenter.

Thanks,

Al

Posted: March 17, 2010 7:09 PM

This is a follow with additional information.

I have a Silverlight project which uses the Silverlight enabled WCF service, and an ADO.Net Entity Data Model.  I am able to bind data to charts and the standard DatGrid using the above services.  When I attempt to connect this data with Astoria or WCF DataSource, or use the unbound mode I get a blank GridPresenter.  I can get data into the GridPresenter only if I use the unbound mode, and the data is in an xml file.

Below are the names of the various data objects.  Based on the names below how would I create either an Astoria or WCF Data Source, and which is the correct one given my configuration.

PSService name of my Silverlight enabled WCF Service.

PSModel is the name of my Entity Model.

PSEnity is the name stored in the Web.Config for my enity model.

PSServiceRef is the name of my Service Reference in the Silverlight project.

I have attached the ServiceReference.ClientConfig and the PSSevice.svc.cs files

 

Thanks,

Al

Posted: March 17, 2010 2:23 AM

Glenn;

Thank you.  I did see the unbound example using the XML data source, but when attempt it using something like the code below where dg is my GridPresenter.   I get a an empty GridPresenter.  I see rows, but there are no columns of data. 

 I could not find an example using Silverlight Enabled WCF Service only the normal WCF Service.

 

Thanks again,

Al

 

void LoadTable()

{

PSServiceRef.PSServiceClient ws = new PSServiceRef.PSServiceClient();

ws.GetProjectsCompleted += new EventHandler<PSServiceRef.GetProjectsCompletedEventArgs>(LoadTableCompleted);

ws.GetProjectsAsync();

}

PSServiceClient ws = new PSServiceRef.PSServiceClient();

ws.GetProjectsCompleted += new EventHandler<PSServiceRef.GetProjectsCompletedEventArgs>(LoadTableCompleted);

ws.GetProjectsAsync();

}

new EventHandler<PSServiceRef.GetProjectsCompletedEventArgs>(LoadTableCompleted);

ws.GetProjectsAsync();

}

void LoadTableCompleted(object sender, PSServiceRef.GetProjectsCompletedEventArgs e)

{

dg.ItemsSource = e.Result;

}

All times are GMT -5. The time now is 10:38 PM.
Previous Next