Click here to Skip to main content
16,011,170 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Checking validity of a URL Pin
AspDotNetDev10-Oct-11 20:12
protectorAspDotNetDev10-Oct-11 20:12 
AnswerRe: Checking validity of a URL Pin
Pete O'Hanlon11-Oct-11 3:10
mvePete O'Hanlon11-Oct-11 3:10 
GeneralRe: Checking validity of a URL Pin
Mehdi Gholam11-Oct-11 3:50
Mehdi Gholam11-Oct-11 3:50 
GeneralRe: Checking validity of a URL Pin
PIEBALDconsult11-Oct-11 4:31
mvePIEBALDconsult11-Oct-11 4:31 
QuestionRead from excel file and download Pin
Member 76985969-Oct-11 22:07
Member 76985969-Oct-11 22:07 
AnswerRe: Read from excel file and download Pin
Dave Kreskowiak10-Oct-11 1:21
mveDave Kreskowiak10-Oct-11 1:21 
GeneralRe: Read from excel file and download Pin
Member 769859611-Oct-11 18:21
Member 769859611-Oct-11 18:21 
QuestionCssSpriteGenerator - help with configuration Pin
IdanShechter5-Oct-11 0:34
IdanShechter5-Oct-11 0:34 
I have decided to use the CssSpriteGenerator code to automaticallty generate image sprite in my ASP.net 4.0 website [http://www.codeproject.com/KB/aspnet/cssspritegenerator.aspx]. I have encountered a problem that I can't solve. I will explain.

I am storing all my icons (to be used in the sprite generator) in the "img/icons" folder. I've configured the web.config with the appropriate configuration. I want all the files in the img/icons folder to be used for the sprite and those who appear in the x.aspx to be inserted into the sprite and their images converted.

I am using the following CssSpriteGenerator configuration:

XML
<cssSpriteGenerator active="Always" inlineSpriteStyles="false" processFolderImages="Always" imageFolderPathMatch="\\img\\icons\\"  >
  <imageGroups>
    <!--add .png images that live in images\icons to this group-->
    <add  groupName="icons" pixelFormat="Format32bppPArgb" spriteImageType="Png" filePathMatch="(gif|png)$" />

  </imageGroups>

</cssSpriteGenerator>
<combineAndMinify active="Always" inlineSpriteStyles="false" preloadAllImages="true"/>


The problem is that I can't get the code to work, means that the images stay as they are. I tried other options but I only get mt logo.png (which is on the masterpage) to be replaced with a CSS Sprite.

I wanted to know what type of configuration I need to use in order for it to work.

Please help me out, I'm breaking my head for hours on this one. D'Oh! | :doh:

Thanks in advanced.
AnswerRe: CssSpriteGenerator - help with configuration Pin
Richard MacCutchan10-Oct-11 4:20
mveRichard MacCutchan10-Oct-11 4:20 
QuestionObscure .net Part 1 : Threads Pin
Mehdi Gholam3-Oct-11 21:06
Mehdi Gholam3-Oct-11 21:06 
AnswerRe: Obscure .net Part 1 : Threads PinPopular
Pete O'Hanlon4-Oct-11 3:57
mvePete O'Hanlon4-Oct-11 3:57 
GeneralRe: Obscure .net Part 1 : Threads Pin
Mehdi Gholam4-Oct-11 4:36
Mehdi Gholam4-Oct-11 4:36 
GeneralRe: Obscure .net Part 1 : Threads Pin
Pete O'Hanlon4-Oct-11 4:45
mvePete O'Hanlon4-Oct-11 4:45 
GeneralRe: Obscure .net Part 1 : Threads Pin
Mehdi Gholam4-Oct-11 4:52
Mehdi Gholam4-Oct-11 4:52 
AnswerRe: Obscure .net Part 1 : Threads Pin
Luc Pattyn4-Oct-11 5:06
sitebuilderLuc Pattyn4-Oct-11 5:06 
GeneralRe: Obscure .net Part 1 : Threads Pin
Mehdi Gholam4-Oct-11 5:19
Mehdi Gholam4-Oct-11 5:19 
GeneralRe: Obscure .net Part 1 : Threads Pin
Luc Pattyn4-Oct-11 5:28
sitebuilderLuc Pattyn4-Oct-11 5:28 
GeneralRe: Obscure .net Part 1 : Threads Pin
Mehdi Gholam4-Oct-11 5:36
Mehdi Gholam4-Oct-11 5:36 
AnswerRe: Obscure .net Part 1 : Threads Pin
jschell4-Oct-11 10:45
jschell4-Oct-11 10:45 
GeneralRe: Obscure .net Part 1 : Threads Pin
Mehdi Gholam4-Oct-11 18:25
Mehdi Gholam4-Oct-11 18:25 
GeneralRe: Obscure .net Part 1 : Threads Pin
jschell5-Oct-11 8:58
jschell5-Oct-11 8:58 
QuestionI want to upload a file on my web page with httpwebreqest Pin
pobre122-Oct-11 7:03
pobre122-Oct-11 7:03 
AnswerRe: I want to upload a file on my web page with httpwebreqest Pin
Richard MacCutchan3-Oct-11 3:27
mveRichard MacCutchan3-Oct-11 3:27 
QuestionI want to resize dialog thanx Pin
pobre121-Oct-11 10:22
pobre121-Oct-11 10:22 
AnswerRe: I want to resize dialog thanx Pin
Simon Bang Terkildsen1-Oct-11 12:53
Simon Bang Terkildsen1-Oct-11 12:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.