views:

277

answers:

3

i created a silverlight window and i whant it to appear when i press a button, how can i do it? it does't has a "show" method...

A: 

see: Silverlight Simplified MVVM Modal Popup http://www.codeproject.com/KB/silverlight/MVVMPopUp.aspx

alt text

Michael Washington
A: 

If you want to browse to a new silverlight application hosted in another html page you should use the NavigationService class to accomplish that.

If you on the other hand want to display another view defined in your silverlight application then you should do something like this Silverlight 3 Navigation.

Rune Grimstad
i just want to open my form in a new tab..
A: 

To open a new address in a new window use:-

 HtmlPage.Window.Navigate(new Uri("the address here"), "_blank");
AnthonyWJones
i wrote HtmlPage.Window.Navigate(new Uri("http://localhost:52878/DoNationFinalTestPage.aspx#/jjj"), "Organiztrion_info_from_toolTip"); is the window that i built, but it opens the application again in a new window and not the "Organiztrion_info_from_toolTip" window
@aharont: You say 'not the "Organiztrion_info_from_toolTip" window' as though it already exists. That being the case with what URL did you open it in the first place?
AnthonyWJones
the Organiztrion_info_from_toolTip is a silverlight window that i created and i wnat it to be open in a new window..what do you mean "did you open it in the first place"?
@aharont: Silverlight doesn't have true windows, like I've said in several places now edit your question to include the relevant chucks of code and Xaml you are currently using. Your responses to comments and answers have been ambiguous and contradictory. The best way to bring clarity to your question is by showing much more detail about what you have so far.
AnthonyWJones