Advanced Forum Search Results
-
I've made some progress on this. My WCF Service allows anonymous access. My website & silverlight app uses Integrated or Basic authentication.
The problem seems to be the Integrated auth on the website. If I turn that off, and have Basic only, the silverlight can talk to the WCF Service no problem!
Now my understanding is that ...
-
The page containing the silverlight is called from something along the lines of:
<a href="mypage.aspx">click</a>
That should be fine, yes?
-
I have a very weird intermittent exception ('NotFound') when calling a WCF service from Silverlight 2 RTW.
The call works perfectly in Visual Studio (calling the live WCF service, ie cross-domain). I have a clientaccesspolicy file. If I rename this it breaks, so it's working!
The call works perfectly on the live server (not cross ...
-
Sounds good - I'll give it a go.
Re RowState, I tried hooking CommitCellChange but it never got called. The Row changing event calls, but the datacontext is the row before the edit, not after.
However, I suppose I could build a list of PK's from that handler, showing that the row had been subject to a rowchange event.
John
-
Hi all,
A few issues with the new datagrid:
1) This hangs a datagrid in beta 1:
var col = new ObservableCollection<string>();
mygrid.ItemSource = col;
2) Binding to a string[] seems to be readonly, you must bind to a more complex structure (like:
public struct MyStruct { public Name {get; set;} }
to get an editable ...
-
No problem!
So anyone know how to perform inserts / deletes using the datagrid?
And how do I find out which items are new / edited (like RowState in a DataTable)? If I show the user a bunch of data, I only want to send the edited rows back to the server!
I know it's a first beta of the datagrid, but I'm not too impressed so far. Maybe ...
-
Although this doesn't work with ObservableCollection<string>, it works fine with ObservableCollection<MyStruct> where MyStruct is something like:
public struct MyStruct { public Name {get; set;} }
However, edits performed in the grid don't get sent back to the observablecollection, UNLESS the items are classes ...
-
No one else experienced this?
-
I had problems until I explicitly set the url of the service in the client code. Mine was a WCF service in the same project, so I just did:
BasicHttpBinding b = new BasicHttpBinding();
ServiceReference1.MyServiceClient cl = new SilverlightApplication1.ServiceReference1.MyServiceClient(b, new ...
-
I'm trying out the datagrid in SL2 beta1. If I bind to either a string[] or an ObservableCollection<string>, editing doesn't work! I can edit values on screen, but as soon as I move off the record, they revert.
How do I make the grid editable?
BTW, doing this seems to hang the app:
var col = new ...