Hi CS,
I'm not sure if I've fully understood your question, would you please give
some specific example code to show your objective and the issue you're
facing? Thanks.
For a given theme name, you can assume all its files are in
~/App_Themes/<ThemeName>/.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
WT - 07 Sep 2007 12:09 GMT
Hi Walter,
Thanks for your attention.
Problem I am facing is that my program knows only the current Theme and the
skinID used in a declaration like
<rad:PanelBarItem SkinID="MyPanelSkin_1" ImageUrl="Img/MyImage_1.gif" />
<rad:PanelBarItem SkinID="MyPanelSkin_2" ImageUrl="Img/MyImage_2.gif" />
I am searching some API that would avoid me the task to open the skin file
and parse everything to extract the ImageUrl associated to the
MyPanelSkin_x.
CS
> Hi CS,
>
[quoted text clipped - 16 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
Walter Wang [MSFT] - 10 Sep 2007 13:34 GMT
Hi CS,
Thanks for your update.
I don't know such API or method exists to get the skin file information so
far, but I will consult in our internal discussion list to see if anyone
knows it (if it does exist).
I'll keep you posted.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
WT - 10 Sep 2007 16:26 GMT
Thanks
> Hi CS,
>
[quoted text clipped - 17 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
Walter Wang [MSFT] - 12 Sep 2007 13:34 GMT
Hi CS,
Thanks for your waiting.
I've consulted your question, unfortunately there's no API available to do
that. The .skin file has the same syntax as the ASPX file, they should be
valid xml document. Therefore I think we can use XmlDocument to load and
parse them.
Please let me know if you need help on this. Thanks.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.