473,320 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Integrating JavaScript

Say I have a Server Side button that I'm using in ASP.NET. The button does
some validation and uses a javascript alert box to give the answer to a
user. I can get this to work, by dynamically writing out the javascript for
the alert after the Server Side evaluation code...but as long as the alert
sits there, the page is blank after it posts back. Is there an easy way to
prevent this? I certainly don't want to write out the code for evaluation
in JavaScript. Sorry if this is unclear.

Thanks
Nov 19 '05 #1
1 791
The simplest solution is to output the javascript at the end of the page
instead of the beginning.
That option, along with other solutions, are presented here:
http://SteveOrr.net/articles/ClientSideSuite.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"James" <le********@verizon.net> wrote in message
news:OF**************@TK2MSFTNGP15.phx.gbl...
Say I have a Server Side button that I'm using in ASP.NET. The button
does
some validation and uses a javascript alert box to give the answer to a
user. I can get this to work, by dynamically writing out the javascript
for
the alert after the Server Side evaluation code...but as long as the alert
sits there, the page is blank after it posts back. Is there an easy way
to
prevent this? I certainly don't want to write out the code for evaluation
in JavaScript. Sorry if this is unclear.

Thanks

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: chuck | last post by:
Hi, I would first like to apologize as i am new to xml and am sure i don't fully understand the concepts/language. I am creating a web site to sell items i make. I want to dynamically create the...
3
by: Sonoman | last post by:
Hi all: Is there a class or function that I could use to integrate? By integrating , I mean calculus integration. I need to get data from a sensor that gives me the acceleration of an object. In...
1
by: Nexus | last post by:
I've heard people saying that it can be done (Integrating Flash actionscript into ASP .Net apps ???) - does anyone have a lead on where I might find a coding sample or additional info
4
by: Eric Sabine | last post by:
OK I have a web site that was built by someone else who is paid to maintain it. They used VS2003 / VB.NET. I have written a few pages for it that work with a back end database. My pages were...
4
by: karpagam | last post by:
Since WebServices are a standardized way to invoke a method of another application over the internet, is there a way to integrate two different applications running on different platforms (Say a...
6
by: Alex | last post by:
Hi, I'll be as brief and clear as possible. - I have one base file which displays few checkboxes and 3 buttons. - depending on which button is clicked I must invoke different php script (3...
1
by: nostradamus | last post by:
Hi! We need to integrate an RSS feed in a webpage using ASP. I've been testing out the great script at ByteScout: http://bytescout.com/how_to_display_rss_using_asp.html It worked very...
2
by: kakulu | last post by:
Hello, please how do i use activex controls in my php scripts. I want to use an activex control for scanning and printing barcodes from within my php/javascript scripts in a web application. Please...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.