Hi,
I trying to change the skin for the page and chart as well in a usercontrol.
But doesn't work fine when i change the chart skin dynamically,
Given below is the code i have used in codebehind page,
For Whole page,
Please give suggestions to solve it.
thanks in advance.
Regards,
Maha
I trying to change the skin for the page and chart as well in a usercontrol.
But doesn't work fine when i change the chart skin dynamically,
Given below is the code i have used in codebehind page,
For Whole page,
Private
Sub skinPage_SelectedIndexChanged(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles skincmb.SelectedIndexChanged
Dim skin As String = skincmb.SelectedItem.Text
SkinChoosers.ApplySkin(Page.Form, skin)
Dim radchart As New RadChart
radchart1 =
DirectCast(Userctrl1.FindControl("DetailedGraph"), RadChart)
radchart1.Skin = skin
End Sub
For Chart Only
Private Sub skinchart_SelectedIndexChanged(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles skinchart.SelectedIndexChanged
Dim radchart As New RadChart
radchart1 =
DirectCast(Userctrl1.FindControl("DetailedGraph"), RadChart)
radchart1.Skin = skinchart.SelectedItem.Text
End Sub
Please give suggestions to solve it.
thanks in advance.
Regards,
Maha