473,569 Members | 2,601 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cross page posting of data

Hi,
I'm in need of help for solving the following problem:
I've a page with two div tag as follows:

<div id="divNormalVi ew" runat="server">
<asp:listbox id="listSelecte dMembers" Runat="server"</
asp:listbox>
</div>
<div id="divPrintPre view" runat="server">
<asp:datagrid >
</div>
on normal flow divNormalView would be visible and divPrintPreview
would be made as invisible. On click of a print image button
available
on the page, I am poping-up the same page with divPrintPreview made
visible and divNormalView made invisible.
Now I need to bind this grid with the members in Listbox.
I tried with cross-page posting using PreviousPage property but
couldnt able to solve it...
Please help me in
Thanks in advance
ArunDhaJ
Jun 27 '08 #1
1 1092
If I understand you correctly you did a postback to a new browser window (by
setting the forms "target" attribute to "_blank" or something like that) and
you want to access information from the dropdown on the original page?

If that's correct, understand first that both pages are the same page,
although you made the first DIV invisible it is still there, and unless you
have re-bound it or made any changes to it, it is still the exact same way
as it was before you made it invisible so you can access it programatically
as you would if it where still visible.

The server doesn't even knows that you opened it on a new window so for all
it cares it is still the same window. Once the server sends the page to you
it forgets about it, so there's no way to access a previous page
programatically (unless it's done on the client-side with javascript).

I hope that answers your question, please post more details if it doesn't.


"ArunDhaJ" <ar******@gmail .comwrote in message
news:bf******** *************** ***********@w5g 2000prd.googleg roups.com...
Hi,
I'm in need of help for solving the following problem:
I've a page with two div tag as follows:

<div id="divNormalVi ew" runat="server">
<asp:listbox id="listSelecte dMembers" Runat="server"</
asp:listbox>
</div>
<div id="divPrintPre view" runat="server">
<asp:datagrid >
</div>
on normal flow divNormalView would be visible and divPrintPreview
would be made as invisible. On click of a print image button
available
on the page, I am poping-up the same page with divPrintPreview made
visible and divNormalView made invisible.
Now I need to bind this grid with the members in Listbox.
I tried with cross-page posting using PreviousPage property but
couldnt able to solve it...
Please help me in
Thanks in advance
ArunDhaJ

Jun 27 '08 #2

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

Similar topics

12
3851
by: * ProteanThread * | last post by:
but depends upon the clique: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=954drf%24oca%241%40agate.berkeley.edu&rnum=2&prev=/groups%3Fq%3D%2522cross%2Bposting%2Bversus%2Bmulti%2Bposting%2522%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den ...
7
1951
by: Venkat | last post by:
Hi All, I would like to about Cross Site Scripting. I googled XSS and got the point what it is but didn't get how it is achieved. Can someone describe me with an example how an hacker does it. My intension is not to hack anything but i am preparing a presentation on this and would like to caution my team mates about the consequences of...
23
6497
by: Jeff Rodriguez | last post by:
Here's what I want do: Have a main daemon which starts up several threads in a Boss-Queue structure. From those threads, I want them all to sit and watch a queue. Once an entry goes into the queue, grab it and run a system command. Now I want to make sure that system command doesn't hang forever, so I need some way to kill the command...
2
2259
by: Peter Bär | last post by:
A Question to the C#/.Net Gods of this forum: are there performance penalties when i compile (C#, FW1.1, ASP.NET, Studio2003) a central baseclass in a different assembly than all the derived classes? f.i. ive got a class dbobject i project "Basesupport", compiles to Basesupport.dll. From dbobject i derive about 100 classes, thy all are...
7
3901
by: Scott M. | last post by:
How can I disable the cross-site scripting check for one particular page of a site?
10
4901
by: Atul Bahl | last post by:
I am not able to reference values by using cross page postings when using master page. Currently I am runing on beta 2 of CLR. Any ideas... Thanks Atul
5
1438
by: Bryan | last post by:
I am trying to get to a label control to get its Text value. from a previous page. The label control is buried in a Web User Control that is in a webpart zone. When I use this code: foreach(Control c in PreviousPage.Controls) { and try to find the control here. }
6
1517
by: Andrew | last post by:
Hello, friends, I tried to do cross-page posting, i.e., in firstpage.aspx I used action="secondpage.aspx". Since I am using asp.net 1.1, so it always goes back to firstpage.aspx aftern submitting firstpage.aspx. I then tried in page_load of firstpage.aspx:
2
1229
by: Vu Truong | last post by:
Hello, I try to use PostBackUrl to cross post between 2 pages on difference application. At the first time, I press the button on source page. Check on target page, I see Request.Form is nothing and Request.HttpMethod is GET (not POST). But if I don't close the browser, try to enter the URL of source page and press the button on source...
0
7701
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7979
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.