Click here to Skip to main content
16,010,553 members
Home / Discussions / WPF
   

WPF

 
QuestionCan we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Mohammad Dayyan25-Oct-08 6:32
Mohammad Dayyan25-Oct-08 6:32 
AnswerRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Timmy Kokke25-Oct-08 8:13
Timmy Kokke25-Oct-08 8:13 
AnswerRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Pete O'Hanlon25-Oct-08 8:29
mvePete O'Hanlon25-Oct-08 8:29 
GeneralRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Mohammad Dayyan2-Nov-08 3:27
Mohammad Dayyan2-Nov-08 3:27 
GeneralRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Pete O'Hanlon3-Nov-08 8:31
mvePete O'Hanlon3-Nov-08 8:31 
AnswerRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
User 27100925-Oct-08 9:23
User 27100925-Oct-08 9:23 
QuestionControl to control event Pin
Gareth H25-Oct-08 2:54
Gareth H25-Oct-08 2:54 
AnswerRe: Control to control event [modified] Pin
DaveX8626-Oct-08 5:14
DaveX8626-Oct-08 5:14 
I think the only way you could make that work, would be to have both of them communicate with their parent container and let the parent be the go-between.

If you look at the test web page that VS2008 generates, there's some javascript in there that might give you a clue how to go about it:

function onSilverlightError(sender, args) {<br />
<br />
    var appSource = "";<br />
    if (sender != null && sender != 0) {<br />
        appSource = sender.getHost().Source;<br />
    } <br />
    var errorType = args.ErrorType;<br />
    var iErrorCode = args.ErrorCode;<br />
    ...<br />
    ...


You could maybe pass a custom function to your Silverlight objects as a parameter the same way the error handler is passed:

<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"><br />
    <param name="source" value="ClientBin/SilverlightApplication2.xap"/><br />
    <param name="onerror" value="onSilverlightError" /><br />
    <param name="background" value="white" /><br />
    <param name="minRuntimeVersion" value="2.0.31005.0" /><br />
    <param name="autoUpgrade" value="true" /><br />
    <a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;"><br />
        <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/><br />
    </a><br />
</object>


It's just a thought...don't know if it'd work or not Smile | :)

Update: I don't think my above suggestion will work. I found an interesting video on InitParams here[^] though.

Update2: Oh yes you can do it. Here's a video[^] that tells how

modified on Sunday, October 26, 2008 1:10 PM

QuestionSilverlight Effects with VS2008 Pin
pavanip25-Oct-08 0:05
pavanip25-Oct-08 0:05 
QuestionCommunicating with a self-hosted WCF service Pin
Ravi Bhavnani24-Oct-08 18:43
professionalRavi Bhavnani24-Oct-08 18:43 
AnswerRe: Communicating with a self-hosted WCF service Pin
Jerry Evans27-Oct-08 9:09
Jerry Evans27-Oct-08 9:09 
GeneralRe: Communicating with a self-hosted WCF service Pin
Ravi Bhavnani27-Oct-08 9:50
professionalRavi Bhavnani27-Oct-08 9:50 
GeneralRe: Communicating with a self-hosted WCF service Pin
Ravi Bhavnani27-Oct-08 11:16
professionalRavi Bhavnani27-Oct-08 11:16 
GeneralRe: Communicating with a self-hosted WCF service Pin
Jerry Evans28-Oct-08 1:25
Jerry Evans28-Oct-08 1:25 
GeneralRe: Communicating with a self-hosted WCF service Pin
Ravi Bhavnani28-Oct-08 3:05
professionalRavi Bhavnani28-Oct-08 3:05 
GeneralRe: Communicating with a self-hosted WCF service Pin
Jerry Evans28-Oct-08 4:02
Jerry Evans28-Oct-08 4:02 
GeneralRe: Communicating with a self-hosted WCF service Pin
Ravi Bhavnani28-Oct-08 6:41
professionalRavi Bhavnani28-Oct-08 6:41 
GeneralRe: Communicating with a self-hosted WCF service Pin
Ravi Bhavnani29-Oct-08 7:19
professionalRavi Bhavnani29-Oct-08 7:19 
QuestionSilverlight listening to a .NET Control Event Pin
Gareth H24-Oct-08 7:32
Gareth H24-Oct-08 7:32 
AnswerRe: Silverlight listening to a .NET Control Event Pin
lneir12-Nov-08 18:55
lneir12-Nov-08 18:55 
QuestionProblem in WPF Application Pin
dwarakk23-Oct-08 22:50
dwarakk23-Oct-08 22:50 
AnswerRe: Problem in WPF Application Pin
User 27100925-Oct-08 9:28
User 27100925-Oct-08 9:28 
QuestionWhich language ? Pin
Mohammad Dayyan23-Oct-08 22:18
Mohammad Dayyan23-Oct-08 22:18 
AnswerRe: Which language ? Pin
Pete O'Hanlon23-Oct-08 22:46
mvePete O'Hanlon23-Oct-08 22:46 
GeneralRe: Which language ? Pin
Mohammad Dayyan23-Oct-08 23:08
Mohammad Dayyan23-Oct-08 23:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.