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

Filterbox suddenly loses its textbox while typing?

5 Answers 97 Views
GridView
This is a migrated thread and some comments may be shown as answers.
SUNIL
Top achievements
Rank 2
Iron
SUNIL asked on 17 Dec 2010, 01:48 AM
I have a very irritating problem with RadGridView. Look at the video: Filter box suddenly becomes Non-Editable by itself

I am using Q1 2008 SP1. The filter it seems has suddenly become non-editable, at least from the way the textbox vanishes, but if I press on any key like 'd' or 's' or 'q' then this same filter box will show up its filter textbox.

Anyone knows how to get rid of this 'weird' problem?

Thanks
Sunil

5 Answers, 1 is accepted

Sort by
0
SUNIL
Top achievements
Rank 2
Iron
answered on 17 Dec 2010, 05:04 AM
I was able to figure out the cause of the problem and come up with a solution.
SOLUTION
In my original radgrid, I had autosizecolumnsmode set to 'fill'. When I changed the autosizecolumnsmode to 'none' before databinding and then after databinding set it to 'fill',  the filtertextbox stopped vanishing suddenly after typing in one or two characters. Problem was solved.
EXPLANATION
In original scenario, as I typed the filtered rows showed up. If the number of filtered rows were 3 or 4 or less than the height available for data rows  i.e. no vertical scroll was needed, then suddenly the width of the radgrid increases since its autosizecolumnsmode is set to fill. And this increase in width, was for some reason, causing the radtextboxeditor of filter  to end its edit operation. Look at original video, and focus your eyes on the TOP right  corner, and you'll notice the scrollbar vanishes  causing the width of radgridview to increase WHEN  number of filtered rows is very few.. Now look at this video Problem Solved, where you will notice that when number of rows is very few, the width of the grid remains the same even though the vertical scroll bar has vanished. The space occupied by vertical scroll bar shows up as empty clearance space. The autosizecolumnsmode is set to none in the latter scenario.
QUERY
Even though I have overcome this weird behavior, what I don't understand  is why the width of radgrid should decide if the filtertextbox editing should end or not?
I wouldn't be surprised if this 'weird' and irritating behavior is also shown by the latest version of radgrid.

Thanks
Sunil
0
Martin Vasilev
Telerik team
answered on 20 Dec 2010, 03:01 PM
Hi Sunil,

I am glad that you have found a workaround for Q1 2008 SP1 version which avoids the described behavior. I just only want to let you know that this issue has been addressed in one of our previous versions and it is not present in the latest version.

Best wishes,
Martin Vasilev
the Telerik team
Check out the Q1 2011 Roadmap for Telerik Controls for Windows Forms.
0
Hiram
Top achievements
Rank 1
answered on 02 Feb 2011, 02:14 PM
@Martin
I am using: Telerik WinForms VSExtensions   2010.03.1214.0

The filter behaves still as described by Sunil. Unfortunately the workaround does not work.

My RadGridView is bound to a Linq DataSource in the code.
0
Martin Vasilev
Telerik team
answered on 07 Feb 2011, 01:05 PM
Hello Aho,

Is the described issue the same as the one you have regarded in the support ticket which I have already answered giving a solution for it? If not, I would kindly ask you to send more details on how to reproduce the issue with the latest version.

Greetings,
Martin Vasilev
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
0
Hiram
Top achievements
Rank 1
answered on 07 Feb 2011, 01:21 PM
Hi Martin

Yes it's fixed.

Thank you!
Tags
GridView
Asked by
SUNIL
Top achievements
Rank 2
Iron
Answers by
SUNIL
Top achievements
Rank 2
Iron
Martin Vasilev
Telerik team
Hiram
Top achievements
Rank 1
Share this question
or