473,385 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ASP.Net 2.0 and Force Post Back ?

I have created a page1.aspx with a button, when I click on button,
page2.aspx is opened on top of page1.aspx as a New Popup Window using
Javascript Window.Open.

Now, when I select the data on page2.aspx and close it with
Javascript.window.close(), the page1.aspx does not postback ?

Any idea how can I force the page1.aspx to PostBack.

Best Regards,

Luqman

Apr 17 '07 #1
1 2031
jb
Luqman wrote:
I have created a page1.aspx with a button, when I click on button,
page2.aspx is opened on top of page1.aspx as a New Popup Window using
Javascript Window.Open.

Now, when I select the data on page2.aspx and close it with
Javascript.window.close(), the page1.aspx does not postback ?

Any idea how can I force the page1.aspx to PostBack.

Best Regards,

Luqman
Have look at ClientScript.GetPostBackEventReference(). You can use this
to postback clientside
Apr 17 '07 #2

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

Similar topics

3
by: Lucvdv | last post by:
I want to return a 404 response from an ASP script (IIS 5). Response.Status lets me set the response string, but if I don't include any HTML text myself, the result is an empty page. Is there...
4
by: Tom | last post by:
Does anyone know how ot force a postback in the codebehind? Thanks Tom
1
by: JezB | last post by:
I have a button which implicitly posts-back before firing the event that I have attached to that button. Within that event code I modify the controls collection on the page so I want to force...
6
by: CW | last post by:
I have written a chat console using DHTML/ASPX. One of the hidden frame continuously refreshes and writes any new messages to a conversation transcript frame. My problem is that I need to keep...
8
by: Amirallia | last post by:
Hello I want to force the Page.IsPostBack to false when I click an "asp:button" Is it possible ? -- Ceci est une signature automatique de MesNews. Site : http://www.mesnews.net
1
by: Mark A | last post by:
DB2 ESE 8.2.3 (FP10) for Linux We are experiencing a connection hang of 10 - 15 minutes in the following HADR and automatic client reroute scenario: 01 server is primary database 02 server is...
1
by: Tim Harmon | last post by:
How would I force a page post back to then use the page parameters to collect sellected control states like check boxes to be used in another asp page? -- Tim Harmon TIIMS Database...
2
by: paulquinlan100 | last post by:
Hi I'm using automation in excel to insert a lot of data into an Access DB. Its all working fine, apart from the fact that the data entry people occasionally put "n/a" in the cells instead of 0,...
41
by: Twayne | last post by:
Hi, How would I go about "forcing" a user from one page to another? I have a very simple random question/answer entrance requirement for an e-mail form. After 3 page views most people are...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.