I know this generally not recommended, but I'm working in the confines
of the company's intranet.
Goal: permit managers to load an XML file from thier PC into an
intranet ASP.NET webpage where validation and data submit will take
place. I have the page written that allows the user to select a
file. I'm hitting a wall when, after selecting the file, trying to
open a new page and inserting the XML into the page. From there I can
start validating the data. I've been tried to using
Response.Binary Write but it appears that will only work with server-
side files. I also haven't had much luck in trying to open the file
with Javascript. Any suggestions? 5 4750
On Oct 13, 5:42*pm, "memil...@weste rnsurety.com"
<memil...@weste rnsurety.comwro te:
I know this generally not recommended, but I'm working in the confines
of the company's intranet.
That would depend on the company and Intranet.
>
Goal: permit managers to load an XML file from thier PC into an
intranet ASP.NET webpage where validation and data submit will take
ASP.NET is OT here.
place. *I have the page written that allows the user to select a
file. *I'm hitting a wall when, after selecting the file, trying to
open a new page and inserting the XML into the page. *From there I can
start validating the data. *I've been tried to using
Response.Binary Write but it appears that will only work with server-
side files. *I also haven't had much luck in trying to open the file
with Javascript. *Any suggestions?
Post some (if not all) of the suspect (client side) code?
On Oct 13, 10:50*pm, David Mark <dmark.cins...@ gmail.comwrote:
On Oct 13, 5:42*pm, "memil...@weste rnsurety.com"
<memil...@weste rnsurety.comwro te:
I know this generally not recommended, but I'm working in the confines
of the company's intranet.
That would depend on the company and Intranet.
Goal: permit managers to load an XML file from thier PC into an
intranet ASP.NET webpage where validation and data submit will take
ASP.NET is OT here.
place. *I have the page written that allows the user to select a
file. *I'm hitting a wall when, after selecting the file, trying to
open a new page and inserting the XML into the page. *From there I can
start validating the data. *I've been tried to using
Response.Binary Write but it appears that will only work with server-
side files. *I also haven't had much luck in trying to open the file
with Javascript. *Any suggestions?
Post some (if not all) of the suspect (client side) code?
You don't / CANT open files with javascript...Yo u use the browser to
do that. You can't let javascript handle an XML file until it's on a
server somewhere. Then you can easily play with the file in
JavaScript. But that's all you can do with it. You can't CHANGE the
file with JavaScript or save it to another file. JavaScript sits in a
browser and is limited to it's sandbox. Go and read what JavaScript
Is!
Laser Lips wrote on 14 okt 2008 in comp.lang.javas cript:
You don't / CANT open files with javascript...Yo u use the browser to
do that. You can't let javascript handle an XML file until it's on a
server somewhere. Then you can easily play with the file in
JavaScript. But that's all you can do with it. You can't CHANGE the
file with JavaScript or save it to another file. JavaScript sits in a
browser and is limited to it's sandbox. Go and read what JavaScript
Is!
Javascript can be used by Wscript or Cscript and on the server under ASP.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
"Evertjan." <ex************ **@interxnl.net wrote in message
news:Xn******** ************@19 4.109.133.242.. .
Laser Lips wrote on 14 okt 2008 in comp.lang.javas cript:
>You don't / CANT open files with javascript...Yo u use the browser to do that. You can't let javascript handle an XML file until it's on a server somewhere. Then you can easily play with the file in JavaScript. But that's all you can do with it. You can't CHANGE the file with JavaScript or save it to another file. JavaScript sits in a browser and is limited to it's sandbox. Go and read what JavaScript Is!
Javascript can be used by Wscript or Cscript and on the server under ASP.
....or in an HTA (on Win)
Tim
Tim Williams wrote:
"Evertjan." <ex************ **@interxnl.net wrote in message
news:Xn******** ************@19 4.109.133.242.. .
>Laser Lips wrote on 14 okt 2008 in comp.lang.javas cript:
>>You don't / CANT open files with javascript...Yo u use the browser to
Wrong answer.
>>>
Javascript can be used by Wscript or Cscript and on the server under ASP.
...or in an HTA (on Win)
Or in a web browser, which might actually be able to read the file.
Garrett
Tim
--
comp.lang.javas cript FAQ <URL: http://jibbering.com/faq/ > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: yagish |
last post by:
Hi Techies,
Am really new with the Oracle 9i Forms and am searching for a way to
perform Load Balancing in Oracle 9i Forms Application. Its not a J2EE
application, so cannot go the OC4J way.
I need Load Balancing at 2 levels -
1) Load Balancing of the Forms Server
2) Load Balancing of the Database
|
by: Stefan Bauer |
last post by:
Hi NG,
I'm currently working on a small business database and now it is time
to populate it with some data. For this purpose I'll use the LOAD
utility. Unfortunately, I will not have any DB2 access till next
month, so there is no possibility for me to prove, if the statements
are actually correct... It would be very cool, if you could take a
look at this. :)
DEPTFILE has 4 elements:
|
by: kapsolas |
last post by:
I am attempting to get access to the client IP after a request has gone
through a load balancer.
HttpContext.Current.Request.UserHostAddress is what I am using and getting
what appears to be the load balancers IP.
Any ideas on how I could get around this?
Thanks.
|
by: John |
last post by:
Hi,
I tried to load a mixedmode dll (MC++) with AppDomain.Load(Byte ) in a C#
Client.
During the Load Process I got the following Exception:
System.IO.FileLoadException: Ausnahme von HRESULT: 0x80131019.
at System.Reflection.Assembly.nLoadImage(Byte rawAssembly, Byte
rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark)
at System.AppDomain.Load(Byte rawAssembly) ...
|
by: Marco Gerlach |
last post by:
Hello,
on one of our customers servers we get following error on first ASPX-page:
An error occurred while try to load the string resources (GetModuleHandle
failed with error -2147023888)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
| |
by: Adrian |
last post by:
This may be a really simple problem but I can't seem to figure it out in
dotnet.
Using asp (old style) I had an app that received a querystring on the
server, then parsed out an url from the querystring and sent it back to the
window_onload event on the client. The client in this case is really an
iframe on the browser. I want to dynamically load the content of a page
specified in a querystring inside the iframe. I did this in the past...
|
by: Frank 'Olorin' Rizzi |
last post by:
Hello everyone.
This is quite convoluted, but I'll try to make it simple.
I have a couple of bottom-line questions (I guess):
1~ what happens between the Page_Load routine in the code behind of an aspx
page and the
presentation of the page to the user?
2~ is it true that the engine takes data from the Request.Form and puts them
|
by: news.microsoft.com |
last post by:
Hello,
Another issue has risen after installing Visual Studio 2005. When I use
OracleClient with ASP.NET v1.1 I receive an error stating it can't load
OCI.DLL.
This has never been a issue before so I assume that it is a result of the
new version of VS. Doe's anyone know a fix for this problem?
Thanks,
|
by: Jason |
last post by:
Hi
I have a "problem"
i have got a ASP.NET application. in this application i have included
logging. in the logging i have logged how many seconds it takes for this
application to fully load.
i have placed these timing loggings in the Load and Init events on a typical
aspx page. i.e. first line of code in Page_Load is
DateTime dtStart = DateTime.Now;
and the last lines of code are
|
by: mathlec |
last post by:
I have 2 WebApplication project (dummy and dummy2).
The first is trying to load a UserControl compiled in the second.
I've set up the application as follow:
\_(Virtual directory)
.:Modules:.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |