This is a migrated thread and some comments may be shown as answers.

Setting window border from code behind

1 Answer 21 Views
Window
This is a migrated thread and some comments may be shown as answers.
Marc Goodell
Top achievements
Rank 1
Marc Goodell asked on 30 Oct 2008, 05:44 AM

Would like to add a border to my RadWindow. Calling RadWindow from code behind.

 

MonthEventHyperLink.NavigateUrl =

"ProjCalendarDBMonth.aspx"
Dim MonthEverntWindowName As String = "EventMonth"
Dim clickEventHandlerStringEventMonth As String = "javascript:var w = window.radopen('" & _Convert.ToString("ProjCalendarDBMonth.aspx") & "', '" & _MonthEverntWindowName & "'); w.set_modal(false); w.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Reload +Telerik.Web.UI.WindowBehaviors.Close); w.moveTo(100, 100); w.setSize(1000, 600); return false;"
MonthEventHyperLink.Attributes.Add("onclick", clickEventHandlerStringEventMonth)

Any ideas?

Thanks in advance

 

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 30 Oct 2008, 06:06 AM
Hello Marc,

The look of RadWindow is controlled by CSS skinning mechanism. In your scenario, I suggest to create a custom skin that meets your requirements and to set it in the RadWindow / RadWindowManager's declaration.

More information about RadWIndow's skinning is available in the documentation, section RadControls for ASP.NET AJAX Fundamentals > Controlling Visual Appearance.


Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Marc Goodell
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or