This is a migrated thread and some comments may be shown as answers.

Parent of column?

2 Answers 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Marcin asked on 31 Mar 2010, 01:41 PM

Hello,

I have created my filter on radGrid like on your demo.
There is method like this:

public void Prepare(GridViewBoundColumnBase column)  
        {  
            this.column = column;  
              
            if (this.compositeFilter == null)  
            {  
                this.CreateFilters();  
            }  
 
            this.fromFilter.Value = this.FromDate;  
            this.toFilter.Value = this.ToDate;  
        }  
 

Now I want to have a name of radGrid, which is the parent of column. Is it possible?

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 31 Mar 2010, 01:53 PM
Hi Marcin,

Please use the column.DataConrol.Name  property.

Regards,
Pavel Pavlov
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.
0
Marcin
Top achievements
Rank 1
answered on 31 Mar 2010, 02:03 PM
Thank you for quickly answer :)

Regards,
Marcin
Tags
GridView
Asked by
Marcin
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Marcin
Top achievements
Rank 1
Share this question
or