ASP Refresh

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eriko
    New Member
    • Mar 2007
    • 3

    ASP Refresh

    Kindly please advise, how to refreshing web page ( ASP ) without have to enter the record again.
    For example , I choose in combobox the country name such as Australia, and then after refreshing the records will shown the city with related in Australia only.

    I really stack in the case.

    Thanks & Rgds,
    Eriko
  • Akhilesh1505
    New Member
    • Feb 2007
    • 17

    #2
    Originally posted by eriko
    Kindly please advise, how to refreshing web page ( ASP ) without have to enter the record again.
    For example , I choose in combobox the country name such as Australia, and then after refreshing the records will shown the city with related in Australia only.

    I really stack in the case.

    Thanks & Rgds,
    Eriko
    See, in this case you can submit your ASP page when you choose a country name from a combobox , after submit page will be reloaded and you will get
    corresponding cities.

    Comment

    • Deegirl
      New Member
      • Jul 2007
      • 2

      #3
      Originally posted by Akhilesh1505
      See, in this case you can submit your ASP page when you choose a country name from a combobox , after submit page will be reloaded and you will get
      corresponding cities.
      I have the same kind of problem. actually i want to select a course from a dropdown list then, the course fee is supposed to appear in a textbox after the page is refreshed. Also instead of the subjects being in another drop down list, they are supposed to be displayed on a table in the form. However when i select a course, the page refreshes and nothing shows, not even the course itself but the parameter for the course is shown on the address bar.

      on the courses i have an onchange="click _course()" and this is what is supposed to happen

      sub click_course()
      parent.location .href = "fStudent.asp?s trpar=" & frmStudent.lstc ourse.value
      end sub

      and also how do i dispay the course fee of the selected course from the database? help

      Comment

      • legolas936
        New Member
        • Jul 2007
        • 4

        #4
        hi DeeGirl,
        Make the AutoPost back property of the dropdown list to true and then write the logic to get the course fee into textbox in the SelectedIndexCh anged event of the dropdown List

        Originally posted by Deegirl
        I have the same kind of problem. actually i want to select a course from a dropdown list then, the course fee is supposed to appear in a textbox after the page is refreshed. Also instead of the subjects being in another drop down list, they are supposed to be displayed on a table in the form. However when i select a course, the page refreshes and nothing shows, not even the course itself but the parameter for the course is shown on the address bar.

        on the courses i have an onchange="click _course()" and this is what is supposed to happen

        sub click_course()
        parent.location .href = "fStudent.asp?s trpar=" & frmStudent.lstc ourse.value
        end sub

        and also how do i dispay the course fee of the selected course from the database? help

        Comment

        Working...