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.
Hello Stefan,
Yes I have NetAdvantage installed on my work machine and on my home computer,
but on my home machine when I open my project and rebuild it VS2010 cannot recognize some of the controls. For example I look the design and control "<toolkit:TimeUpDown" gets underlined and in error window I can see the message like "tag toolkit cannot be recognized check if you are not missing any references". Now, this control is not Infragistic but its standard Silverlight control. I have installed Silverlight Control Toolkit 4 on my home and work machines but this error happens. Also tag "<controls:OptionsPanel" gets underlined by VS2010 and in error window I get message as above " OptionsPanel cannot be recognized check if you are not missing any references" - but I have OptionsPanel.cs in my silverlight project. That is why I tought that something is wrong with project itself That is why I asked how the Path of the reference should look like when DLL file is in Bin/Debug folder cause no matter what I do path of the reference is C drive something something.
Hello again,
Could you please tell me what kind of errors do you have and do you have NetAdvantage installed on your computer?
Looking forward for your reply.
"because if it is true the assemblies are copied to the Output directory (bin or Debug)"
Isn't this what I wanted to achieve?
I suggest you set the Copy Local Property to False, because if it is true the assemblies are copied to the Output directory (bin or Debug).
Hope this helps you.
Hi Stefan,
This is what I did a few minutes ago:
I have removed reference for "InfragisticsSL4.Excel.v10.3.dll" from my project and added it again by clicking "Add Reference" then I have browsed to my "Bin" folder and I have chosen that same file " InfragisticsSL4.Excel.v10.3.dll". Then I do right click on that reference and click "Properties" and then I could see this::
As you can see path remained the same = C drive path, how? why? I don't know. Is there everything ok with other attributes on this picture ?? At this point path should be something like this "/Bin/Debug/InfragisticsSL4.Excel.v10.3.dll" ?? Am I right?
I forgot to mention earlier: in Bin folder I have two folders "Debug" and "Release" and all DLLs are in those folders, so when I am adding reference I navigate to "Bin/Debug" and then I choose a file (*.dll). Is this how it is done ?
When I open my project at my home machine and press F5 application works just fine. But if I do Rebuild it loses some of these references and then starts showing errors. I don't know how is this possible. If the references are not ok then it shouldn't run it successfully the first time, right??
Hope for solution.
Marko.