473,473 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

urgent: unknown problem

Hi,

I am creating a ASP.NET web application. On one page, if user click a
link button, then another aspx page will be shown as modelwindow, on
that modal window, it shows some key information about the sale, user
could change the value, and then click confirm link button on that
page,

the javascript code to pop up the new window is:

this.LinkButton1.Attributes.Add("onClick",
"window.showModalDialog('signupConfirm.aspx','this ','*font-size:10px;dialogWidth:43em;dialogHeight:40em,toolb ar=0,location=0,directories=0,status=no,menuBar=1, scrollBars=no,resizable=no');");

The code to correspond the click event on popup window is:

private void LinkButton1_Click(object sender, System.EventArgs e)
{
Model.SignUp signup = (Model.SignUp )Session["signup"];

if ( this.CheckInfor(signup))
{
//this.AddSale(signup);
//Response.Redirect(GeneralHelper.SignupRAF);
this.Dispose();
}

}

if I open the child page using Response.Redirect, then everything is
fine, but if I use it as popup window, when I click confirm link
button, another popup window comes out, it is a blank page, the address
in address bar is:

javascript:{if%20(typeof(Page_ClientValidate)%20!= %20'function'%20||%20%20Page_ClientValidate())%20_ _doPostBack('LinkButton1','')}
I have no idea what happened, but I do have a few validator on that
child page, I have disabled all of them, and also check the html code,
there is no javascript at all, any one could give me some ideas?

Thanks you so much

zhuang

Nov 25 '05 #1
1 1019
Use <base target="_self"> in <head></head> in the modal dialog aspx

Nov 25 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jie | last post by:
Hi, I am using Visual Studio .Net 2003 in XP environment. It keeps coming up the following error. So I have to restart the PC every time it comes. Please advise what is wrong with this. Thanks. ...
5
by: Vishal | last post by:
Hey, I have differnt kind of dates. They can be in this format: Thur, 23 Sept 2004 14:24:15 GMT Thur, 23 Sept 2004 14:24:15 PST Thur, 23 Sept 2004 14:24:15 CST and so on....
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
6
by: varkey.mathew | last post by:
Dear all, Bear with me, a poor newbie(atleast in AD).. I have to authenticate a user ID and password for a user as a valid Active Directory user or not. I have created the IsAuthenticated...
1
by: praveenrn | last post by:
Hi, Iam running a webservice in my local machine and wrote dii client to contact it. it was able to do it. But the problem is when i try to contact the server which is at some other location...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.