This topic is locked

How to show/hide search panel programmatically

12/1/2010 3:41:15 PM
ASPRunnerPro Tips and tricks
admin

Applies to ASPRunnerPro 6.3
This code can be placed to Javascript OnLoad event or used within any other Javascript code.
Hide search panel

pageObj.searchController.hideSearchOptions();


Show search panel

pageObj.searchController.showSearchOptions();


Toggle search panel

pageObj.searchController.toggleSearchOptions();
N
nyang 2/25/2011

Hi,
I have added the javascrpt code in Header and in Footer page and hope to hide the search panel. But it doesn't work for me. I am using ASPRunnerPro 6.3. Do I need to install some components to make it works?
<script language=JavaScript type=text/JavaScript>

<!--

pageObj.searchController.hideSearchOptions();

//-->

</SCRIPT>
Also I have tried to add in JavaScript Onload event:

pageObj.searchController.hideSearchOptions();

It doesn't work
Could you have some detail for hiding the search panel?
Thanks

Norm

admin 2/28/2011

Norm,
I recommend to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.