Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

the navigation frames in vb.net

Posted on 2004-09-16
2
Medium Priority
?
874 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
[X]
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
2 Comments
 
LVL 4

Accepted Solution

by:
PerryDK earned 375 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

721 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