Problem in GridViewComboBoxColumn

4 posts, 1 answers
  1. Gauri
    Gauri avatar
    25 posts
    Member since:
    Jun 2010

    Posted 06 Jul 2010 Link to this post

    Hi,
    I am using telerik RadGridView. In that I use two columns as GridViewComboBoxColumn.
    Now I am calling WCF according to first column , if I call from first column then result display in second column combobox. 
    But the problem is if I try to edit previous row then combobox contain items which I get from last WCF calling. Because I am binding it to second column. Then how to solve that issue?
  2. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 06 Jul 2010 Link to this post

    Hello,

    Maybe you need to call the WCF again to get the new data?

    Best wishes,
    Vlad
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Gauri
    Gauri avatar
    25 posts
    Member since:
    Jun 2010

    Posted 06 Jul 2010 Link to this post

    Thanks for the reply.
    I am calling WCF each time with differet value , My WCF is like below:
     public IEnumerable<string> GetFieldValues(FieldType field)
            {
                switch (field)
                {
                    case FieldType.Name:
                        return new List<string>() { "AA", "BB", "CC" };
                    case FieldType.Id:
                        return new List<string>() { "1", "2", "3" };
               }
         }
    public enum FieldType
        {
            Name,
            Id
    }

    and I am passing Name or Id from firstColumn combobox. 
  5. Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 03 Oct 2011 Link to this post

    Hi Gauri,

    Can u post your Code for GridViewComboBoxColumn with WCF Binding.
Back to Top