Importing Control Parameters from current webpage

Last post 07-20-2009 12:49 AM by redwoodbev. 1 replies.

Sort Posts:

  • Importing Control Parameters from current webpage

    06-15-2009, 9:22 AM
    • Member
      2 point Member
    • steph_a
    • Member since 04-23-2009, 5:01 PM
    • Posts 17

    Hi guys, 

    The following existing code is used to import control information (search) from the previous webpage and works well:

    Dim advParameters As AdvancedSearch_ascx = CType(Util.FindControlRecursively("AdvancedSearch", Page.PreviousPage.Controls), AdvancedSearch_ascx)
    AdvancedSearch.ImportProperties(advParameters)


    I want to import control information entered within the current page displaying results to give users the ability to run a new search from this page.

    I took this same code and wanted to reuse it but cannot get it to work and import current control information entered.

    Would really appreciate your help.

    Thanks,

    Stephane

     


     

  • Re: Importing Control Parameters from current webpage

    07-20-2009, 12:49 AM
    • Member
      15 point Member
    • redwoodbev
    • Member since 09-24-2008, 1:37 PM
    • Posts 88

     Hi,  I think you are describing exactly what I have been trying to figure out myself.  I want to have a page which is set up in advance to search a particular way, for example by state (location) or by city. 

    I've been thinking I could somehow use or adapt advanced search, but don't really know how to go about it.  Any suggestions would be appreciated.  Thanks

     

Page 1 of 1 (2 items)