Reputation: 1529
I am new to c# and i create a project in silverlight-5 and i chose "ASP.NET web application" while selecting the project. which has GUI coding in xml and behind i code in c# to handle the events. The project on running opens Internet explorer and shows the GUI there.(It is to explain you what kind a project i have created, I am not using WPF application, there are lot of samples for WPF but less for silverlight using xml).
I have to create a GUI which will consists of a button intially (suppose "File" ). On clicking "file" it must shows 3 buttons."Browse","save","close". GUI must be like this http://prntscr.com/35qlf3 (Like on click to "file" there are is a window that opened so the same way it must open a window containing these 3 buttons and then on clicking these 3 buttons must open another window where i have some text boxes and buttons).
Whereas on further click to "Browse" will open a window on same Internet explorer(don't open new IE window) where i will have a button to "Browse" a file and will further browse the file on click to it (I already have the code for browsing but have no idea to create an interface of Parent-Child buttons like this).
And there simiral kind of functioning associated with all other 2 buttons clicks as well(I mean they will also open a window on their click in the same place and on the same Internet explorer window).
Any ideas how to achieve it ?
Any link or piece of code is most appreciated.
Upvotes: 0
Views: 1039
Reputation: 222582
Make use of child Windows in Silverlight.This how you open child window from Main Page in Silverlight,
var ChildWindow1 = new ChildWindow();
ChildWindow1.Show();
Upvotes: 1