|
AspDotNetUser wrote: this work is totally in html not in asp.net
Then why are you posting in this ASP.NET forum instead of the web developemnt one?
There is no end of JavaScript tutorials and examples on the web - just search around til you find some you like. Another good way of learning is to view the source code of web-pages that do the sort of thing you want to achieve.
Study and then come back with any specific questions - but do not expect people here to provide you with fully functional code.
Do your best...
|
|
|
|
|
Use document.getElementByID('The name of your control').value
|
|
|
|
|
Dear,
I have binary in SQL Server, I want to read it and display as image, show how can i do?
Please give me a full code
Socheat
|
|
|
|
|
|
Hi i want to show chart in my aspx page...,
Except rdlc component give me some other way to show my chart...,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
modified on Friday, August 22, 2008 1:49 AM
|
|
|
|
|
Dundas Charts ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
i want detail description about Authentication and authorization
|
|
|
|
|
I want a ferrari. Life is like that. If you want a detailed description, buy a book or google for an article. A forum reply is the place for a specific answer, not an overview.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: I want a ferrari.
That'd be nice
Christian Graus wrote: A forum reply is the place for a specific answer, not an overview.
Excellent point, and I second that.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
|
Pick a better subject line, and be a bit more detailed about what you are asking.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
I suggest dropping out of programming NOW.
Blog link to be reinstated at a later date.
|
|
|
|
|
HOW TO WRITE CSS FOR ASP.NET 2.0 MENU CONTROL
can any one please send me code
|
|
|
|
|
You write css for any control the same as you do for normal ones.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
TARAK NATH ROY wrote: can any one please send me code
No. Does not work like that in these forums. You need to try and do your OWN work and when stuck, ask for help.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Stop yelling!
Blog link to be reinstated at a later date.
|
|
|
|
|
Ok I created a application that uses SQL. It stores the information the user enters in a textbox to a sql database. When the user views that information in a textbox it displays exactly like they wrote it. Example:
If they wrote this in a textbox:
Testing my TextBox
This is the second line with a space inbetween
This is the third line with a space inbetween
Now it gets displayed back just like that in a text box.
If I were to send it in a email it is displayed like this:
Testing my TextBox This is the second line with a space inbetween This is the third line with a space inbetween
It does not recongize the new line character a textbox uses. Is there a way to fix this?
I have the email sending set to HTML and it needs to be that way.
|
|
|
|
|
Since you are sending in HTML format, you need to use an HTML newline to make it look right. Just look for the newlines in the textbox, and change it to <br />. That should be simple enough.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
when displaying it back from the database to a textbox you dont actually see a new line character. Basically when sending it in html I need to replace each newline character that is for a textbox with a html new line character
|
|
|
|
|
Well, with the change in sending mail from .Net 1.1 to 2.0; somehow it has become a tricky part.
But what you can do for this is that just before sending the email, replace the message like this.
LstrMessage = LstrMessage.Replace("\r\n", "</br>");
hope this helps.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Well what I am doing is putting the email in a StringBuilder.
so are you talking about doing it like this:
MailMessage mm = new MailMessage("from","to","Subject", sb.ToString().Replace("\r\n"," ");
Now this information is being stored in a SQL database. Could that have any affect on it? When sending the email though, it is being sent from the TextBox after retrieving it from the database.
I did try the code mentioned above and couldn't seem to get it to work.
|
|
|
|
|
Maybe try Environment.NewLine?
|
|
|
|
|
I have a HttpWebResponse object with the content like text, doc, xls, jpg or other files. and I need to display the content open or save way. For that I wrote the code like this:
public void DisplayDocument(HttpWebResponse docResponse, string name)
{
StreamReader reader = new StreamReader(docResponse.GetResponseStream());
string tmpContent = reader.ReadToEnd();
System.Web.HttpContext.Current.Response.ContentType = docResponse.ContentType;
System.Web.HttpContext.Current.Response.ClearContent();
System.Web.HttpContext.Current.Response.ContentType = docResponse.ContentType;
System.Web.HttpContext.Current.Response.AddHeader("Content-Length", docResponse.ContentLength.ToString());
System.Web.HttpContext.Current.Response.AppendHeader("content-disposition", "attachment;filename=" + Name);
System.Web.HttpContext.Current.Response.Write(tmpContent);
docResponse.Close();
HttpContext.Current.ApplicationInstance.CompleteRequest();
}
If the HttpResponse has text file content, I can open or save. But if it has some other files like image, doc, excel content, they either don't open or opens with garbage content. What's wrong in this code ?
|
|
|
|
|
If you want to show a open or save dialog box, try the content-type application/x-force-download
|
|
|
|
|
I have a store procedure that return aparametr.how can I use this param in my program.I use asp.net white c#
|
|
|
|