When I change my skin from Office2007 to Sunset in my c# code-behind, it causes my skin not to render.
Here's the code that caused the error...
My grid is "RadGrid_MPL". As long as I don't change its default skin it looks great. But if I try to change it, it removes its style.
Thoughts?
Here's the code that caused the error...
| protected void MPL_Proposals_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e) |
| { |
| if (MPL_Proposals.SelectedItem != null) |
| { |
| var propId = Convert.ToInt64(MPL_Proposals.SelectedValue); |
| var filter = string.Empty; |
| PopulateMpl(propId, filter); |
| RadGrid_MPL.Rebind(); |
| RadGrid_MPL.Skin = myProposalId != propId ? "Sunset" : "Office2007"; |
| } |
| } |
My grid is "RadGrid_MPL". As long as I don't change its default skin it looks great. But if I try to change it, it removes its style.
Thoughts?
