Select from a list

4 posts, 0 answers
  1. Adel Chenni
    Adel Chenni avatar
    7 posts
    Member since:
    Jan 2010

    Posted 07 Oct Link to this post

    In ASP.NET MVC how do you allow selecting cell values from a list, in the UI for ASP.NET MVC R3 2016 it was advertised that it can be done?
  2. Jeffrey
    Jeffrey avatar
    6 posts
    Member since:
    Sep 2016

    Posted 07 Oct in reply to Adel Chenni Link to this post

    not sure if this is what you mean, but on this page: 

    http://docs.telerik.com/kendo-ui/controls/data-management/spreadsheet/how-to/validation-to-column

    At the bottom of the editable example, add the line "showButton: true" to the code snippet as follows -

    range.validation({
              dataType: "list",
              showButton: true,
              from: "ListValues!A$1:B$1",
              allowNulls: true,
              type: "reject",
              titleTemplate: "Invalid value",
              messageTemplate: "Valid values are 'true' and 'false'."
            });

     

    Then if you preview the example and click one of the cells in the true/false column, you will see the dropdown arrow next to it allowing you to select one of the cell items in the range as demonstrated in the example.

  3. Kendo UI is VS 2017 Ready
  4. Adel Chenni
    Adel Chenni avatar
    7 posts
    Member since:
    Jan 2010

    Posted 08 Oct in reply to Jeffrey Link to this post

    I was expecting ShowButton method, however it is not available

    .Validation(validation => validation .DataType("list") .From("ListValues!A1:B1") .AllowNulls(true) .Type("reject") .TitleTemplate("Invalid value") .MessageTemplate("Valid values are 'true' and 'false'."));.Validation(validation => validation .DataType("list") .From("ListValues!A1:B1") .AllowNulls(true) .Type("reject") .TitleTemplate("Invalid value") .MessageTemplate("Valid values are 'true' and 'false'."));

  5. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 11 Oct Link to this post

    Hello,

    The issue should be fixed in the latest internal builds (see #2230). The fix will be included in the upcoming service pack in the end of October as well.

    Apologies for the caused inconvenience.

    Regards,
    T. Tsonev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready