Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8131569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:07:43+00:00 2026-06-06T09:07:43+00:00

I was working on a project and I need to read a row in

  • 0

I was working on a project and I need to read a row in a Infragistics GridList when I clicked twice on the row.This is how I filled my girdlist

     try
        {
            if (txtAd.Text.Replace("'", "").Trim() == string.Empty && txtSoyad.Text.Replace("'", "").Trim() == string.Empty)
            {
                stBarMsg.Text = "ad soyad girilmeli!";
                return;
            }

            DataTable dt = PrePaidLib.getParaPuanGoruntulemeList(true, txtAd.Text.Replace("'", ""), txtSoyad.Text.Replace("'", ""));
            grdList.DataSource = dt;
            grdList.DataBind();
        }
        catch (Exception exp)
        {
            ErrorLib.ErrorHandle(exp, "frmParaPuanGoruntuleme.retrieveRecord");
        }

Here, you can find my double click function

        private void grdList_DoubleClickCell(object sender, Infragistics.Win.UltraWinGrid.DoubleClickCellEventArgs e)
    {
        try
        {
            txtKartno.Text = grdList.Selected.Columns[0].ToString();//Cells[1].ToString();
        }
        catch(Exception ex)
        {
            ErrorLib.ErrorHandle(ex, "grdList_DoubleClickCell");
        }
    }

This line doesn’t work “txtKartno.Text = grdList.Selected.Columns[0].ToString();” By the way I want to get values for each attribute 1 by 1. I have 4 columns in my gridlist. Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:07:45+00:00Added an answer on June 6, 2026 at 9:07 am

    When you double click a cell in an Infragistics UltraWinGrid, you receive the cell clicked in the DoubleClickCellEventArgs.Cell property. From this property you can reach the current Row using the e.Cell.Row syntax and from that row you can reach any other cell using the e.Cell.Row.Cells[columnName or columnIndex].Value syntax.

    So the data you need could be read in this way

    txtKartno.Text = e.Cell.Row.Cells[0].Value.ToString();
    

    (I’m assuming the cell required is not the one clicked and the column is at index zero)

    Of course if, the clicked cell is the one you need, the syntax is more concise

    txtKartno.Text = e.Cell.Value.ToString();
    

    To complete the answer, please note, the UltraGridRow has two methods that can be used to retrieve a cell value from a row:

    string textResult = e.Cell.Row.GetCellText(e.Row.Band.Columns[0]);
    object objResult = e.Cell.Row.GetCellValue(e.Row.Band.Columns[1]);
    

    According to Infragistics, these two methods avoid the creation of unneeded cells object and therefore are more performant. In your case, it’s not clear if these methods are really beneficial.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on this project where I need to read in a lot
I'm working on a project where I need to get the total row count
I'm working on a project and I need to read a CSV file and
i'm working in a project where i need to read some values and send
Im working on a java project where i need to read some objects from
I'm currently working on a project in which i need to read some (Latitude,
This is the situation: I'm working on a project where I need to be
In a project I'm working on, I need to read from a CSV file,
I am working on a project where I need to read data from a
I'm working in a project that need to get SVD (Single Values Decomposition) for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.