CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Preserve parameters problem..

Print topic Send  topic

Author Message
Andrej
Posted: 09/01/2003, 2:10 AM

Thanks all for answering my questions about file upload. In the end it
was so simple, just few clicks in custom insert field... Darn it...

Now a following question. I make Grid form through Grid wizard, also
Search form is created. Now, when you enter data in Search form and click
Submit you nicely get the results you wanted but data is left in Search form
boxes, so you have to delete it first to enter data for new search...

Search form and Grid are on the same page. So, what to change so that I
get empty Search form and results in a grid...

Many thanks...

Andrej

DonB
Posted: 09/01/2003, 5:56 AM

Check the URL of your form, you should see parameters there (probably like
"s_xxxx") that are used to initialize the search form Textboxes (these
parameters match the Textbox names). Put the parameter names into the
"Remove Parameters" property (separated by semicolons ";") and they are
stripped off when the form loads so the Textboxes start out empty. Where
you do this depends on your application, perhaps a link in the Grid, or on
the Search form itself.

If there is a query parameter name matching any control name on the page,
when the page loads the parameters values are always used to initialize
controls unless you explicitly remove them.

--
DonB

http://www.gotodon.com/ccbth


"Andrej" <magla@hi.hinet.hrREMOVETHIS> wrote in message
news:biv2du$nat$1@news.codecharge.com...
> Thanks all for answering my questions about file upload. In the end it
> was so simple, just few clicks in custom insert field... Darn it...
>
> Now a following question. I make Grid form through Grid wizard, also
> Search form is created. Now, when you enter data in Search form and click
> Submit you nicely get the results you wanted but data is left in Search
form
> boxes, so you have to delete it first to enter data for new search...
>
> Search form and Grid are on the same page. So, what to change so that
I
> get empty Search form and results in a grid...
>
> Many thanks...
>
> Andrej
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.