473,508 Members | 2,281 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="divNormalView" runat="server">
<asp:listbox id="listSelectedMembers" Runat="server"</
asp:listbox>
</div>
<div id="divPrintPreview" 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 1089
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**********************************@w5g2000p rd.googlegroups.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="divNormalView" runat="server">
<asp:listbox id="listSelectedMembers" Runat="server"</
asp:listbox>
</div>
<div id="divPrintPreview" 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
3842
by: * ProteanThread * | last post by:
but depends upon the clique: ...
7
1949
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....
23
6480
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...
2
2258
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...
7
3891
by: Scott M. | last post by:
How can I disable the cross-site scripting check for one particular page of a site?
10
4894
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
1433
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:...
6
1513
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...
2
1227
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...
0
7225
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,...
0
7123
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
7382
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
7495
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
5627
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
5052
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
1556
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 ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.