title: Index and length must refer to a location within the string. RAD Treeview
body: <p>I have a telerik RAD Treeview &amp; Listbox.from the server side i need when node clicked &amp; if that node value is 1 then Disable RadListbox.But exception throws like this</p>
  
  <blockquote>
    <blockquote>
      <p>Index and length must refer to a location within the string.</p>
    </blockquote>
  </blockquote>
  
  <pre><code>public void DisableListbox()
  {
      try
      {
          if (Convert.ToInt32(treeObj.SelectedValue.Substring(0,1)) == 1)
          {
              RadListBoxProducts.Enabled = false;
          }
      }
      catch (Exception ee)
      { }
  }
  </code></pre>