Advanced Forum Search Results
-
I am a part of the dev team and I was talking about the DatePicker behaviour outside of a DataGrid since nothing has changed in that area in DatePicker since SL2. But the behaviour of DataGrid has changed. I let the teams know about the issue.
-
It was the same behavior in Silverlight 2. SelectedDate was only committed when Enter key is hit. Can you please post all your project?
-
You can try setting the DataContext of the ChildWindow to the return value of your WCF service and use it from the page when the ChildWindow closes. Setting the DataContext of the ChildWindow is the recommended way to pass data from the page to the ChildWindow or vice versa.
Another way is to set DialogResult of the ChildWindow to the ...
-
Hi,
This is not a bug but the intended behaviour. SelectedDate is not set until you hit enter or open the Calendar pop up.
Thanks.
-
Hi,
You shouldn't be adding the ChildWindow to the LayoutRoot. It has to be the top-most element on a page. You can use a ChildWindow by calling Show() on it. I think the performance problem you are encountering is because of this.
Thanks,
-basak
-
Can you please send a repro project? I will send my email address as a private message and post the solution if I find one.
Thanks.
-
This wouldn't work since you are not calling Show() on the ChildWindow. Setting the Child of the Popup only renders the ChildWindow default template in the Popup. It is like putting a ChildWindow on a Page.
ChildWindow has to be the top-most element in the Xaml, and Show() has to be called to get the desired ...
-
Hi,
You can use the HorizontalAlignment and VerticalAlignment properties to set the location of the ChildWindow.
If you want to use specific values other than the alignment enums, you can set the Margin property on the ChildWindow.
Thanks,
-basak
-
Hi Jani,
For this you need to derive from ChildWindow and in the constructor of your new ChildWindow, you need to define the DefaultStyleKey. I am sending you an example project.
Thanks,
Basak
-
Hi Jani,
You can do it by re-styling the ChildWindow. Here is an example:
1 <basics:ChildWindow x:Class="SilverlightApplication1.ChildWindow1"
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 ...