Solved

the navigation frames in vb.net

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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…

747 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