I have created a master page with a navigation area that contains a Tree View. The two nodes in the tree view have their navigation URL fields set to a different aspx pages. Within the content place holder for each page there is a script manager and an update panel. First.aspx contains a standard gridView control that is bound to a database inside the update panel. Second.aspx also contains a script manger as well as an update panel. Within the update panel is a WebDataGrid bound to a database.
When I execute the code and click on the node for First.aspx, the grid appears and populates without refreshing or blinking the page. When I click on the node for Second.aspx, the WebDataGrid appears with data but the entire page refreshes or blinks. It does not seem to matter what Infragistics control I use in the update panel for Second.aspx, it always refreshes or blinks the entire page when I access the page. If I place a standard Visual Studio 2010 control within the update panel and access the page, the page does not blink.
What am I missing? Why do pages with Infragistics controls cause the page to blink and standard ASP.NET controls do not?
Thanks,
Scott
Hi Scott,
Thanks for posting on our forums!
When using our Aikido controls, such as the WebDataGrid, inside of an UpdatePanel their AJAX functionality should be disabled. You can use the EnableAjax property of the grids, or the EnableAjaxViewState property of our other controls to disable this. Please try setting your WebDataGrid's EnableAjax property to false and let me know if the blinking still occurs.
If the issue still occurs, could you please let me know which build and version of NetAdvantage you are using? It would also help to know what browser and .NET framework you are experiencing this with.
Looking forward to hearing from you.
Michael,
Thanks for your reply.
I tried setting the EnableAjax flag to false for the WebDataGrid and the page still blinks.
I'm using Infragistics version 12.2.20122.1007, .NET Framework 3.5 and Internet Explorer 9.
Thanks for the update.
I have heard back from our developer and we are not explicitly causing the page to blink in this manner. It is likely a way that IE is resizing the table for the WebDataGrid that is causing this.
If you have any further questions or concerns with this, please let me know and I will be glad to help.
Hello Scott,
Please let me know if you have any further questions or concerns about this and I'll be glad to help you.
Hi Michael,
I have reduced the size of the grid and changed the query that populates the gird so that there is only one row of data in the grid. The entire page still flashes when I access the page with the grid.
Our resizing logic occurs on the grid's initialization and you may see this when loading a page with the grid or during a postback.
Do you need the grid inside of the UpdatePanel rather than using the built in Ajax functionality? Removing the grid from the UpdatePanel may help reduce the flickering.
Please let me know if you have any further questions with this.
Please let me know if you have any further questions or concerns with this issue and I will be glad to help.
Thank you for all of the time and effort you have put into this question.
I will follow your suggestions.
Depending on the content of the page the particular browser may trigger the flashing that you see. I suggest working with the content of the page and experiment with the layout. Making adjustments to the height, width, etc for different elements on the page including body, html and form may help.
I spent some time with the sample and made a few changes without much affect. You may want to work with your application and see if you can impact the behavior. It seems to be more the browser than the behavior or features of the WebDataGrid, as I was not able to see this behavior in Chrome and Firefox.
Thank you for the sample. I need a little more time to research this.
I will have another update for you by Monday. If you have any further questions or concerns with this, please let me know.
I tried creating a new page with a grid without an update panel and I see the same behavior. I have attached my project for your review.
THanks,