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 Marko,
I suggest you remove the reference to the file in C: and then add it again, but this time chose the one in your bin folder.
Hope this helps you.
Hi Stefan.
Ok, I think I know what you are talking about. When I go to "References" under my silverlight project I can see all of DLLs that my project uses. I do right click on "System.Windows.Controls.Input.Toolkit" and click "Properties". Then I can see "Path" which points to "C:\Program Files\Microsoft SDKs\Silverlight\v4.0\Toolkit\Apr10\Bin\System.Windows.Controls.Input.Toolkit.dll". My question is: How do I make this path to point to my "Bin" folder under my silverlight project?? so that I can work on it on different machines with no problems??. I do have all needed DLLs in my Bin folder anyways. Why does "he" see this DLL file on a C drive in the first place??
When I click Add Reference I browse to my Bin folder of my silverlight project and pick "System.Windows.Controls.Input.Toolkit.dll" so I don't know how does "he" come up with this C drive path??
How do I change this behavior of my project??
(EDIT: to simplify my question: How do I make Assemblies point to my Bin folder under silverlight project, am I doing it right?? )
Thanks for all of your help.
Marko.
If the assemblies aren’t found this can be caused by two things, either the Assemblies point the GAC (Global Assembly Cache) and you don’t have them installed there, or they point to a specific folder, which you don’t have on your computer at home. I can suggest you double check this things and make the needed corrections with your assemblies.
I tried it like this:
<ig:TextColumn Key="STATUS" HeaderText="STATUS" Width="100" AllowCaseSensitiveSort="True" EditorHorizontalContentAlignment="Stretch" EditorVerticalContentAlignment="Stretch" FixedIndicatorDirection="{x:Null}" IsFilterable="True" IsFixable="True" IsGroupable="True" IsHideable="True" IsMovable="True" IsResizable="True" IsSortable="True" IsSummable="True" VerticalContentAlignment="Center"> <ig:TextColumn.ConditionalFormatCollection> <ig:EqualToConditionalFormatRule StyleScope="Row" StyleToApply="{StaticResource xamRed}" Value="NEREALIZOVAN"/> </ig:TextColumn.ConditionalFormatCollection> <ig:TextColumn.SummaryColumnSettings> <ig:SummaryColumnSettings /> </ig:TextColumn.SummaryColumnSettings> </ig:TextColumn>
And it didn't worked it was all green, but never mind that I solved that issue by getting back to that solution of setting this styles in C# file.
Now I have different kind of problem. When I take my project at home and open it in VS2010 there is problem because I loose some of my references when I rebuild silverlight project. I loose "System.Windows.Controls.Input.Toolkit" reference which enables me to use "<toolkit:TimeUpDown".??
Where do I look for a problem and how do I solve this??
And another thing, that "OptionsPanel" is not recognized when I open my project at home although I have " OptionsPanel .cs" in my silverlight project. Why is that he can't see him??[I am writing from my work - here I don't have this kind of problems - on this machine]
I can run my project just fine and use my application as long as I don't rebuild him. After first rebuild I do everything goes bust!?
Some time ago I saw that paths of the files in project are stored in many places like:
nDOCUSSL4.Web.csproj, nDOCUSSL4.Web.dll, nDOCUSSL4.Web.csproj.FileListAbsolute.txt ...
list goes on and on. Does this means that I have to edit this files (files path wise) when ever I want to work with my project on a different machine ??? [I am writing from my work - here I don't have this kind of problems - on this machine]
Long post but I am troubled.
Best regards.
I apologize I haven’t been clear enough, but you should add the following code in to your “STATUS” column, in order to apply the red style to the Rows where the status equals “NEREALIZOVAN”:
<ig:TextColumn.ConditionalFormatCollection> <ig:EqualToConditionalFormatRule StyleScope="Row" StyleToApply="{StaticResource xamRed}" Value="NEREALIZOVAN"/> </ig:TextColumn.ConditionalFormatCollection>