Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

cross page posting of data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ArunDhaJ - 28 Apr 2008 13:38 GMT
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
Fernando Rodriguez - 29 Apr 2008 00:39 GMT
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.

> Hi,
> I'm in need of help for solving the following problem:
[quoted text clipped - 23 lines]
> Thanks in advance
> ArunDhaJ

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.