cancel
Showing results for 
Search instead for 
Did you mean: 
pdavis
Nintex Newbie

Button to refesh list view control

Jump to solution

I am currently using a list view control on a form that filters based on a control's value.  The control that the list view is filtering on is a text box.  To get the filtered results I have to enter data into the text box and hit enter.  This correctly filters the list view.  What I would like to do is have the user press a button to filter the view instead of having to press enter.  I tried location.reload() but this reloads the form with no values.  Is there some javascript I can use to mimic pressing the enter key on the control that filters the list view?

Labels: (2)
Tags (2)
Reply
2 Replies
pdavis
Nintex Newbie

Re: Button to refesh list view control

Jump to solution

I found the solution.  I opened the developer window and looked at the form.  The control had an onchange javascript function.  I copied the code to the button and now when you press the button, it refreshes the form with the correct filtered list views.

 

It will be different depending on the form, but here is what mine looked like:

javascript:setTimeout('__doPostBack(\'ctl00$m$g_4d71a5c4_380a_49bc_a478_446e74538ccb$ctl00$formFiller$FormView$ctl10$ctl16$ff023821_4c24_473e_8b31_fe6a9dc41875\',\'\')', 0)"

View solution in original post

Reply
best869
Nintex Newbie

Re: Button to refesh list view control

Jump to solution

Request a solution. I do not want method not working 

0 Kudos
Reply