|
Offcourse i have debugged.. without that how can i post the stack trace info with my question
|
|
|
|
|
OK, so what's the path then that it says is illegal ? How does it differ to the path it accepts ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
Hi,
it appears Bitmap img1 = new Bitmap("yourfilename") performs some build-in checks to see if the URL is valid or not. A 'rough' workaround would be to first download the image data using a HttpWebRequest, and get a stream to the data and use that to construct the Bitmap (I know, its stupid, but at least it works).
If you don't feel like writing lots of plumbing code yourself, you could consider using NFileStorage for the required overhead lined of code (created myself, see http://nfilestorage.codeplex.com/[^] to temporarily store the information, like so:
string filestorageName = @"c:\temp\googlechart";
FileStorageFacade.Create(filestorageName, CreateFileStorageBehaviour.IgnoreWhenExists);
string complexUrl = ... (your complex Google Chart URL);
FileStorageFacade.StoreHttpRequest(filestorageName, "A".ToNFileStorageDataIdentifier(), complexUrl, null, AddFileBehaviour.OverrideWhenAlreadyExists, "");
Bitmap img1 = new Bitmap(FileStorageFacade.GetStreamData(filestorageName, "A".ToNFileStorageDataIdentifier()));
Good luck!
Gert-Jan
bla
|
|
|
|
|
Hello
In my own blog site, i wish to show writer's info (every writer has an aspx page that stored their info) by using a button-like control near the writer's name. Point is, how i can capture writer by his blog entry and open this writer's page. What's can be done, a querystring or something? What's this code? Thanks.
|
|
|
|
|
Yeah, I would expect you'd have a page which shows info for any writer, based on an id that is on the query string of the page that button redirects to, and that is the Id that is used to get that data from your DB
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
when a blogger login,Client write a cookie in Customer's computer.thought the cookie you can konw their info,for example,userid,login time,and so on...
then you can get the all info from database for userid!!!!
I love li li huang ,
ha ha ,
but you don't who is she!
|
|
|
|
|
Hi,
i am usign formview control in my user control. when i use formview.UpdateItem(true), i got this error "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control."
I have googled about it, i couldnt sort out the problem. Can anyone help me, please.
thanks,
deep.
|
|
|
|
|
It means you wrote code outside of a databound control ( such as a grid view ) that can only run inside such a control. Such as <%# Eval("columnname") %>
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
What do you mean by outside of control ? do u mean in another class?? this formview is in a usercontrol which i am using in another aspx page. How can i use it in another aspx page without getting error ?
thanks,
deep.
|
|
|
|
|
That is irrelevant. What is relevant is that you've used a data binding statement, in your ascx or aspx, and it's outside of a control that uses such statements.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
How can you be sure htey didn't just write the site themselves ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
They sell their CMS and claim they write it, but because of some translation/culture matters in their portal (and some other things) I'm dead sure they just using an open source CMS.
I Wish the Life Had CTRL-Z
|
|
|
|
|
Well, if they sell it, and it's open source, they will be in jail soon, read the court documents to find out if you're right
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thank you for replaying.
even if the original developer of the CMS does not allow selling it
my country did not accept copyright rules (and as you may know some software vendors restrict our access to their products).
however one of the portal customers asked me if i can develop some modules for them so I'm looking for the module developing help for that CMS.(portal seller will charge extra money for teaching module developing)
I Wish the Life Had CTRL-Z
|
|
|
|
|
i have a textbox and i set the textmode property to TextMode="MultiLine" and in IE it works correctly by wrapping the text but it doesnt work in mozilla firefox
|
|
|
|
|
When i write commission's
it shows as
Commission’s.
Why is it?
|
|
|
|
|
Hard to say, because it works fine here, on an ASP.NET website. Where do you write it, in the aspx ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
my file extension is aspx.
i have this in the body of my document
|
|
|
|
|
can estimate a bool field for gender then display with string(male).
when binding a datatable?
how do?
|
|
|
|
|
Write something like <%# ((bool)Eval("IsMale") ? "Male" : "Female") %>, in other words code that checks the bool and emits the right string.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
dear all,
i am new with .net using c# web developing. i am facing issue while applying themes on my master page css is not affecting any thing pleeeeeeease help me this regard.
Irfan Ghani Pitafi
|
|
|
|
|
How can we help if you don't show us anything and can't describe the problem in a clear way?!
Did you linked in the stylesheet in the master page?
|
|
|
|
|
Create the App_Themes folder, and in the paage directive call the Themes
and enable the Themes in Page directive.
You can use, CSS for this.
|
|
|
|