Solved

the navigation frames in vb.net

Posted on 2004-09-16
2
829 Views
Last Modified: 2008-02-01
hi all,
I work an aplication using vb.net and want to make two frames. First frame (upper frame) is for search criteria and bottom frame is for search result of some database. When I press submit button in upper frame, result should appear in bottom frame. How can I do this. It was easy in asp (<frame name=fr1 src=... target="fr2">
       <frame name=fr2 src=... > ) but in asp.net we don't have target attribute of frame tag.

thanks in advice
0
Comment
Question by:dragy
2 Comments
 
LVL 4

Accepted Solution

by:
PerryDK earned 125 total points
ID: 12079654
Drop a two panels on the form.  Top one is for search critera bottom one is for results.

Add a listbox to the bottom panel or any other type of component that you want to use to display the results.

Then on the submit button click event handler just add the results to the list box like

  Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        ListBox1.Items.Add("Result1")
        ListBox1.Items.Add("result2")
    End Sub

Of course the hard part is brining back a string array of the results for your actually search critera.
0
 
LVL 1

Author Comment

by:dragy
ID: 12081737
Ok perry,
but I need two pages, top one stays fixed, but bottom one can scroll independently of top one. I made this in last version of application  (ASP). In aspx version, I created the frames where are placed the pages which should be there. But when I press submit button, results appear in the top one frame (it should appear in the bottom one). When I comment line response.redirect("bottom.aspx") in the top page, results don't appear nowhere. I want to see results in bottom page in bottom frame which I can scroll and at the same time I can see criteria in top page in top frame. I'm not sure can I do this with the panels because I'm beginer. If I can, could you tel me how, please.

Thanks
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now