|
I really don't understand when people say 'I want to do X, but I don't want to use Y', where Y is the right way to do X. Why would you want to do something but not in the right way ?
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Can i use javascript for mobile wap browsers
|
|
|
|
|
That depends on the browser. For the one I have, I know the answer is no. But, that means you're out of options.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
ok thank you............But if there is any possibility let me know............
|
|
|
|
|
There most definately is not. No one is going to impliment any other solution, were they to bother, they'd go with the standard one ( javascript ).
At a minimum, they should support the noscript tag, you could use that to redirect to a modified version that knows it doesn't have js support.
Christian Graus - Microsoft MVP - C++
"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
Look at this link..
http://weblogs.asp.net/dburke/archive/2003/10/01/29959.aspx
Hope it will work for u
Bye...
|
|
|
|
|
Hi Ramesh,
First of all let me thank u for coming forward to help me.
In that link they are using Javascript.I need that with out using Javascipt
as i am into developing wap site........
|
|
|
|
|
Hi All,
I have a Dataset, in which there is a table and in that table i want to rename a column.. how?
dsSave.Tables["FA_ASSET_DEP"].Columns["BASE_AMT"];
dsSave is Dataset.
FA_ASSET_DEP is table
BASE_AMT is the column to be converted to DEP_AMT
??????
HELP
Thanks and Regards,
|
|
|
|
|
You can convert column name in your query string.
for example
"select BASE_AMT as DEP_AMT from FA_ASSET_DEP"
bEst rEgard
pAthAn
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi,
This is also a good way if you dont want to change your column name while retrieving.
dsSave.Tables["FA_ASSET_DEP"].Columns["BASE_AMT"].ColumnName = "DEP_AMT"
I have got this with intense research and development...
Thanks and Regards,
|
|
|
|
|
good job
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi my dear friends.
I want to write a text on an image and then save it to my server hard disk.
then I could get help from this article but my question is how can I save the Graphics object into a image or bitmap and save it on my hard disk ?
the code is :
<br />
Bitmap b = new Bitmap(Server.MapPath("images/test.jpg"));<br />
Graphics gimg = Graphics.FromImage(b);<br />
gimg.SmoothingMode = SmoothingMode.AntiAlias;<br />
gimg.DrawString("my text", new Font("San Serif", 12, FontStyle.Bold), SystemBrushes.WindowText, new Point100,100),StringFormat.GenericTypographic);<br />
gimg.DrawImage((System.Drawing.Image)b2, new Point(0, 0));<br />
Response.ContentType = "image/jpeg";<br />
b.Save(Response.OutputStream, ImageFormat.Jpeg);<br />
gimg.Dispose();<br />
b.Dispose();<br />
I dont want to write the new image in the browser . I just want to save it in a image file.
How can I fix it?
www.behzadi.net
|
|
|
|
|
Send FileStream, instead of Response.OutputStream to b.Save(...) method.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
How can I do that , would you please explane more ? How can I save Graphics object with all changes in an image ?
thx a lot for your help,
www.behzadi.net
|
|
|
|
|
You cannot save a graphics object at all. You can save the Bitmap, which is what you're trying to do here anyhow. Your code looks like you're trying to send the file over the web, otherwise, why would you set the content type ? You need to create a file stream if you want to save it this way. Or, just give it a filename instead.
Christian Graus - Microsoft MVP - C++
"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
guys i am facing an issue, popups seems to be working fine on my local machine, but when we deploy our application on live, all of our popup's size(e.g. height and width) become's in correct,why it does these popups behave like this,can any one guide me in this regard, and wht's the solution for this problem , thankx in advance,
regards
|
|
|
|
|
How do you specify the width and height, and in what way is it incorrect?
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
i specify height and width in javascript, and it doesn't show correct in a way all the content is not visible to the user user have to stretch the popup to see the content cmopeletely, i usually set the resing option in javascript to yes, kindly reply ASAP,
regards,
|
|
|
|
|
It would be much easer to read what you write if you would write the text in separate sentences.
King Shez wrote: i specify height and width in javascript
Yes, obviously, as that is the only way to do it, but exactly how do you do it? Do you specify the size when you open the popup, or after the popup has been opened? The second method is not allowed with some browsers/settings.
King Shez wrote: it doesn't show correct in a way all the content is not visible to the user
Well, if you specified a size that is too small, that would give the same result. Does the window get the size that you did specify or not?
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
hello friends
I am freshers for .net, i am developing asp.net(with vb.net)project,I want detail about how to create "MENU".
srinivasan.s
|
|
|
|
|
ps.srinivasan wrote: how to create "MENU".
A custom menu control ? or using existing control ?
|
|
|
|
|
custom menu control frnd
advance thnx
srini
|
|
|
|
|
|
frnd i download that source code that is not working(showing that code is newer version) i am working in asp.net 2003
|
|
|
|