RE: [OzSilverlight] Build Ninject for Silverlight

2008-10-08 Thread Miguel Madero
I found about this on the forum J

Too bad it’s hard coded L

But it’s working fine.  

 

 Miguel A. Madero Reyes

  http://www.miguelmadero.com/ www.miguelmadero.com (blog)
  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] 
 (871)730-8319
 (871)763-0020
 Peten #509 
 Fracc Florida Blanca, 27260
 Torreón, Coahuila

P Please reconsider your environmental responsibility before printing this
e-mail

The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee. If you are not the
intended recipient, any disclosure, copying, distribution or any action
taken or omitted to be taken in reliance on it, is prohibited and may be
unlawful.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jonas Follesø
Sent: Wednesday, 8 October 2008 4:52 PM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] Build Ninject for Silverlight

 

Hi Jordan,

Don't know if you've worked this one out. But I figured I'll answer, as I
had the same issues some time back.

To build the entire solution, simply type build from a command line to
execute the build.cmd file. To build only the Silverlight 2 version type:

build platform-silverlight20

If you've installed Silverlight 2 RC0 this will yield the following message:

[echo] Silverlight v2.0 is not available. Skipping platform.

The problem is how the NAnt Silverlight Build tasks detects if Silverlight
is installed or not. It looks for a hard-coded path at 
C:\program files\Microsoft Silverlight\2.0.30523.8 - Which is the location
of Beta 2.0.

If you've upgraded you don't have this path anymore. The easiest fix is to
create this folder, and copy the content from the RC0 folder (2.0.30923.0)
into the Beta 2 folder (2.0.30523.8). That way you can trick the NAnt
build task and get it to build against RC0.

The real fix off course is to re-build NAnt with this fix, and update the
compiled version of NAnt under your Ninject folder structure.

Hope this solves your problem :)

Cheers,
Jonas



On Fri, Oct 3, 2008 at 3:46 PM, Jordan Knight [EMAIL PROTECTED]
wrote:

Hi Guys,

 

I need to build Ninject to get the latest updates (against SL). I have the
SVN repo checked out, just wondering how to actually build the SL
assemblies.

 

Cheers,

 

Jordan.

 

 

---
OzSilverlight.com - to unsubscribe from this list, send a message back to
the list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net 




--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.

Powered by mailenable.com - List managed by www.readify.net



[OzSilverlight] Arrow keys

2008-10-08 Thread Jordan Knight
Hey all

Is anyone able to help me capture arrow key presses in SL RC0?

I can cap other keys, but not arrows.

I have a fairly complex layout with scrolls etc, and I've tried putting the 
keyb handlers all up and down the tree.


Cheers,

Jordan



--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.

Powered by mailenable.com - List managed by www.readify.net



RE: [OzSilverlight] Arrow keys

2008-10-08 Thread Jordan Knight
It's key down (has to be, as they can hold down an arrow to move things).

I can capture other keys no problem, just arrows don't fire.

My Googleing suggests that this is an old issue (1.1 had some issues), but 
there isn't a lot of information out there on this issue from what I can tell.

If I can't do arrows, then i'll have to implement the same functionality with 
WSAD :)

Cheers,

Jordan.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perry 
Stathopoulos
Sent: Thursday, 9 October 2008 8:48 AM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] Arrow keys

Haven't tried it out myself, but are you hooking into the KeyDown or KeyUp? I 
was having issues capturing some keys with KeyDown, but once I changed to KeyUp 
everything worked wonderfully.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Knight
Sent: Wednesday, October 08, 2008 4:44 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] Arrow keys

Hey all

Is anyone able to help me capture arrow key presses in SL RC0?

I can cap other keys, but not arrows.

I have a fairly complex layout with scrolls etc, and I've tried putting the 
keyb handlers all up and down the tree.


Cheers,

Jordan
--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.173 / Virus Database: 270.7.6/1714 - Release Date: 10/8/2008 7:01 
AM
--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net



--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.

Powered by mailenable.com - List managed by www.readify.net



[OzSilverlight] RE: Passign a Server side object to Silverlight

2008-10-08 Thread Philip Beadle
Ok it looks like i can use XmlSerializer to serislaise the objects into a 
string and pass that in the intiaprams.  Now to deserialise on the other side.

Regards,
Philip Beadle
Readify | Principal Consultant
Microsoft MVP - ASP/ASP.NET, MCAD, MCT
Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
M: +61 417 301 024 | E: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] | C: [EMAIL 
PROTECTED]sip:[EMAIL PROTECTED] | W: www.readify.nethttp://www.readify.net/

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philip Beadle
Sent: Thursday, October 09, 2008 1:33 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] Passign a Server side object to Silverlight

Hi All,

Im trying to figure out how I can pass an instance of a server side object to 
my SL app on startup of the host page.  Im building a module for DotNetNuke 
(works great so far) and I would love to have an instance of the PortalSettings 
object in my SL app so I can take advantage of the DNN fx.I tried json 
serialising it but you cant pass that as a string because of all the  etc in 
the string.  Any other ideas?

Regards,
Philip Beadle
Readify | Principal Consultant
Microsoft MVP - ASP/ASP.NET, MCAD, MCT
[cid:image001.gif@01C92A1B.BD0C3FF0]
Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
M: +61 417 301 024 | E: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] | C: [EMAIL 
PROTECTED]sip:[EMAIL PROTECTED] | W: www.readify.nethttp://www.readify.net/

The content of this e-mail, including any attachments is a confidential 
communication between Readify Pty Ltd and the intended addressee and is for the 
sole use of that intended addressee. If you are not the intended addressee, any 
use, interference with, disclosure or copying of this material is unauthorized 
and prohibited. If you have received this e-mail in error please contact the 
sender immediately and then delete the message and any attachment(s).
P Please consider your environmental responsibility before printing this e-mail

--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net



--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.

Powered by mailenable.com - List managed by www.readify.net

inline: image001.gif

Re: [OzSilverlight] Passign a Server side object to Silverlight

2008-10-08 Thread Barry Beattie
   I tried json serialising it but you cant pass that as a string because of
 all the  etc in the string.  Any other ideas?

will encoding the data for HTML transmission and decoding it when it
hits the SL app help here? I mean, it's the same process as sending
URL variables and ASP.NET's request.querystring sorting it out for you

you just gotta get around the transport limitations while keeping the
data intact.


just an idea.
b


--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net




RE: [OzSilverlight] Passign a Server side object to Silverlight

2008-10-08 Thread Philip Beadle
XMLSerialiser fixed this up Barry.

http://philipbeadle.net/Home/tabid/252/EntryID/586/Default.aspx


Regards,
Philip Beadle
Readify | Principal Consultant
Microsoft MVP - ASP/ASP.NET, MCAD, MCT
Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
M: +61 417 301 024 | E: [EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W: 
www.readify.net


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Beattie
Sent: Thursday, October 09, 2008 4:41 PM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] Passign a Server side object to Silverlight

   I tried json serialising it but you cant pass that as a string because of
 all the  etc in the string.  Any other ideas?

will encoding the data for HTML transmission and decoding it when it
hits the SL app help here? I mean, it's the same process as sending
URL variables and ASP.NET's request.querystring sorting it out for you

you just gotta get around the transport limitations while keeping the
data intact.


just an idea.
b


--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net




--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net