kxu12348760 / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
0 stars 0 forks source link

keep on appending new span #255

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The Drop down check list plugin creating dynamic span for drop down.
So how many times the plugin is loading that many times the drop down list is 
creating.

Original issue reported on code.google.com by maheswar...@gmail.com on 12 Jul 2012 at 12:37

GoogleCodeExporter commented 8 years ago
I cannot quite figure out your problem from the information supplied.  Could 
you please provide more details (including DDCL version number and 
browser/version).
Most importantly, please attach a simple sample of html that reproduces the 
problem.

Original comment by womohun...@ittrium.com on 13 Jul 2012 at 3:40

GoogleCodeExporter commented 8 years ago
<div>
@Html.DropDownListFor(m => m.seletedLists, new SelectList(Model.Names, "Id", 
"name"), new { style = "width:150px;" })
</div>

I am calling this page by ajax on button fire.If I click on thrice the page is 
calling 
thrice the drop down is creating thrice for UI only(functionally only one is 
working).

Original comment by maheswar...@gmail.com on 16 Jul 2012 at 7:03

GoogleCodeExporter commented 8 years ago
I am using
1. Mozilla Firefox 13.0.1
2.DDCL Version 1.4

Original comment by maheswar...@gmail.com on 16 Jul 2012 at 7:07

GoogleCodeExporter commented 8 years ago
Based on your expanded information, it sounds like you are dynamically 
initializing DDCL on a single target item, multiple times.  DDCL does not 
currently protect itself from multiple initializations, as was previously 
reported in issue #253.

Any subsequent work on this feature will be tracked via 253.  Take a look there 
for a posted patch you can apply to your environment.

Original comment by womohun...@ittrium.com on 16 Jul 2012 at 2:37

GoogleCodeExporter commented 8 years ago
in issue #253 (my post) is solution to how to solve that problem
it does not matter how many times you call initialization of DDCL it will be 
created only once.

Original comment by drakce.d...@gmail.com on 16 Jul 2012 at 3:20

GoogleCodeExporter commented 8 years ago
Thank you .It solved my issue.

Original comment by maheswar...@gmail.com on 17 Jul 2012 at 6:22