GridViewComboBoxColumn retaining value after leaving row

8 posts, 0 answers
  1. Alfred Ortega
    Alfred Ortega avatar
    193 posts
    Member since:
    May 2005

    Posted 27 May 2008 Link to this post

    I have a simple grid in which one of the columns is a drop down to a reference table.  I get them both to bind fine but when I leave the dropdown box it returns to it's original value.  Textbox columns work just fine.

    I am dynamically creating all the columns including the drop down:

    GridViewLookUpColumn jurisComboBoxColumn = new
    GridViewLookUpColumn();

    jurisComboBoxColumn.HeaderText = "MISSO";
    jurisComboBoxColumn.Width = 100;
    jurisComboBoxColumn.FieldName = "JurisdictionID";
    jurisComboBoxColumn.DataSource = _jurisCodes;
    jurisComboBoxColumn.ValueMember = "ID";
    jurisComboBoxColumn.DisplayMember = "Name";
    jurisComboBoxColumn.UniqueName = "jurisComboBox";
    userListGridView.MasterGridViewTemplate.Columns.Add(jurisComboBoxColumn);

    Am I missing something?

    Thanks in advance,
    Al
  2. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 29 May 2008 Link to this post

    Hello Alfred Ortega,

    Thank you for writing.

    I have not seen anything wrong or missing in your code. Still, your scenario may contain something specific that causes the issue. We'd very much like to investigate it.

    Please send me a small project that demonstrates the described behavior. You can do so using our support system - open a new support ticket, and attach the project.

    I am looking forward to your response.

    Regards,
    Martin Vasilev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Rehan
    Rehan  avatar
    9 posts
    Member since:
    Jan 2008

    Posted 17 Jun 2008 Link to this post

    i m also having the Same Problem that after losing the focus value in combobox disappear. could you plz help out me ?
  5. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 19 Jun 2008 Link to this post

    Hello Rehan ,

    Thank you for writing.

    The behavior you described is a known issue in the Q1 2008 release. It has already been addressed in the last release - Q1 2008 Service Pack 1. Service Pack 1 contains a number of improvements and fixes and I highly recommend using it.

    If you have other questions, do not hesitate to contact me again.

    Sincerely yours,
    Martin Vasilev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Rehan
    Rehan  avatar
    9 posts
    Member since:
    Jan 2008

    Posted 20 Jun 2008 Link to this post

    dear i m already using Q1 SP1 .. bt facing the same problem .. if u could say i can attach you a sample code ?
  7. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 20 Jun 2008 Link to this post

    Hello Rehan ,

    Thank you for getting back to me.

    The reason for the described behavior could be pointing to a non-existent column in the FieldName property. Please, check carefully the databinding and the value of the FieldName property of your LookupColumn. It should refer to a column in the main DataTable, which is bound to the RadGridView.

    If you need additional assistance, do not hesitate to contact me again.

    Sincerely yours,
    Martin Vasilev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Hareesh
    Hareesh avatar
    7 posts
    Member since:
    Jul 2011

    Posted 15 Jul 2011 Link to this post

    Hi,
    We are also facing the same issue. We are using Q1 2001 SP1. We have a RadgridView with GridViewComboBoxColumn. When we select an item in the comboBox and moves the focus to other column, ComboBox becomes blank! Pls help..

    Regards,
    Hareesh
  9. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 20 Jul 2011 Link to this post

    Hello Hareesh,

    Thank you for contacting us.

    Are you using Q1 2011 SP1 version? The issue in question is not present in the latest versions of RadControls if your combo-box column is set up correctly.

    If you still experience any issues, I would like to kindly ask you to open an new support ticket and send us a small sample project, which demonstrates your scenario. This will allow to investigate your particular case and provide you with accurate assistance.

    Regards,
    Martin Vasilev
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top
UI for WinForms is Visual Studio 2017 Ready