This is a migrated thread and some comments may be shown as answers.

DropdownList goes up than down fast when loosing focus of browser.

3 Answers 33 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 2
Stefan asked on 18 Oct 2012, 03:14 PM
When i loose focus of my browser, let say i click on another program & then goes back to my browser.

The dropdownlist goes down & then fast up again. I have 2 dropdownlists connected and it happens randomly on them

@(Html.Kendo().DropDownList()
            .Name("resources")
            .OptionLabel("Välj resurs eller sök bland alla...")
            .DataTextField("ResourceName")
            .DataValueField("ResourceID")
            .DataSource(source =>
          {
              source.Read(read =>
              {
                  read.Action("GetResources", "ComboBox").Data("filterServices");
              })
               
              .ServerFiltering(true);
          })
               .Template("<div><strong>" +
                        "${ data.ResourceName }</strong><br/>" +
                        " # if (data.ResourceInformation) { #" +
                        "<em>${ data.ResourceInformation }</em></div>" +
                        " # } #")
               .Events(x => x.Change("ChangeResource"))
        .HtmlAttributes(new { style = string.Format("width:{0}px", 340) })
    )
 
//
// Dropdown 2
//
 
@(Html.Kendo().DropDownList()
        .Name("services")
        .OptionLabel("Välj tjänst...")
        .DataTextField("ServiceName")
        .DataValueField("ServiceID")
        .DataSource(source =>
        {
            source.Read(read =>
            {
                read.Action("GetServices", "ComboBox")
                .Data("filterResources");
            })
            .ServerFiltering(true);
        })
         
            .Template("<div class='displayServices'><strong>" +
                            "${ data.ServiceName } # if (data.ServicePrice) { # Pris: (${ data.ServicePrice }) # } #</strong># if (data.Priority) { # <img style='float: right' src='/Content/images/star.png' /> # } #<br/>" +
                            " # if (data.ServiceInformation) { #" +
                            "<em>${ data.ServiceInformation }</em></div>" +
                            " # } #" + "<hr />")
        .HtmlAttributes(new { style = string.Format("width:{0}px", 340) })
    )

function ChangeResource() {
        $("#services").data("kendoDropDownList").dataSource.read();
    }
   
    function filterResources() {
        return { resources: $("#resources").val() };
    }
    function filterServices() {
        return { service: $("#services").val() };
    }

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 18 Oct 2012, 03:36 PM
Hello Stefan,

 
This is a known issue, which is already fixed in the latest internal build. Please note the service packs and internal builds of KendoUI are available only to paid customers.

All the best,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Stefan
Top achievements
Rank 2
answered on 18 Oct 2012, 03:50 PM
Ty for the fast answere, i am a paying customer. Were can i find the internal builds?
0
Gustaf
Top achievements
Rank 1
answered on 19 Oct 2012, 06:56 AM
Found it! Ty!
Tags
DropDownList
Asked by
Stefan
Top achievements
Rank 2
Answers by
Georgi Krustev
Telerik team
Stefan
Top achievements
Rank 2
Gustaf
Top achievements
Rank 1
Share this question
or