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

RadNumericTextBox flicker behavior in RadGridView

1 Answer 47 Views
Input
This is a migrated thread and some comments may be shown as answers.
Jouie
Top achievements
Rank 1
Jouie asked on 23 Jun 2010, 09:57 AM
Hi gurus,

I'm experiencing a flicker behavior when integrating RadNumericTextbox in RadGridview. This happens when pressing tabs on the textboxes then clicking them randomly then minimized and maximized the window. Tried to trap it in the OnValueChanged client-event (I have a code in that event so I suspected that the problem is in there) but unluckily it did not run the alert method I added so the OnValueChanged event is clean.

Another instance is copying data from excel to the textbox.

Below is my code snippet:

<telerik:GridTemplateColumn HeaderText="Week Ending" UniqueName="WeekEnding" HeaderStyle-Width="100px" ItemStyle-Width="100px"  
                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Font-Bold="True"
                <HeaderTemplate> 
                    <span>Week Ending</span><br /> 
                    (<asp:Label ID="lblWeekEnding" runat="server" />
                </HeaderTemplate> 
                <ItemTemplate> 
                    <telerik:RadNumericTextBox ID="txtWeekEnding" Runat="server" Width="99%" style="text-align:center"  
                        ClientEvents-OnValueChanged="txt_OnValueChanged" IncrementSettings-InterceptArrowKeys="false"  
                        IncrementSettings-InterceptMouseWheel="false" ClientEvents-OnKeyPress="txt_OnKeyPress" TabIndex="1" /> 
                </ItemTemplate> 
            </telerik:GridTemplateColumn> 
            <telerik:GridTemplateColumn HeaderText="MTD" HeaderStyle-Width="100px" ItemStyle-Width="100px"  
                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Font-Bold="True"
                <HeaderTemplate> 
                    <span>MTD</span><br /> 
                    (<asp:Label ID="lblMTD" runat="server" />
                </HeaderTemplate> 
                <ItemTemplate> 
                    <telerik:RadNumericTextBox ID="txtMTD" Runat="server" Width="99%" style="text-align:center" IncrementSettings-InterceptArrowKeys="false"  
                        IncrementSettings-InterceptMouseWheel="false" ClientEvents-OnValueChanged="txt_OnValueChanged"  
                        ClientEvents-OnKeyPress="txt_OnKeyPress" TabIndex="2" /> 
                </ItemTemplate> 
            </telerik:GridTemplateColumn> 

Hope to help me out in this problem.

Regards,

Jouie

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 28 Jun 2010, 01:58 PM
Hi Jouie,

I tried to reproduce the described issue, but to no avail. I am sending you a simple example, based on your code. Please check it out and let me know what differs in your case.

All the best,
Radoslav
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
Tags
Input
Asked by
Jouie
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or