I am using Infragistics Ultrawebgrid.
When the user press the delete key on a particular row on the grid, that particular row needs to be deleted. This is working fine.
I used DropDownList with an UltrawebGrid and binding the values using a stored procedure. The DropDownList contains list of items ( e. g. Item1, Item2, Item4, Item5, Item6...).
DropDownList
UltrawebGrid
Item1, Item2, Item4, Item5, Item6...
I used after cell updation ( Client side event in ultrawebgrid) to avoid to choose the same item. When the user chooses the same item it says 'this item already exist'.
ultrawebgrid
When the user chooses an item , the price and weight of the item will appear in that row.
It may be a situation that - after choosing items (say for example item1, item2, item3 ) - the user may delete any one of the selected items ( say for example item1).
item1, item2, item3
item1
So when user press delete on item1 , the item will be deleted.
My problem is after deletion of the item (item1) in Ultrawebgird, if I choose another row (item4) it says 'This item already Exist (but, in that grid there is no such item). .
Ultrawebgird
item4
What do I need to do?
I am using
I'm glad you have managed to resolve your issue.
Let me know if you have any other questions or concerns.
The Problem Is in AfterCellUpdationEvent. So We find and solved the problem. Thanks For Your Team to interest Regarding This Issue.
Hi,
I'm just checking if you still need assistance with the matter.
Hello,
I am still unable to reproduce the issue you have described. Is it possible for you to provide me with a small running sample that I can test and debug on my side?
Thank you.
We are using ultrawebgrid.
1. The Values Will Bind Into Ultrawebgrid in Server Side(Using Stored Procedure) On Page Load.
2. There Are 6 Column in The Ultawebgrid.(sno,item,price,qty...etc)
3. The Column Type of item is DropDownList.
4. We are Bind the Values separately For Ultrawebgrid and DropDownList. And the stored Procedure Also Different.
5. It is must that the item(That is Binded in DropDownlist Of ultrawebgrid) can't be selected more than once.(That is assume that the item column have records like item1,item2,item3,item4 then if item1 selected in first row of ultrawebgrid it will not be allowed to select again).
6. We Prevent That by using afterCellUpdation by prompting 'This item already Exist'.And this works fine.
Our Problem is after delete one row( Say for example we load item1,item2,item3. And we delete a row item 1 by pressing deletekey in the keyboard)
if we load another item(item4,item6) That also prompt 'This item already Exist'. Kindly understand and solve our problem.