asp

Best way of filtering "what's new" data based on the version

I'm creating a What's New page for a program that will show the user what's new only for the updates not already installed. For this I'm passing the program build date and version to an asp page that in turn will display the what's new text. My initial idea was to use a xml file and filter the results based on the version I get from th...

Classic asp: why doesn't Request.QueryString("foo").toString() work in a javascript (JScript) based page?

All I want to do is Get the name-value pairs that were supplied to Request.QueryString Populate a javascript object (aka hash) with keys from the names and values from the values Halt the page if one of the expected hash values is the empty string The Request.QueryString object is reminding me why I hated classic asp even before it w...

XQuery execution without a software

How can we execute Xquery embedded inside Html or with a reference to an xquery document within html? is there a JavaScript method ? or ASP DOM method ? ...

a graph,chart component for classic ASP

Can anyone recommend a graph,chart component for classic ASP. Free or not free is fine ...

Where can I find a sample for jQuery Pagination with AJAX for ASP.NET?

Hello I'm searching a clutterless way to paginate data with JQuery and Ajax on a ASP.net website. I'm trying to make it work similiar to this, but it's not working because there's something wrong on javascript, but I can't find out how to fix it. I actually don't like the results so far, it's too complicate to maintain this code, don't...

IIS 7 Error Page for file with asp Extension

I have tried many ways but unable to do this. I have set the web.config as below. <?xml version="1.0"?> <configuration> <system.webServer> <asp scriptErrorSentToBrowser="true"/> <httpErrors> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" prefixLanguageFilePath="" path="/index.asp" responseM...

How do I convert my server-side ASP XmlHttpRequest code to client-side JavaScript?

hi, i using below asp code for xml request <% pXML=Server.URLencode(SearchRequest) set xmlhttp = server.CreateObject("MSXML2.ServerXMLHTTP") xmlhtt.open "post", http://OutSideDomain/xml_requests , false xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" xmlhttp.send "xml_request=" &pXML htresult = xmlhttp.re...

Extension method have any limitation in c#

I want to ask, does adding extension methods to datatypes works in the same way as Microsoft's methods or do they have any limitaion. This is relevant to experienced programmers who had find some limitations while using them. ...

How to invoke three ajax functions together?

hi, Below is the code in my asp page Ajax.asp <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Ajax.asp</title> <script type="text/javascript"> function Delay(SECOND) { var xmlHttp; try { xmlHttp=new XMLHttpRequest(); } catch (e) { try { xmlHttp=new ActiveXObject...

Reading multiple recordsets

I have a Stored proc which returns 6 select statement results. I'm trying to use one record set to execute sp and get records for each select statement but i get 0 or empty records when i read them, How can i query record set with multiple select statements from stored procedure? ex: Set rs = Server.CreateObject("ADODB.Recor...

unit testing asp mvc view

How can i unit test the view of an ASP MVC application? I have tried the mvc contrib test helper... _controller.Index().AssertViewRendered(); but this doesn't actually test the view. for example i can happily insert some bogus code in the view, and get the dreaded yellow screen of death, without my unit test ever knowing about it. ...

Return value and item string from HTML Select using ASP

I have a select box on a classic ASP page which looks like this: <select name='reason' id='reason'> <option value='77000005471253'>Family issue</option> <option value='77000005471256'>Holiday</option> <option value='77000005471254'>Medical</option> <option value='77000005471255'>Meeting</option> </select> I can return the value elemen...

or operator in vbscript

Does vbscript support or operator? I want to do following code in vbscript, please help me if a="address1" or b = "address2" then Response.Redirect("www.site.com") endif ...

problem with JavaScript sortable html table

Here is webtoolkit but ... var t = new SortableTable(document.getElementById('myTable'), 100); 2 parameters function SortableTable (tableEl) { and where is height ? Here is my try to make it work but it doesn't works (only commented code works but for ff and ie only) function ScrollableTable(tableEl, tableHeight, tableWidth) ...

strSQL=strSQL & ",REQ_name as " & chr(34) & "REQUESTOR NAME" & chr(34) . what will this command do?

plz explain the code ...

Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied

I am getting this error when i try to access an asp website which has been hosted in IIS 5. Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied /Site/Initial.asp, line 164 Please let me know what could be is issue??? ...

Can we make overloaded controller method in ASP .NET MVC

I am developing a ASP .Net MVC project but i can't make overload of Index() even when i have defined other method with different no. of parameters & have given proper routing for it . But it doesnot seems to work. So i just want to ask can we make overloaded methods in controller or not? ...

ASP : Call ACCESS procedure with accent

Hello, I'm stuck with an application where I have a stored procedure with an accent. Set cmdStoredQuery = Server.CreateObject("ADODB.Command") cmdStoredQuery.ActiveConnection = Conn cmdStoredQuery.CommandText = "S_Réseau" Set RS = server.createobject("ADODB.Recordset") Set RS = cmdStoredQuery.Execute When I execute it, it says : E...

how to upload browse file in asp

I am trying to upload browse file in asp and succeeded but i have to save it as user corresponding id can anybody help me and how to see this record on id basis ...

How do I maintain viewstate on a user control

I have an ASP Page that uses two listboxes and a third party control (Fluent.ListTransfer) to transfer values from one list to the other. Fairly standard stuff: <td> <asp:ListBox ID="ListBoxAvailable" Runat="server" SelectionMode="Multiple" EnableViewState="true"> </asp:ListBox> </td> <td style="vertical-align: middle"...