ASPX And Form Loading.
If this is not the appropriate place to as an ASPX question, If it is the right place then, how can I open a second web form after the user clicks a button on the first form. The project is in C# and ASPX.
View RepliesIf this is not the appropriate place to as an ASPX question, If it is the right place then, how can I open a second web form after the user clicks a button on the first form. The project is in C# and ASPX.
View RepliesFrom a page with a form I collect the fields in the next page. The fields are compared with a database and if a certain condition does not fit, I want to go back to the first page with the form, and still keep all the other fields as they were written.
If I use Response.Redirect the form will be loaded empty again. The same if I use a button on page 2 with onClick="history.Back". Isn't there a way to go back and keep the already written fields in the form on the first page, as if the user just had hit the Back icon in IE?
Im doing an asp.net-application where we have an external asp-form in a iframe on the mainpage. On submit, the form sends its data through method="get" to a page with a frameset (i couldnt get the data through POST).
In the framsetpage, the data is receieved in the frameset and then sent to the lower frame through querystrings. The lower frame is also an external asp-page.
My problem is this, the .NET-platform is using utf-8 and some other way of URL-decode things then the old platform did. So for example the swedish letter 'Ö' is in .NET URLdecode '%c3%96' and in the old asp-way '%D6'. The asp-page has no idea what '%c3%96' means so the formdata is a bit corrupted on arrival.
What i was wondering is if there are any ways of convert the new way of urldecode strings to the old way? Preferably in C# since thats the site's main programming language.
I have an asp.net page that I would like to open up another asp.net page within the first one. Like a parent - child relationship. I need to display a graph in the child on the parent.
View Replies View RelatedI'm still new to server side languages, and have been going though asp 3.0 for beginners by wrox for about two weeks.Is it a waste of time to learn asp now since .net is supposed to be the future? Am I better off just learning php since it's so popular, and open source? I'm really lost, and kinda pissed off about the lack of backward ocmpatability for asp. I read .net is so completely different in all aspect, and it uses ado.net.
At the moment I know the following:
html/xhtml
css
tiny bit of vbscript/asp 3.0
adobe photoshop/image ready
What should I be focusing on learning. I'm scared i'll choose the wrong thing, and waste time on it.
I have been using ASP for a few years now. For the most part I have been
able to make it do what I need for it to do. Is there a reason I might want
to be learning ASPX? Can someone point out some of the general differences
between ASP and ASPX?
I got some code in ASPX format but I have no idea about how to make it work.. like, I did this . I created a virtual directory in IIS . Gave default.aspx as the default document . When i enter the URL in Internet Explorer, it displays only the code rahter than displaying the output
So, how do I do it?
I am having trouble publishing .aspx files in my Sharepoint Portal Server. I receive the message: "The page contains server script, which is not supported on this server", apparently due to the dual security of WSS and ASP. I have heard that there is a possibility of side-stepping this problem by publishing the files in the _layouts directory. Can someone please instruct me as to how to do this, or if there is a better way to get around this issue.
View Replies View RelatedI have installed IIS on WINDOWS 2003 server.
IIS is working only if I type filename.aspx for .asp or any other file its
giving "HTTP Error 404 - File or directory not found.
"
I've got and old ASP script that works Ok, but I want now to include it within a new ASPX script I've just created with '.net'.
The process could be: Code:
<%@ Page Language="VB" %>
<%
... aspx code ...
include my old ASP script
%>
I'm newbie in ASP, and would be extremely obliged if anybody could tell me how I must write it. I've tried with:
<!-- #Include File="old-script.asp" -->
but it doesn't work.
never seen one of these extensions before. anyone know what it is?
View Replies View RelatedI've just taken a client who has a membership-based site served as aspx. Yhe relationship with his current host/developer is going south and I need to switch to new hosts and find someone to handle the backend stuff.
Much of the site appears to be poorly structured - needlessly complex and yet lacking certain features. From my own limited knowledge of what I've seen of it, I'd have suggested using a drupal and a bunch of php... but I know little and may be talking out of my butt.
I'm more comfortable with linux/apache... and I'm guessing that's incompat with the current work - or is it? The database is sql so is it viable to migrate away from aspx? Etc?
I'm trying to execute ASPX page on a test IIS Server. Instead of executing it shows the ASPX file on screen.
View Replies View RelatedI don't know ASPx at all, but I working with some simple code here that is supposed to display the date automatically at the bottom of a page. Here is the code:
<%=response.write("© " & year(now) & " Company Name")%>
But nothing shows up at all.
Same deal when taking out the equals sign.
can any help me to figure out, what is happening? i cannot run my .aspx.i had properly setup the IIS and .NET framework 1.1
View Replies View RelatedI am writing a script that requires two actions performed on the same page.upload pictures and store them on the server & 2) Send all of the variables from the WebForm to the WorldPay servers via the POST method. I am aware of the Server.Transfer and Response.Redirect methods but neither of these will do what I want.
Are there any soluitions out there in C# that I can used to do this easily( running out of time on this project!)?
i am having examples to work with ASP,I came across a small ASPX module that I would like to call from the ASP module.How can I do this?
View Replies View Relatedif a .NET-built site is running on Windows 2000/IIS, can I put up some classic ASP pages? It will be under the same domain name, just on the aspx pages, they will have a hyperlink to my ASP pages, just like if they linked to any other web pages.
View Replies View RelatedI have an aspx page that has the "include" code in it which includes another page that displays information. I also have an upload page that allows users to upload a simple html document onto the server. The include code calls that html page to display the text on that page.
The problem is when the user uploads that html page, the aspx page does not refresh to reflect those changes, even if the user hits refresh in their browse. However, if I manually connect to the server and open the aspx page that contains the code and hit save then the webpage updates to reflect the changes that were made to the include page. Can anyone help me fix this problem?
I used to validate my html at validator.w3.org/detailed.html.
Now that I am producing .aspx pages, where can I validate the code?
I have a problem with IIS and .NET 2.0. When I post to an aspx page everything acts as expected, the page is executed and I get the correct response. But when I send a GET request IIS just returns the code of the aspx page.
I tried switching to .NET 1.1 and it did not behave this way. I have been unable to discover why this happens.
I would like to display a text file using aspx. I realise that I can add a key for a text file in the web.config file. But what do I do after that? I would like to use c# to do this and I woudl like to try to understand how it can be done with a dll?
View Replies View RelatedI understand how asp scripting works and how you put <% %> around your server script. However this is .asp . what is .aspx? is this the new version ASP.nET? I dont understand how it works when i create a new aspx project in vstudio.net and i create a aspx page in design view.
I add a button and then double click it to add code to that button. I dont see any html code around it? In an asp page the server side code is surrounded by html code. An aspx page almost looks like a normal vb application, why is there no html
code around?
I wanted to code the new pages in asp.net. Is it possible to call aspx page from asp page. I mean say I have a button in asp page. On click of the button it should bring up the aspx page.
View Replies View RelatedI've got and old ASP script that works Ok, but I want now to
include it within a new ASPX script I've just created with '.net'.
The process could be:
<%@ Page Language="VB" %>
<%
... aspx code ...
include my old ASP script
%>
I'm newbie in ASP, and would be extremely obliged if anybody could
tell me how I must write it. I've tried with
Code:
<!-- #Include File="old-script.asp" -->
and
Code:
<% Server.Execute("old-script.asp") %>
but it doesn't work.
i have a asp project. however there is one module i want to create in .net. can i include the .net module in my asp project?
View Replies View RelatedHow can I configure my site to use extensions other than .aspx? For example, if I want helloworld.aspx to be helloworld.sp, how would I do that? I know that only the urls with .aspx extensions make it into my application_begin().
View Replies View Relatedis aspx known as the .NET version of ASP? and .asp is just the regular classic asp?
View Replies View RelatedI have simple web aspx application; only have aspx file, did not have *.csproj or *.sln. When I click web setup project, add existing project. There is no file in the folder. How do I deply only aspx applicaton?
View Replies View RelatedWe have a web server running IIS 5.0 that will not load
any file with an .asp file extension. The server
loads .html just fine, but all links to an .asp file end
up timing out.
Is it possible to create a loading bar with ASP? I am thinking of displaying the loading bar while my customers' requests are being processed (databse update).
View Replies View RelatedI have a an ASP page on which i wish to load dynamic text by way of a dot text file.
It would be great if something like.-
<txt scr = "MyTextFile.txt">
existed but life aint that simple, or is it?
i want to load an id from a table in the db how do i do that?I am scripting in asp?
i tried this but it wont work.
SQL = "SELECT * FROM users WHERE id=Request("id")"