Solved

the navigation frames in vb.net

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Progress

630 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