Author: mou_inn | Posted on: 11/12/2010 5:03:58 AM | Views : 1183

i found a serious problem that when i click on button then postback happen but i stopped the postback.

my code is follows. please see what is wrong in it.
-----------------------------------------------------


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <script type="text/javascript" language="javascript"> function ShowDiv() { var modalWindow = document.createElement('div'); modalWindow.style.position = 'absolute'; modalWindow.style.height = '1 ...

Go to the complete details ...