Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1300
Not able to show the infragestic combobox inside my Partial View
posted

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

Parents
No Data
Reply
  • 23953
    Offline posted

    Hello Pradeep,

    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 Pavlov
    Infragistics, Inc.
    support@infragistics.com

Children