I saw a great feature in~26nbsp~3b~3ca href~3d~22http~3a//www.divil.co.uk/net/controls/sanddocksl/livedemofullscreen.htm~22~3eDivElement~27s SandDock Component~3c/a~3e in that when you pop open a modal window you have the ability to set the shading of the background outside the modal window.~26nbsp~3b This effect makes it very clear that you are using a modal window.~3cbr /~3e
~3cbr /~3e
Any suggestions on how to simulate that using RadWindow~3f~26nbsp~3b Any way this could be added to a feature list~3f~3cbr /~3e
~3cbr /~3e
Thanks~3cbr /~3e
~3cbr /~3e
jack~3cbr /~3e
7 Answers, 1 is accepted
0
Hello Jack,
If you are looking for a property that changes the modal background, you can simply use the ModalBackground property of RadWindow. Just make sure you open the RadWindow as modal dialog by calling the ShowDialog method. If this is not what you are looking for, or in case you need some custom scenario, please feel free to share it with us.
Regards,
Hristo Borisov
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
If you are looking for a property that changes the modal background, you can simply use the ModalBackground property of RadWindow. Just make sure you open the RadWindow as modal dialog by calling the ShowDialog method. If this is not what you are looking for, or in case you need some custom scenario, please feel free to share it with us.
Regards,
Hristo Borisov
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Jack
Top achievements
Rank 1
answered on 13 Apr 2009, 12:34 PM
Hristo,
I don't want the Modal Background - I want to shade everything but the window I pop open so it stands out like a sore thumb. It looks like FireFox butchered my forum posting... I'll try again with the URL that has the example - open the Modal Dialog option
www.divil.co.uk/net/controls/sanddocksl/livedemofullscreen.htm
Any idea how to stop Firefox from messing up forum posts?
thanks
jack
I don't want the Modal Background - I want to shade everything but the window I pop open so it stands out like a sore thumb. It looks like FireFox butchered my forum posting... I'll try again with the URL that has the example - open the Modal Dialog option
www.divil.co.uk/net/controls/sanddocksl/livedemofullscreen.htm
Any idea how to stop Firefox from messing up forum posts?
thanks
jack
0
Hello Jack,
Please take a look at our online example -Configurator and click the Open Modal button. This example illustrates the desired behavior.
As for the FireFox problem - it looks like that you use FireFox 3.1 beta version which has some issues related with javascript. That is the reason why the forum messages are not saved. We hope that these problems will be fixed when FireFox 3.1 is official released.
Hope this helps.
Regards,
Rosi
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Please take a look at our online example -Configurator and click the Open Modal button. This example illustrates the desired behavior.
As for the FireFox problem - it looks like that you use FireFox 3.1 beta version which has some issues related with javascript. That is the reason why the forum messages are not saved. We hope that these problems will be fixed when FireFox 3.1 is official released.
Hope this helps.
Regards,
Rosi
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Jack
Top achievements
Rank 1
answered on 17 Apr 2009, 08:50 PM
That is what I was hoping to do. Is that a configurable option? I did a peek at the code and didn't see anything set. Is that a default behaviour
Also thanks for the tip on the browser... I thought their javascript issues were fixed in beta 3. Apparently not.
thanks
jack
Also thanks for the tip on the browser... I thought their javascript issues were fixed in beta 3. Apparently not.
thanks
jack
0
Hi Jack,
As I mentioned before the difference is in the way you open the RadWindow. To popup the control without shading area you should use the Show() method, to open it as a modal dialog you should call the ShowDialog() method of the control. I hope this will resolve your issue.
Regards,
Hristo Borisov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
As I mentioned before the difference is in the way you open the RadWindow. To popup the control without shading area you should use the Show() method, to open it as a modal dialog you should call the ShowDialog() method of the control. I hope this will resolve your issue.
Regards,
Hristo Borisov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jack
Top achievements
Rank 1
answered on 20 Apr 2009, 02:03 PM
Hristo,
I understand how to open modal vs. nonmodal. I was asking if you can configure the background shading. For example say I wanted it to be grey vs. blue or orange?
Thanks
jack
I understand how to open modal vs. nonmodal. I was asking if you can configure the background shading. For example say I wanted it to be grey vs. blue or orange?
Thanks
jack
0
Hello Jack,
Sorry for the late reply. You can use the ModalBackground property and set a color to your liking. You can also set Opacity if you do it from code. It will look like this:
I hope that helps! Please, tell me if you need further assistance.
Regards,
Boyan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Sorry for the late reply. You can use the ModalBackground property and set a color to your liking. You can also set Opacity if you do it from code. It will look like this:
window1.ShowDialog(); |
Color myColor = Color.FromArgb(255, 255, 255, 0); |
SolidColorBrush myBrush = new SolidColorBrush(); |
myBrush.Color = myColor; |
SolidColorBrush solid = new SolidColorBrush(myColor); |
solid.Opacity = 0.5; |
window1.ModalBackground = solid; |
I hope that helps! Please, tell me if you need further assistance.
Regards,
Boyan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.