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,
it's Marko again,
I have an issue with <ig:XamGrid xam grid silverlight control. I am trying to color rows background for different values of some column, for example if value of column [TIP] in some row is "EXTERNI" then fill the bg color of that row with color (255,0,0) and if some row has value "INTERNI" for column [TIP] paint that row in color (0, 255, 0). If value of column [TIP] in some row is "TEREN" than fill that row with color (0,0,255).. But what happens when I run my app is that this kind of coloring works but only on every second row (it's like red white blue white blue white green white green white) and as you can see there is a lot of white rows (other every second for which coloring doesn't work). Why is this happening? And what am I doing wrong? I am very curious about this.
Best regards,
Marko.
Ok, never mind about that thanks anyways, I have other issues with my project,
Thanks again, if I have any more issues I will write.
Hello,
I have been looking into your requirement but it seems like am missing something about your scenario, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you.
Looking forward for your reply.
Hi
When I start your project it works fine (expanding and collapsing) but when I copy code to my project and run it it throws an error in this function "GetChildFromName", error is: "Reference is not a valid visual DependencyObject." - it trows it at for loop and when I debug I can see that function parameter "parent" is NULL and that is the reason for not working right. Why is it NULL I don't know.
Any ideas??
Hello Marko,
I have been looking into your requirement and I modified the sample I sent you before, so now it has the functionality you want. Please let me know if this helps you or you need further assistance on this matter.