title: How to get value from kendo numerictextbox?
body: <p>I have the following HTML/RAZOR code in my HTML file to populate group names and a numeric textbox for each group in table format:</p>
  
  <pre><code> &lt;div id="minStaffingSettings" style="width: 400px;"&gt;
              &lt;fieldset&gt;
                  &lt;legend&gt;Minimum Staffing&lt;/legend&gt;
                  &lt;div&gt;
                      &lt;table&gt;
                          @for (int i = 0; i &lt; Model.AvailableUserGroups.ToList().Count; i++)
                          {
                              &lt;tr id="updateStaffing_@i"&gt;
                                  &lt;td&gt;
                                      &lt;label&gt;@Model.AvailableUserGroups.ToList()[i].Name&lt;/label&gt;
                                      @Html.HiddenFor(model =&gt; model.AvailableUserGroups.ToList()[i].Name)
                                  &lt;/td&gt;
                                  &lt;td&gt;&lt;/td&gt;
                                  &lt;td&gt;
                                      @(Html.Kendo().NumericTextBoxFor(model =&gt; model.AvailableUserGroups.ToList()[i].StaffingMinimum)
                                  .Min(0)
                                  .Step(1)
                                  .Format("#0.00")
                                  .Decimals(0)
                                  .Events(e =&gt; e.Change("UpdateStaffingMinimums")))
  
                                  &lt;/td&gt;
                                  &lt;td&gt;&lt;label&gt; (0 = No minimum) &lt;/label&gt;&lt;/td&gt;
                              &lt;/tr&gt;
                          }
                      &lt;/table&gt;
                  &lt;/div&gt;
              &lt;/fieldset&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>from UpdateStaffingMinimums method I'm trying to pull the values from each numerictextbox that was created:</p>
  
  <pre><code>function UpdateStaffingMinimums()
  {
  
      var assignmentTypeID = @Model.AssignmentTypeID;
      var groupCount = @Model.AvailableUserGroups.Count();
      var sumHour = 0;
      if ($("#HasMinimumStaffing").is(':checked'))
      {
  
          for (var i = 0; i &lt; groupCount; i++)
          {
              var it = $("#updateStaffing_"+i);//.data("kendoNumericTextBox").value();
              console.log(it);
  
          }
  
  
      }
  }
  </code></pre>
  
  <p>I get an output in the console log as expected; but when I changeto :</p>
  
  <pre><code>var it = $("#updateStaffing_"+i).data("kendoNumericTextBox").value();
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'value' of undefined
  </code></pre>
  
  <p>How do I pull the value from the numeric textbox?</p>