asp

Reading a Windows 'binary' float into a ASP jscript variable

I need to read files produced by a legacy Windows app that stores real numbers (the 8-byte "double" type) in binary - i.e. as a packed array of 8 bytes. I can read the 8 byte group OK but how can I present it to my ASP JScript code such I can get the real number back again. Or to put it another way: Say a file was produced by a Window...

Updating Access Database with Json in ASP

Hi, I have to use Json objects and Create, Update, delete and retrive the records in asp. if anybody have an example, please help me. Thanks in advance. ...

Insert problem using ADO with classic ASP

' Setting variables Dim con, sql_insert, data_source data_source = "project_db" sql_insert = "insert into cart ( UserID,Count,ProductName,ProductDescription,ProductPrice) values ('"&user_id&"','"&count&"','"&product_name&"','"&product_description&"','"&product_price&"')" ' Creating the Connection Object and opening the database Se...

Adobe popping out of the browser

Hi, Im building a web application that displays a xfdf document. When we are testing in adobe 5 and we can't stop adobe opening outside the webpage. The user clicks the report and it should open in the browser but instead it opens in adobe it appears to work in everything but adobe 5. We have previously done this with out any problems...

Clear asp.net form at runtime

Whats the easiest way to clear an asp.net form at runtime using c#. Thanks Sp ...

ajaxToolkit:Accordion vertical scrollbar on Pane

<ajaxToolkit:Accordion ID="acc" runat="server"> <Panes> <ajaxToolkit:AccordionPane ID="pane1" runat="server"> <Header> <span>&#1047;&#1072;&#1087;&#1088;&#1086;&#1089;</span> </Header> <Content> ...

Play Video File in Asp. Net 3.5 in IIS

I have developed an application to upload a video on the server and then play it. It runs well when i execute it in Visual Studio 2008 in-built web server.. But when I configure it on IIS, the video does not play... Is there any settings needed in IIS to play video ?? The code of Button Click event - **protected void btnPlayVideo_Cli...

paypal expresscheckout.asp white page

well, i am pretty sure i am an imbecile since i cant get it to work :/ i am using their wizard and following their steps but i just cant figure it out. i am trying to have the Express Checkout with 2 methods: PayPal checkout on the shopping cart. PayPal as a payment option. i did: downloaded the expresscheckout.asp & paypalfunctio...

Calling an ASP.NET page from an ASP page

I am attempting to call an ASP.NET page from a classic ASP page on the same machine. The ASP page is located in c:\inetpub\wwwroot. The ASP.NET page is located in C:\Inetpub\wwwroot\WebServiceWrapper\ Here is the ASP code to call the page: Dim objHttp, strQuery set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP") strQuery = "http...

Edit one of GridView fields

<asp:GridView ID="GridView3" runat="server" Width="100%" DataSourceID="SDS"AllowPaging="True" AutoGenerateColumns="False" > <Columns> <asp:BoundField DataField="Hint" HeaderText="text"SortExpression="Hint" /> <asp:BoundField DataField="Visi" HeaderText="bool val" SortExpress...

How to read a complex view model on POST?

Hello, I have an user view model that has the following properties: public User user; public List<Language> Languages; I send the above model to the view and use html helpers to build the form, so I end up with something like: <form action="/Users/Edit/5" method="post"><input id="user_UserId" name="user.UserId" type="hidden" val...

Windows Server Appfabric

I am considering using Windows Server Appfabric for it caching functionality. I have an existing classic ASP application that I want to rewrite in ASP.NET MVC. However, I want to be able to do this "piecemeal" i.e. a few pages at a time. The problem is session state between the ASP and ASP.Net MVC application. I could use a database but ...

ASP upload HTTP error

Hello, I have the following code in uploadLogo.asp: <% Set Upload = Server.CreateObject("Persits.Upload") ' we use memory uploads, so we must limit file size Upload.SetMaxSize 100048576 ' Limit files to 100MB ' Save to memory. Path parameter is omitted Upload.Save ' Check whether a file was selected Set File = Upload.Files("Filedata")...

Posting a form with hidden fields without submit button click

I have a form as <form action="" method="post"> <input name="Descripcion" type="hidden" value="" id="Descripcion" runat="server" /> <input id="Submit1" type="submit" value="Comprar" /> Instead of clicking on submit button i want that the form should be posted without clicking submit button with hidden fields ...

ASP.NET - extracting from databases and pagination

I've got basic page templates working in ASP.NET from master pages and can include pages in ASP.NET - however, I'm having difficulty extracting from pages and paginating them. This is the design structure (i.e. the model for my site) I'm trying to base it on: http://library.digiguide.com/lib/programmenextshowing/Medium-319648 I have a...

Include code in ASP.net

I've got an ASP.net file, and I'm trying to include dynamic code which was easy in classic ASP. Here is what I have tried so far: <%@ Register TagPrefix="TagPre" TagName="header" Src="alg/classes.aspx"%> and <!--#include file="alg/classes.aspx"--> But neither of these seem to work. The content of classes.aspx is: <script runat=...

How to handle Clean URIs in Classic ASP using PATH_INFO?

I'm trying to handle Clean URIs in a Classic ASP application. In PHP, I was able to use URIs like http://example.com/index.php/foo/bar/baz and have /foo/bar/baz available in the PATH_INFO environment variable. (I usually add a rewrite rule so I do not need the index.php segment) However, I don't seem to be able to mimic this in Classi...

Create master /details datagrid asp.net2 and C#

i need to create master /details datagrid not gridview in asp.net2 and C# the details designed as anew page or in the same master page ??? ...

ASP.NET Application_Error don't redirect

Hello, In ASP.NET, I need redirect to a custom page when file size is exceeded. The application executes the code inside file test.aspx in Me.Server.Trasnsfer in other errors but when is an too big file error the web browser don't render it and shows that cannot show the page. Sub Application_Error(ByVal sender As Object, ByVal e A...

ASP Mail Error: The event class for this subscription is in an invalid partition

I have some ASP code that I've "inherited" from my predecessor (no, it's not an option to update it at this time...It would take an act of not only Congress, but every other foreign country too) and I'm having an issue sending mail on one of the pages. It is an almost identical code snippet from the other page, but this one throws an er...