Nik
Novice

How to prevent Control change method on ListView Double Click Event

Hi Team,

How we can control Control change event that get fired when we double  click any listview.

We had some login on Dropdown change which Clear out the Textbox data If user Select some value. Since Listview Double click events fires the change method so value get lost if we double click the listview to edit the data.

 how we can prevent this issue.

 

0 Kudos
Reply
1 Reply
NigelStratton
Apprentice

Re: How to prevent Control change method on ListView Double Click Event

Are you referring to a drop down list in the Add/Edit section of a list view?

 

If so, you can do this.

Add a DataLabel called DoubleClickStarted.

At the top of your double click rule, add Transfer Data of 1 to DoubleClickStarted.

I assume your double click rule has this line "then edit the selected row on the editable list"

At the bottom of your double click rule add Transfer Data of 0 to DoubleClickStarted

In your drop down Change rule, put this at the top

if NewDataLabel does not contain (a specific value) 1 then

 

This will prevent the change rule from running on a dropdown when double click event happens.

 

If this solves your problem, please mark this as the solution.

0 Kudos
Reply