|
So I've searched for hours for a good fix or a workaround on this problem.
What is needed : Draw a background canvas(white), and on top of it I have to draw - Grid(with transparent background), Graph1(with transparent background), Graph2(with transparent background) and whatever else.
What is done : I have all the functions which all work, but only when they aren't ontop of each other.
Problem : Everything I draw with a seperate function has a white background (NOTE: Something.Clear(Color.Transparent); doesn't work, makes the background black.. which really won't help)
So I've found some workarounds how to do completely transparent pictures and I even found some .dll that would suit me BUT it has some nice licence things that won't work for me unfortunately, so I'm back to square one.
[PS. I hope people won't start to flame to look harder on Google or whatever, so all I can say is.. I have and I was unsuccsessful]
|
|
|
|
|
Your browser will display pngs with transparency, I thought. This all sounds a little too difficult to me tho, have you considered using silverlight instead ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
No I haven't.. Guess I'll take a look into it right away
(about the Png, for some reason it didn't even let me save to png.. but I had no problem saving to Gif.. so I'll take a look into that aswell)
|
|
|
|
|
Hello,
I'm not sure if this is the right forum to ask my question, but it involves Flash and .net.
I need to drag small images and place them over a larger image such that they blend well and look like one image. This image then needs to be saved in the database (SQL Server). Later this image needs to be fetched from the db and displayed in the format it was saved earlier. I am new to flash and have no clues how to go about this.
The site is developed in .net and the database used is SQL Server and the above described functionality needs to be developed using Flash/Ajax/Javascript.
Any help would be appreciated.
Thanks.
|
|
|
|
|
So, this is essentially a flash question ? I'd suggest trying the web dev forum, but I'm not sure if this is the right place for Flash questions overall.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I'm trying to build a sitemap so users can follow the path.
My issue is that I can have multiple same landing pages of categories under different industries or products.
Here is a sample of my sitemap:
<siteMapNode url="~/home.aspx" title="Home" description="Home Page">
<siteMapNode url="~/industry.aspx?ztid=0" title="Automotive" description="">
<siteMapNode url="~/productDetails.aspx?catID=16" title="Wire Marker Booklets" />
<siteMapNode url="~/productDetails.aspx?catID=28" title="Cable Marker Dispenser" />
</siteMapNode>
<siteMapNode url="~/industry.aspx?ztid=1" title="Aviation/Aerospace" description="" />
<siteMapNode url="~/productDetails.aspx?catID=1" title="Self-Laminating Labels" />
</siteMapNode>
<siteMapNode url="~/productList.aspx?ztid=0" title="Pre-printed Wire Markers" >
<siteMapNode url="~/productDetails.aspx?catID=16" title="Wire Marker Booklets" />
<siteMapNode url="~/productDetails.aspx?catID=28" title="Cable Marker Dispenser" />
</siteMapNode>
<siteMapNode url="~/productList.aspx?ztid=1" title="Self Laminated Labels" />
<siteMapNode url="~/productDetails.aspx?catID=1" title="Self-Laminating Labels" />
<siteMapNode url="~/productDetails.aspx?catID=16" title="Wire Marker Booklets" />
</siteMapNode>
<siteMapNode url="~/productList.aspx?ztid=2" title="Blank Printable" description="" />
<siteMapNode url="~/productDetails.aspx?catID=1" title="Self-Laminating Labels" />
<siteMapNode url="~/productDetails.aspx?catID=16" title="Wire Marker Booklets" />
<siteMapNode url="~/productDetails.aspx?catID=28" title="Cable Marker Dispenser" />
</siteMapNode>
</siteMapNode>
How could I create this without having to create like
<siteMapNode url="~/productDetails.aspx?catID=28a" title="Cable Marker Dispenser" />
<siteMapNode url="~/productDetails.aspx?catID=28b" title="Cable Marker Dispenser" />
<siteMapNode url="~/productDetails.aspx?catID=28c" title="Cable Marker Dispenser" />
So it won't create an error? Would also not be efficient for programming.
Please advise, I'm also open to other solutions.
Thanks
Thomas
|
|
|
|
|
We have a webservice that seemed to be doing fine until it wasn't - and we are having a @@#$!! of a time figuring out what happened.
We added "better" caching in and were fairly confident it was caching when it was supposed to and expiring when it was supposed to.
The question is: how to do better upfront testing? How do you best go about stress testing your app before it embarasses you?
Thanks.
|
|
|
|
|
There are many tools out there. I have used WebLoad[^] and it worked well for me.
|
|
|
|
|
|
dd314159 wrote: We have a webservice that seemed to be doing fine until it wasn't
Isn't that the case all the time?
dd314159 wrote: How do you best go about stress testing your app before it embarasses you?
embarrass who? I always put 3 piece suite and look good in front of my customers.
Seriously, Have you tried Web Application Stress Tool?[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
|
|
I am just planning to go to Minnesota for a food festival so I can see Judas Priest play all of British Steel for $10. So, when you said 'grinder'... ( grinder is a song on that album )
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Can Any one done this before, i am struck here.
“You will never be a leader unless you first learn to follow and be led.”
–Tiorio
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
|
|
|
|
|
I don't think a listbox can show images.
|
|
|
|
|
asp.net does not have Image Listbox. you can write your own though!
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
I will suggest you to write your own custom control using DIV .
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Hi
How can we check the failure of windows service programatically. I have a windows service that elapses every 5 minutes and I need to check if the service is failed then restart it automatically in my code. I googled but I couldnt find the Failed Status for the windows service.
Any ideas please!
|
|
|
|
|
gottimukkala wrote: . I have a windows service that elapses every 5 minutes and I need to check if the service is failed then restart it automatically in my code.
From where do you want to check it?
BTW : How does it come to ASP.NET Forum ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
gottimukkala wrote: I need to check if the service is failed then restart it automatically in my code
Wrap your main method in try/catch blocks. So you can handle *all* exceptions. BTW, this question has nothing to do with ASP.NET. Plese post in the correct forum next time.
|
|
|
|
|
Well, first you need to handle all possible failures in your application.
Windows Services can perform some actions when it fails. Looks at Services windows in the recovery tab. One of the option is 'Restart the service'
Before you go head and select this, mind the consequence of your action. If there is something in your app or data that is thrown an exception, and it repeats every time the service starts, you will end up chasing your tail.
BTW: Next time use the right forum.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Thanks all for your replies. Sorry, I will post next time in other forum.
|
|
|
|
|
Good Day all
Am using Ultragridweb on .NET 2.0. I want to have a multiselect on the grid cells and save it in a Arraylist. So far this is what i did
protected void ultraGridCycles_SelectedCellsChange(object sender, SelectedCellsEventArgs e)
{
ArrayList array = new ArrayList();
foreach (UltraGridCell cell in ultraGridCycles.DisplayLayout.SelectedCells)
{
if (cell.Value != null && cell.Value.ToString() != "")
{
array.Add(cell.Value);
Session["Cycles"] = array;
}
}
}
When i try to do Multi select it brings me only the last value i selected.
How can i do this
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Vuyiswa Maseko wrote: Am using Ultragridweb on .NET 2.0.
Since this is a third party control, I don't think this is the right place for this question. You have to try this control's customer support.
Vuyiswa Maseko wrote: ArrayList array = new ArrayList();
A better option is to use a generic List than ArrayList since you are on .NET2.0.
|
|
|
|
|
I know this is a Third party Control. but i need an idea on how to use it with Gridview. that is why in my subject i said gridview not ultragridview
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|