.
<ig:DropDownProvider ID="UOM_DropDownProvider"> <EditorControl DropDownContainerMaxHeight="200px" EnableAnimations="False" ID="EditorControl" runat="server" EnableDropDownAsChild="False" DropDownContainerWidth="150px"> <Items> <ig:DropDownItem Key="Kgs" Text="Kgs" Value="1"> </ig:DropDownItem> <ig:DropDownItem Key="Liters" Text="Lts" Value="2"> </ig:DropDownItem> <ig:DropDownItem Key="Meeters" Text="Mtls" Value="3"> </ig:DropDownItem> </Items> </EditorControl> </ig:DropDownProvider>
<ig:BoundDataField DataFieldName="ItemPriority" Key="ItemPriorityKey" Width="7%"> <Header Text="Priority" /> </ig:BoundDataField>
<ig:BoundDataField DataFieldName="RemarksTooltip" Key="RemarksKey"> <Header Text="Remarks" /> </ig:BoundDataField> <ig:UnboundCheckBoxField Key="testKey" HeaderCheckBoxMode="BiState" HeaderChecked="true" /> <ig:TemplateDataField Key="ViewKey" Header-Text="View"> <ItemTemplate > <div id="javawwwww" style="width: 99%; float: left"> <asp:LinkButton CssClass="editDoc-button" OnClick="BtnPRItemViewDoc_Click" TabIndex="112" Visible='<%#Eval("HasDoc")%>' ToolTip="Click to view documents" CommandArgument='<%#Eval("Id")%>' runat="server"></asp:LinkButton> </div> </ItemTemplate> </ig:TemplateDataField> <ig:BoundDataField DataFieldName="Id" Key="Id" Hidden="true"> </ig:BoundDataField> </Columns>
<ig:EditingColumnSetting ColumnKey="ItemPriorityKey" EditorID="WebDataGrid1_DropDownProvider1" ReadOnly="False" /> <ig:EditingColumnSetting ColumnKey="RemarksKey" ReadOnly="True" /> </ColumnSettings>
on 'edit any field and post back' above code trigger following error :(
Multiple controls with the same ID 'it11_0' were found. FindControl requires that controls have unique IDs.
if i don't use any TemplateDataField it working fine
any workaround for solving this issue?
Hello Vishnu,
Which is the the code that produces this error and which control do you try to access via FindControl ? Please provide these answers and I will be happy to suggest accordingly.
hi thanks for your quick response :)
error happen when ever adding following code to the webDataGrid
<EditorProviders><ig:DropDownProvider ID="UOM_DropDownProvider"> <EditorControl DropDownContainerMaxHeight="200px" EnableAnimations="False" ID="EditorControl" runat="server" EnableDropDownAsChild="False" DropDownContainerWidth="150px"> <Items> <ig:DropDownItem Key="Kgs" Text="Kgs" Value="1"> </ig:DropDownItem> <ig:DropDownItem Key="Liters" Text="Lts" Value="2"> </ig:DropDownItem> <ig:DropDownItem Key="Meeters" Text="Mtls" Value="3"> </ig:DropDownItem> </Items> </EditorControl> </ig:DropDownProvider> </EditorProviders>
....... then edit any editable cell
then click on any button placed in TemplateDataField.
i think its not happen in user code.
i am sorry..... its not a good solution. grid not get updated with the bind list. i think its a bug.
Hell Vishnu, Thank you for your feedback. I will be able to further look into this issue on Monday, 30 March and will update you with my findings.
I took the time to further investigate this issue. It turned out that your assumption of this to be a wrong behavior is right.
Anyway, this behaviors is fixed in 12.1 so I suggest that you upgrade to the latest Service release of 12.1 volume which is 12.1.20121.2260. The download is available in Infragistics website under My account --> My Keys & Downloads.
Please upgrade and let me know if you have further questions on the matter afterwards.
Best Regards,Hristo AnastasovAssociate Software DeveloperInfragistics, Inc.
Hello,
I am just following up to see if upgrading to the latest service release fixed your issue. Please let me know.
Hi,
issue still exist
" Anyway, this behaviors is fixed in 12.1 so I suggest that you upgrade to the latest Service release of 12.1 volume which is 12.1.20121.2260. The download is available in Infragistics website under My account --> My Keys & Downloads. "
In reality its not available.
according to the online chat " Milko Venkov: i am checking it right now and it is not a public build and i cannot give you a link for it as there is no such link "
also try version 12.2 :(
please suggest a working solution.
Thanks And Regards
Vishnu prasad nb
Hi Vishnu,
This is strange - I was able to reproduce the same with 1005, but am not able to reproduce it with any other version, including 12.2.20122.2257.
Anyway, I have opened a new support case for you with id of CAS-156159-W2R8G8, where I have provided you with a link to download version 12.1.20121.2209 according to your request. You can find your active cases under Account - Support Activity in our website. Please install the provided version and let me know if this fixes your issue.
Hi Hristo,
i tried with 2012 vol 2 (Infragistics4.Web.v12.2, Version=12.2.20122.2257) and that's not working. actually i need the 2012 vol 1 but currently its not showing in my subscription.
any way am going to contact with sales team after that i can able to confirm. Do you please specify extract version that's work fine and available to the public?
Thanks and regards
Vishnu Prasad
It seemed I had a typo in the version number, it must be 2247. I tested with it and am not able to reproduce the issue as with 1005. Could you confirm what is exact version that is available for you in Infragistics website so I can also reassure my findings ?
Thanks for the quik replay. i already tried with version 2257. sadly its not fixed in 2257 :(
2260 is not a public build, but 2257 is and it should be available for download for you, after you login to Infragistics website and go to https://ko.infragistics.com/my-account/keys-and-downloads
If you are still not able to download it please let me know and I will provide an alternate link for you.