Hello,
I am new to infragestics controls. i have a partial view inside the partial view i am using the infragestic Combobox . I call the Partial view from my main view repeatedly for showing it as an Accordion, The combobox are appear perfectly if only one Accordion is on the page where as if there are more than one Accordion is present than the Combobox are appearing perfectly in the last Accordion only and not displayed in other Accordion.
I am unable to get what is the reason for it.
i am using beolw two line for initailizing the infragestic combo box
@(Html.Infragistics().Loader().ScriptPath(Url.Content("~/Scripts/InfragisticsjQueryMVC/common/js/")).CssPath(Url.Content("~/Scripts/InfragisticsjQueryMVC/common/css/")).Theme("metro").Resources("igCombo").Render())
@Html.Infragistics().Combo().NullText("Purchase").InputName(@Model.PKLoanPropertyDetailID+"-transactionType").ID(@Model.PKLoanPropertyDetailID+"-transactionType").AutoComplete(true).DataSource(objTransactionType).DropDownWidth(200).Mode(ComboMode.DropDown).AllowCustomValue(false).TextKey("Name").ValueKey("Id").Text(Model.TransactionType).Width("200px").Render()
Thanks and Best Regards
Pradeep
Hello Pradeep,
Thanks for your feedback.
Is it possible for you to attach a simple sample which reproduces the issue?
Thank you in advance,
Martin Pavlov
Infragistics, Inc.
support@infragistics.com
Hello Martin
Thanks for your reply.
I am using unique ID for the combobox by adding the prefix @Model.PKLoanPropertyDetailID to each combobox (like this ID(@Model.PKLoanPropertyDetailID+"-transactionType")) but still i am unable to see the render combobox tag in my Accordion , whereas in the last accordion the render combobox tag are coming perfectly, so the combobox are visible . any help is really appreciated.
Best regards
Thank you for posting in the community.
You should check if your combo boxes have different IDs.
Each combo box on the page should have unique ID in order for combo boxes to initialize properly. In your case @Model.PKLoanPropertyDetailID should generate different ID for each partial view.
Do not hesitate to contact me if you have any additional questions.
Best regards,Martin PavlovInfragistics, Inc.support@infragistics.com