Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8965649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:51:18+00:00 2026-06-15T16:51:18+00:00

I have two kendo windows in a page(add and edit), both having the dropdownlist

  • 0

I have two kendo windows in a page(add and edit), both having the dropdownlist with same name.

@(Html.Kendo().DropDownList()
.Name("TypeId") 
    .DataTextField("TypeName") 
    .DataValueField("Id") 
    .datasource(source => 
    {
      source.Read(read =>
           {
                read.Action("Action", "Controller"); 
           })
     }))

When accessing the add window the dropdown looks good, then open and close the add window for three times and then access the edit window.

the second time I access the edit window the dropdownlist disappears, then a textbox appears in place of dropdownlist.

When I use MVC4 dropdownlist control there is no problem, the problem is only with kendo dropdownlist.

Can anyone advice what I am doing wrong.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T16:51:19+00:00Added an answer on June 15, 2026 at 4:51 pm

    You cannot have multiple widgets with the same name – you need to ensure that each widget has unique name.

    Behind the scenes you assign name to the widget via the Name method – it assign’s an ID to the html wrapping element which is used to find the widget and initialize it. As you might know if you have two html elements with the same id – jQuery will return always the first one and because of this the second widget will not be initialized and will remain as regular textbox input.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two update panels on a page. And I want to update both
I have two pages, Page A and Page B. Both of them have an
I have two columns say Main and Sub . (they can be of same
I have two queries that find both the Zip codes, and the States for
I have two Macs, and a shared folder on a third Windows computer. If
I have two list having many to many relationship. i know how to handle
Have two fields start and end, both are dates, I want to write a
I have two classes which need to be in same xml file. The way
Have two bean definitions: file a.xml <bean id=A class=com.A> <property name=bClass ref=B/> </bean> file
I have two inputs with the same date, but i want to separate the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.