I've created an ASCX control which uses a radToolBar and radGrid, and have then created a redistributable version of the control using the technique described here:
http://msdn.microsoft.com/en-us/library/aa479318.aspx
This works really well except that the skin setting does not work. It works fine in the test project I used to create/test/publish the control, so it must be something to do with how the control is referencing skins - maybe the path to the Skins folder?
I've added a Skin property to the control, and am passing this to the underlying controls as follows:
In the project where I'm using the control, its assembly is added as a reference - I'm wondering whether I need to move the control's assembly under this project's directory structure in order for it to pick up the skin properly
Any thoughts?
Thanks,
James
http://msdn.microsoft.com/en-us/library/aa479318.aspx
This works really well except that the skin setting does not work. It works fine in the test project I used to create/test/publish the control, so it must be something to do with how the control is referencing skins - maybe the path to the Skins folder?
I've added a Skin property to the control, and am passing this to the underlying controls as follows:
private string _Skin; |
public string Skin |
{ |
get { return _Skin; } |
set |
{ |
_Skin = value; |
RadToolBar1.EnableEmbeddedSkins = false; |
RadToolBar1.Skin = _Skin; |
RadGrid1.EnableEmbeddedSkins = false; |
RadGrid1.Skin = _Skin; |
} |
} |
In the project where I'm using the control, its assembly is added as a reference - I'm wondering whether I need to move the control's assembly under this project's directory structure in order for it to pick up the skin properly
Any thoughts?
Thanks,
James