asp

The right way to send variables with as3 to asp?

Hello Im trying to make an swf send a phone-number to a specific asp-fil on the press of a button. But since I'm an as3 rookie I have no idea where this code is going wrong (PLEASE HELP): import flash.events.IOErrorEvent; import flash.display.*; import flash.events.MouseEvent; import flash.net.*; import flash.events.Event; public clas...

Return an image using ASP, not .NET

Using traditional ASP how can I return an image from a query. I want to use an image on a web page for tracking purposes, so for example I might have a page containing: <img src="../cgi-bin/getimage.asp?user1234&page=1232" WIDTH="1" HEIGHT="1"> Where GetImage.ASP would record the passed details and return a transparent GIF. ...

Cannot call other action

I'm studying ASP MVC, and developping SportsStore (Create/Edit feature). When Create a product, Create action will view a Edit view, but when press Sudmit, it call action Create (Post), althrough I will set it call Edit action: <% using (Html.BeginForm("Edit", "Admin", FormMethod.Post, new { enctype="multipart/form-data" })) {%> ...

DataGrid FocusedRowChanged listener acting on previously selected row

Hey everybody, I'm completely new to C# and ASP and got added to a pretty big project so I'm in a bit over my head and kind of intimidated/terrified. Note: This project uses VS 2003, .NET framework 1.1, not really sure about C# version. So we have DataGrid, no DataGridView. I have a button that performs an operation on the currentl...

post to asp.net from from classic asp page

I need to emulate a login where I pass the username and password to the asp.net page from classic asp page. Did an exhausted search on this propble could not find good technique. Is http post to the asp.net from classic asp the right approch. If yes code snippet would be helpful. What other techniques can we use to accomplish this tas...

Accessing ViewData from Partial using Steve Sanderson’s code

I have used steps in Steve Sanderson’s blog to validate the list. Now I have a problem of not able to access ViewData in my partial with this code. I set the ViewData in my action before calling AjaxViewResult but also I getting error while accessing the ViewData. Can someone tell me how to do it? ...

processing 2 dimension array

Hi, I am working in classic ASP; using getRows to get multidimension array of rows and column. while iterating a row; I want to pass that single row into another function to build the column layout. with C# I can do this: obj[][] multiDimArray = FunctionCall_To_InitializeArray_4X16(); for (int rowId = 0 ; rowId < 4 ; rowId++) { Funct...

what is the difference among these terminologies in web applications?

i wanna to ask what is the difference among these terminologies? in details 1-Post back 2-auto post back 3- submit 4- refresh(F5) 5- request the same URL 6- AJAX call thanks ...

asp mvc: show object details on a jquery dialog

Hi, Suppose I have a list of dinners. This list will present the users with, location, data and some other relevant info. Since that there's a lot of people attending, I want a button on each dinner that opens a jquery dialog that will show the people that will attend. What I accomplish until now: On each dinner on the list I have th...

Silverlight Controls

Where can I find free silverlight controls with the code? ...

Send a callback to other page?

I have an asp.net page. I'm using a jquery library to open a modal window on link click. Within this modal window I'm loading another page. After i make update within this modal window I need to send a callback to "Parent" page. if I call function from this window I'm getting the error it couldn't find function. Window.opener.functionnam...

asp page receiving wrong request

We are running into a very weird problem with out production site. We have a part on the site that will list items 5 at a time. there is also a button to view all at once. When alternating between these buttons sometimes the list will populate with a search that another user is executing at the same time. It is as if that iis is losing t...

Not fire button event after attribut adding window open, how to trigger both?

button1.attributes.add("onclick", "window.open(....)") button_click(object sender, eventargs e) not run How to make button click trigger when opening a new window? ...

ASP/VBScript generated Excel file is blank

Hi all, I have a bit of code that I've used many times to export an HTML table into an Excel file, and it works fine. But now I have a new report that I need to be able to export that works fine when viewed as an HTML page, but viewed in Excel the entire spreadsheet is blank - no grid, no data, nothing. <%Response.ContentType = "applic...

Call oracle stored procedure from ASP VBSCRIPT with input and returned parameters

I connect to an oracle database from an ASP-VBSCRIPT website and want to execute a stored procedure which accepts input parameters as well as returning some. The stored procedure is the following: p_std_currency.get_currency_details(input1,input2,input3,input4,output1,output2) Input 1-4 are the parameters (3rd is dat...

Give spacing between text and radio in ASP

Hi, How can I give spacing between Radio Button and Text using Asp:RadioButton control in ASP.NET? <asp:RadioButton ID="radio1" runat="server" GroupName="Group1" /> ...

Twitter-like routes in ASP.NET MVC 2 application

I'd like to have routes set up as follows: "xyz/" maps to one action method with no parameters, but "xyz/{username}" maps to a different action (in the same controller or not, doesn't matter) that takes an argument called username of type string. Here are my routes so far: routes.MapRoute( "Me", "Profile", new { controller ...

problem when insert "\\" in MySQL table

when i insert a specific value in MySQL table through code i get exception (1064 error) i know the reason , but i don't know how to fix the problem,, all what i wanna to do is to store the relative path of my images in the image table then i get this exception all the time when the inserted string contains "\" or @"\". how can i fix th...

asp mvc 2 EditorFor strange behavior

ok i've defined a shared editor for string like the following <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%= Html.LabelFor(model => model) %> <%= Html.TextBoxFor(model => model) %> <%= Html.ValidationMessageFor(model => model) %> now i'm calling the custom editor like ...

uploadify in asp

is it possible to use uploadify in asp (not .Net)? ...