---
title: "Problem with getting Id of control where item is dropped."  
description: "Problem with getting Id of control where item is dropped."  
author: "Anonymous User"  
published: 2011-01-04  
updated: 2011-01-04  
canonical: https://www.mindstick.com/forum/142/problem-with-getting-id-of-control-where-item-is-dropped  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# Problem with getting Id of control where item is dropped.

Hi,

I am working on an [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) where I have to Drag n Dropselected [item](https://www.mindstick.com/forum/156564/remove-item-in-an-array-in-javascript) from [DropDownList](https://www.mindstick.com/articles/324837/how-to-bind-dropdownlist-in-mvc-core-from-database-using-entity-framework), I can successfully drag n [drop](https://www.mindstick.com/forum/159392/how-to-fetch-the-value-of-the-selected-options-in-drop-down-in-php) [items](https://www.mindstick.com/forum/33812/getting-number-of-items-selected-in-uicollectionview-in-ios) fromselected list but I have a issue with mouseup [event](https://www.mindstick.com/articles/167719/marquee-hire-benefits-of-event-lighting-hire-london).

The [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) is that when I leave the dragged object mouseupevent of that object fires, now what I want to do is to [fire](https://yourviews.mindstick.com/view/81364/assam-oil-well-fire-accident-why-we-are-prone-to-it) the event of thecontrol where I am dropping item, through Javascript.

One more thing, [controls](https://www.mindstick.com/articles/66/how-to-create-controls-at-run-time-in-csharp-dot-net) where I am dropping items are notfixed, they vary. Now I want to get the Id of the [control](https://www.mindstick.com/blog/197/asp-dot-net-repeater-control) where the element isdropped.

Thanks in advance.


---

Original Source: https://www.mindstick.com/forum/142/problem-with-getting-id-of-control-where-item-is-dropped

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
