473,408 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

How to extract the file name associated whith a skin

WT
Hello,

I am using themes and have seral themes for my site, user can choose it from
a list then it is applyed to all pages by program.
Problem is that some compoinent we use does not support themes and we must
provide it with a file name.
Is it possible , knowing the skinid to extract the file name associated in
the current theme ?

Thanks in advance forhelp.

CS
Sep 6 '07 #1
4 1518
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 (wa****@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.

Sep 7 '07 #2
WT
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

""Walter Wang [MSFT]"" <wa****@online.microsoft.coma écrit dans le message
de news: R1**************@TK2MSFTNGHUB02.phx.gbl...
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 (wa****@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.

Sep 7 '07 #3
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 (wa****@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.

Sep 10 '07 #4
WT
Thanks
""Walter Wang [MSFT]"" <wa****@online.microsoft.coma écrit dans le message
de news: NF**************@TK2MSFTNGHUB02.phx.gbl...
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 (wa****@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.

Sep 10 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Robert Schultz | last post by:
I have a C/C++ file that I simply want to 'extract' a function from. Something like: extract <function name> <c or cpp file> I want it to return from the beginning of the function, to the end. ...
1
by: Philipp Lenz | last post by:
I'm very confused about how this works, all the tutorials out there show me how to apply a skin to a webcontrol, but I want to know how I can access the components of a control....for example: I...
1
by: Andre | last post by:
Hi, I'm using Visual Web Developer 2005 to create a .skin file. But i have a problem (i think) ;o) When editing my skin file, in the toolbox, i can only drag HTML controls.. the Server...
0
by: Fabrice | last post by:
Hello, (Alain) Tis is a part of my code to retrieve text from hastable in memory cache, by reading (befor) a resources file. Thanks for your help. /1/ The resources file * I have create a...
1
by: Alan Silver | last post by:
Hello, I am just converting a 1.1 web site to use version 2.0 of the framework and have run into a weird problem trying to add a skin file. I set up a theme, and moved the CSS file in there,...
2
by: J4CK4L | last post by:
Hi everyone, I've just created a function in a header file that accept a string and parse but the prototipe of the function return me an exception: #include <stdio.h> #include <string.h> int...
0
by: Matthew Brealey | last post by:
I have the following entry in a .skin file: <asp:button runat=server SkinId=btnSubmit ImageUrl="~/Images/ submit.gif" /> But I want to make the image an embedded resource in a different...
0
by: napolpie | last post by:
DISCUSSION IN USER nappie writes: Hello, I'm Peter and I'm new in python codying and I'm using parsying to extract data from one meteo Arpege file. This file is long file and it's composed by...
8
by: scotty | last post by:
Can a .skin file be created without visual studio? Thanks, Scott
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.