Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

the navigation frames in vb.net

Posted on 2004-09-16
2
842 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

856 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