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

Autocomplete textbox problem

Hello Experts,

I am creating autocomplete textbox with ClientSideTemplate with MVC Razor engine. When I run my project and entering some text in autocomplete textbox then I am getting following error :

"Microsoft JScript runtime error: Object doesn't support this action"


Can you please tell me why I am getting this error?

Here is my view page :







  • {{CustomerID}}







@{Html.Syncfusion().AutocompleteTextBox("mySearchBox")
.AutoFormat(Skins.Office2007Silver)
.RequestMapper("getempdata")
.ClientSideTemplate("visitingCard")
.Mode(AutocompleteTextBoxModel.ModeType.Get)
.JSONMode(true)
.WaterMark("Enter Employee Name")
.AllowCache(true)
.ListHeight(System.Web.UI.WebControls.Unit.Pixel(200)).Render();}


Please reply me as soon as possible.

Best Regards,
Sonam



3 Replies

ME Meena Syncfusion Team December 5, 2011 10:22 AM UTC

Hi Sonam,

Thanks for using Syncfusion products.

I afraid that I am unable to reproduce the issue reported by you. I have created a sample for AutoCompleteTextBox with ClientSideTemplate in MVC Razor engine and I did not encounter any issue reported by you. The sample can be downloaded from the below link.

AutoComp211171494.zip

Please have a look at the sample and if issue persists, could you please try reproducing the issue in the above sample so that we are able to sort out the cause of issue and provide you the solution. Also provide us with the details of Essential studio you are using.

Please let us know if you have any concerns.

Regards,
Meena




SM Sonam Mehta December 5, 2011 12:07 PM UTC

Hi Meena,

Thank you for your support. I am able to resolve that issue. Thank you very much.

Best Regards,
Sonam Mehta



ME Meena Syncfusion Team December 7, 2011 09:15 AM UTC

Hi Sonam,

Thanks for the update.

We are happy to know that your issue has been resolved.

Please let us know if you have any other concerns.

Regards,
Meena



Loader.
Live Chat Icon For mobile
Up arrow icon