We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Javascript error with EnableIncrementalSearch and Grouping

Hi,
referring to the example you provided me in the post on Grouping with Datasource, I tried to add the EnableIncrementalSearch() method.
When I click 2 times the same letter there is a javascript error "cannot retrieve the property 'getAttribute' on a not defined or null reference (I got the error in Italian and manual translated, so I don't know if the sentence is this).
If I launch with debugger attached, this error freezes Visaul Studio 2013, as usual when it tries to load the ej.web.all.min.js file and there is an error inside.

   Thanks

   Andrea Perazzolo

6 Replies

SS Saranya Sivakumar Syncfusion Team December 3, 2014 11:56 AM UTC

Hi Andrea,

Sorry for the Inconvenience caused.

We are able to reproduce the issue (When I click 2 times the same letter there is a javascript error "cannot read the property 'getAttribute') and an issue report has been logged on this. The fix for this issue will be available in our upcoming service pack release which is expected to be rolled out at the end of next month (January). We will update you once this issue has been resolved.

Please let us know if you have further queries.

Regards,

Saranya.S



AP Andrea Perazzolo May 7, 2015 07:02 AM UTC

Hi,
I resume this topic to note that there is an issue regarding this problem that is not fixed correctly.
The Incremental Search gives a javascript erro in this case:

@Html.EJ().DropDownListFor(a => a.IdResource, (DropDownListProperties)Model.DdlProps)
DdlProps = new DropDownListProperties()
{
    DataSource = ResourcesList,
    //Change = "onRoleChange",
    WatermarkText = "Select Resource",
    Width = "300px",
    EnableIncrementalSearch = true,
};

1) The Field IdResource which is binded the control is int? and not initialized
2) I run the page and try to search for a value.


I tried to initialize, it and the iIncremental Search works correctly
There is a workaround to this problem.
I haven't installed the 2015 vol 1 Sp yet

     Thanks in advance

   Andrea Perazzolo



SS Saranya Sivakumar Syncfusion Team May 8, 2015 09:55 AM UTC

Hi Andrea,

Sorry for the inconvenience caused.

We would like to let you know that, the enableIncrementalSearch issue in Dropdownlist control has been fixed and included in ourEssential Studio 2015 Volume 1 Service Pack Release v13.1.0.26 which is rolled out last month and it is available for download under the following location.

http://www.syncfusion.com/forums/118977/essential-studio-2015-volume-1-service-pack-release-v13-1-0-26-available-for-download

For your convenience we have prepared the sample and it can be downloaded from the following location.

http://www.syncfusion.com/uploads/user/forum/117704/DDLEnableincrementalsearch-369485919.zip

Please let us know if you have further concern.

Regards,

Saranya.S



AP Andrea Perazzolo replied to Saranya Sivakumar May 12, 2015 09:33 AM UTC

Hi Andrea,

Sorry for the inconvenience caused.

We would like to let you know that, the enableIncrementalSearch issue in Dropdownlist control has been fixed and included in ourEssential Studio 2015 Volume 1 Service Pack Release v13.1.0.26 which is rolled out last month and it is available for download under the following location.

http://www.syncfusion.com/forums/118977/essential-studio-2015-volume-1-service-pack-release-v13-1-0-26-available-for-download

For your convenience we have prepared the sample and it can be downloaded from the following location.

http://www.syncfusion.com/uploads/user/forum/117704/DDLEnableincrementalsearch-369485919.zip

Please let us know if you have further concern.

Regards,

Saranya.S


HI,
I noticed that your example is with the 13.1.0.21 and not with the Service Pack.
Same as mine, but mine gives an error, but I am investigating.
When I try to upgrade to 13.1.0.26, the Dropdown gives me a strange behavior: the data shown has only one character per item, I Changed the dll and the Javascript file.
Always with Unobtrusive Support enabled


   Thanks in advance


AP Andrea Perazzolo replied to Andrea Perazzolo May 12, 2015 09:38 AM UTC

Hi Andrea,

Sorry for the inconvenience caused.

We would like to let you know that, the enableIncrementalSearch issue in Dropdownlist control has been fixed and included in ourEssential Studio 2015 Volume 1 Service Pack Release v13.1.0.26 which is rolled out last month and it is available for download under the following location.

http://www.syncfusion.com/forums/118977/essential-studio-2015-volume-1-service-pack-release-v13-1-0-26-available-for-download

For your convenience we have prepared the sample and it can be downloaded from the following location.

http://www.syncfusion.com/uploads/user/forum/117704/DDLEnableincrementalsearch-369485919.zip

Please let us know if you have further concern.

Regards,

Saranya.S


HI,
I noticed that your example is with the 13.1.0.21 and not with the Service Pack.
Same as mine, but mine gives an error, but I am investigating.
When I try to upgrade to 13.1.0.26, the Dropdown gives me a strange behavior: the data shown has only one character per item, I Changed the dll and the Javascript file.
Always with Unobtrusive Support enabled


   Thanks in advance

I tried to upgrade your example and gives me the same problem.

     Andrea Perazzolo


SS Saranya Sivakumar Syncfusion Team May 13, 2015 10:22 AM UTC

Hi Andrea,

Thanks for your update.

We can able to reproduce the issue (The Data listed in Dropdownlist contains only one character in unobtrusive enabled) in our end. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,

Saranya.S


Loader.
Live Chat Icon For mobile
Up arrow icon