RE: [OzSilverlight] Web Service url Configuration for SL App.?

2008-10-21 Thread Ola Karlsson
Hi Muhammad, Have a look at InitParameters/initParams, the let you set initial values on your Silverlight plugin object. Here's a post that covers it in a step by step fashion http://nerddawg.blogspot.com/2008/03/how-to-pass-initialization-params-to.html The main post covers using the

RE: [OzSilverlight] Web Service url Configuration for SL App.?

2008-10-21 Thread Jordan Knight
Hey Muhammad, Have a peek at this post... it lets you automatically find the URL for your webservice relative to your application, so no need to do any configuration :) http://blog.webjak.net/2008/10/21/get-a-relative-uri-to-your-webwcf-service-in-silverlight/ From: [EMAIL PROTECTED]

RE: [OzSilverlight] Web Service url Configuration for SL App.?

2008-10-21 Thread Muhammad Niaz
Hi Jordan, Thanks for reply but can you send any complete SL App that using this kind code. Thanks Regards Muhammad Niaz Software Engineer Intagleo Systems Pvt Ltd From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Knight Sent:

RE: [OzSilverlight] Web Service url Configuration for SL App.?

2008-10-21 Thread Muhammad Niaz
Hi Jordan, I try your code, there is no success, Regards, Niaz From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Niaz Sent: Tuesday, October 21, 2008 2:08 PM To: listserver@ozSilverlight.com Subject: RE: [OzSilverlight] Web Service url Configuration

Re: [OzSilverlight] Drop Drag - DataGridRow

2008-10-21 Thread Stephen Price
I got drag and drop between listboxes working in a prototype I was working on few months ago. I used canvas's and a method that checked for a collision/overlap between the two elements when you did the drop. Used the standard mouse approach of move events while button down to animate the dragging

Re: [OzSilverlight] Drop Drag - DataGridRow

2008-10-21 Thread Valentin Stoychev
I hope you will not treat this as an advertisement. Take a look at this example from the Telerik QuickStart Application. http://demos.telerik.com/silverlight/#Examples/DragAndDrop/FirstLook It is using the Telerik Drag/Drop framework that do exactly what you need, but with listboxes. Modifying

Re: [OzSilverlight] Drop Drag - DataGridRow

2008-10-21 Thread .net noobie
Thanks, I found this link for a ListBox versionneeded to update the .HitTest to SL2 and it works fine I only wanted a single column, I used a DataGrid because I was being lazy and wanted to use the DataGrid Header, but I will just make that for a ListBox :) changed this line for SL2 ListUIElement

RE: [OzSilverlight] Web Service url Configuration for SL App.?

2008-10-21 Thread Jordan Knight
Hey mate, I've updated the article with a downloadable code sample :) The samples in the article are in VB.NET but the downloadable sample is in C# :) Cheers, Jordan. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Niaz Sent: Tuesday, 21 October 2008 9:34 PM To:

RE: [OzSilverlight] Web Service url Configuration for SL App.?

2008-10-21 Thread Ross McKinnon
Your too nice Jordan! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Knight Sent: Wednesday, 22 October 2008 7:35 AM To: listserver@ozSilverlight.com Subject: RE: [OzSilverlight] Web Service url Configuration for SL App.? Hey mate,

Re: [OzSilverlight] Drop Drag - DataGridRow

2008-10-21 Thread ross jempson
Wouldn't this option you presented create a runtime cast error anyway? ListUIElement elements = (ListUIElement)VisualTreeHelper.FindElementsInHostCoordinates(e.GetPosition(null),this); Hence .ToList() is better I would suggest. Another thing to consider is whether you actually need a List which

Re: [OzSilverlight] Drop Drag - DataGridRow

2008-10-21 Thread .net noobie
no it works On Wed, Oct 22, 2008 at 10:15 AM, ross jempson [EMAIL PROTECTED]wrote: Wouldn't this option you presented create a runtime cast error anyway? ListUIElement elements = (ListUIElement)VisualTreeHelper.FindElementsInHostCoordinates(e.GetPosition(null),this); Hence .ToList() is

Re: [OzSilverlight] Drop Drag - DataGridRow

2008-10-21 Thread ross jempson
this isn't really a c# list, but i will respond. ok, to be pedantic i think the only reason it works is because you are lucky the method you are calling is storing the the data internally as ListUIElement, or something that can be cast to ListUIElement. but you are programming against an

RE: [OzSilverlight] Drop Drag - DataGridRow

2008-10-21 Thread Jordan Knight
+1 As Jeffrey Richter says: Always take the least specific and return the most specific :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ross jempson Sent: Wednesday, 22 October 2008 1:20 PM To: listserver@ozsilverlight.com Subject: Re:

RE: [OzSilverlight] Web Service url Configuration for SL App.?

2008-10-21 Thread Muhammad Niaz
Hi Jordan, Thanks for response on my email, it was really helping for me. Thanks Again Jordan Thanks Regards, Muhammad Niaz Software Engineer Intagleo Systems Pvt Ltd. +92 321 569 4195 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Knight