Author: replyme | Posted on: 2/17/2010 1:13:34 AM | Views : 1018

Hi,

I am trying to add aspx pages to my website which already has Asp Pages. I made a virtual directory and pointed to existing website where I have placed new Aspx files along with previous Asp files.

Now when I try to execute the file. It runs good in first attempt, however, when I click a couple of times of "click me" button browser keeps on processing and does displays my message again.

Code in Default.aspx.vb
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Label1.Text = "Heello how are you?"

Code in Default.aspx

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/x ...

Go to the complete details ...