I've LinkButton in my RadComboBox ItemTemplate with CommandName OnCommand event and Command Argument for delete item if user clicking.
ComboBox populating with SqlDataSource.
When trying to click second item in ComboBox page postabacking but doesnt raise onclick or even oncommand event.
If clicking first item in ComboBox raising both of events but command argument is second items command argument.
Where is the mistake?
Thanks is advance.
6 Answers, 1 is accepted
Can you try to register LinkButtton as a AsyncPostBackControl:
Than you for reply!
Added yor code to my itemdatabound but did not work.
Here is my onitemdatabound event
RadComboBox loading in run time.
Removed if (!Is.Postback) check and now when clicking LinkButton firing ItemdataBound always.
But firing oncommand event only when I clicking first item with wrong command argument.(second items command argument)
Only first item firing OnCommandEvent.
I achieve this issue with this codes