Summary Row and Horizontal Scroll Bar missing on form load

0 Answers 62 Views
GridView
Amol
Top achievements
Rank 1
Amol asked on 27 Oct 2023, 11:56 AM

Hi,

When form loads scroll bar missing as well as summary also missing but when i resize the form it appear and work appropriately.
I believe this is some visual glitch. Please provide me some solution for this.
I am attaching gif image which ca explain you my concern.

Check the below attached zip file for more reference.

tar
Top achievements
Rank 2
Iron
Iron
Iron
commented on 28 Oct 2023, 12:07 AM

Did you try Invalidate()?

protected override void OnLoad(EventArgs e) {
  base.OnLoad(e);

  this.Invalidate(); // refreshs form
  GridView.Invalidate(); // refreshs gridview
}
Amol
Top achievements
Rank 1
commented on 30 Oct 2023, 10:04 AM

Hi tar,

I have tried the above code as well as below one.

this.Refresh();  & gridview.Refresh(); but nothing works for me.

Please suggest me some other way.

Thanks

Dinko | Tech Support Engineer
Telerik team
commented on 30 Oct 2023, 01:09 PM

I appreciate the provided recording file. Using only the provided information, I can't determine why this is happening. However, you could try to visually refresh the control by using the following code:

this.radGridView1.MasterTemplate.Refresh();
 Give it a try and let me know how it goes.

Amol
Top achievements
Rank 1
commented on 31 Oct 2023, 11:00 AM

Hello Dinko

 

Thanks for your reply, I have implemented your code but it seems t is not working.

Thanks once again for your response.

Dinko | Tech Support Engineer
Telerik team
commented on 31 Oct 2023, 12:41 PM

In this case, I will need somehow to debug the described behavior. Could it be possible to isolate this in a standalone project so that I can get a closer look? I think we need to focus on what leads to hiding the last row of the control.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Amol
Top achievements
Rank 1
Share this question
or