Solved .NET SAM_ItemSelected fires if SalTreeSetSelectedItem called

Report TD 5.x and 6.x bugs and possible workarounds.
a_sivababu
India
Posts: 501
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

.NET SAM_ItemSelected fires if SalTreeSetSelectedItem called

Post by a_sivababu » 16 Jun 2016, 12:14

Hello Support,

The SAM_ItemSelected Event fires automatically when SalTreeSetSelectedItem used anywhere in the application.

Version : TD .NET 6.3 SP1 UPD 2

Image

Thanks !
Siva A
You do not have the required permissions to view the files attached to this post.

Mike Vandine

Re: .NET SAM_ItemSelected fires if SalTreeSetSelectedItem called

Post by Mike Vandine » 03 Oct 2016, 05:23

Sorry, Siva. I'm not sure what the problem is that you are trying to report.

Can you give me step-by-step things to click on and let me know exactly what you are seeing and what you expect to see, plus why this is a bug.

Thanks!

a_sivababu
India
Posts: 501
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: .NET SAM_ItemSelected fires if SalTreeSetSelectedItem called

Post by a_sivababu » 04 Oct 2016, 04:13

Thanks Mike for picking up this bug.

As per my understanding, SAM_ItemSelected Event should fire when I am selecting the item from the Tree Control. Is that right? or my understanding is wrong?

And, SalTreeSetSelectedItem function is used to set the selected item in the tree control. This function can be called in any of the places in Gupta Application

So the question is that, why SAM_ItemSelected Event fires If I click/select the row in the Grid and set the selected values in the tree control.

To Simulate this, Just select the row in the grid and you see the popup message that fired due to auto fire of SAM_ItemSelected Event.

Thanks!
Siva A

Mike Vandine

Re: .NET SAM_ItemSelected fires if SalTreeSetSelectedItem called

Post by Mike Vandine » 28 Oct 2016, 06:21

Hi Siva,

I could reproduce this with earlier versions, but not with the prerelease of TD6.3 SP2 Update 1.

Best regards,

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 1 guest