Hi. I am Marko.
How do I make popup window just like the options window You made on this sample page (I repeat OPTIONS WINDOW):
http://samples.infragistics.com/sllob/RunSamples.aspx?cn=dialog-window#/dialog-window/showing-the-dialog
Code:
xmlns:optPanel="clr-namespace:Infragistics.Web.SampleBrowser.SilverlightLOB.CustomControls"
<optPanel:OptionsPanel HeaderText="{Binding Source={StaticResource Strings}, Path=XDW_Options}"> <StackPanel Orientation="Vertical" Margin="5"> <Button Content="{Binding Source={StaticResource Strings}, Path=XDW_ShowDialog_Plain}" Height="22" Margin="0,0,0,10"></Button> <Button Content="{Binding Source={StaticResource Strings}, Path=XDW_ShowDialog_Container}" Height="22" Margin="0,0,0,10"></Button> <Button Content="{Binding Source={StaticResource Strings}, Path=XDW_ShowDialog_MessageBox}" Height="22"></Button> </StackPanel> </optPanel:OptionsPanel>
The thing is I want to make exact same thing and that includes: shadows around the edges, movable ,semi transparent when moving, expandable on that + - button. Only difference I would make it pop up on some button click and it would have fade-in appearing effect. I like it very much but I don't have the code for that custom control. Can You please paste all the required code and instructions here how to do this. It would be very cool. Thank You.
Hi Stefan, I have one interesting question:
How do one make a template for printing a report to look something like this:
Note that this is NOT table-like report THAT PRINTS DATA ONE LINE BELOW THE OTHER, this is report that has specific part of the page reserved for specific data like for example top left corner reserved for customer name, top center reserved for report title (big letters) ect..
I have tried so far something like this:
Report report;
report = Application.Current.Resources["Report1"] as Report;
xamGridAktivnosti.ItemsSource = listaAktivnosti; report.ItemsSource = e.Result;
report.EndPrint += (s, e) => MessageBox.Show("Dokument je odštampan."); report.BeginBuildReportItem += (s, e) => { var item = e.DataContext as Aktivnosti; }; report.BeginBuildReportFooter += (s, e) => { }; report.Print();
But this prints data line below line, and I don't need that, I need templated report, How do I do this?
Best regards,
Marko.
Hello Marko,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Hi Stefan,
I have installed some things (some Silverlight Toolkit update) and now I can see that control
"<toolkit:TimeUpDown " in my Toolbox to the left. and now I can rebuild my silverlight project without loosing references. Frankly I don't know what was the problem before, but now it seams that this issue is resolved.
I think I do but I will install it again just to make sure and then I'll get back to you.
Hello,
Do you have the same release of Silverlight Toolkit installed on your home machine, like the one on your work computer?