Hi Telerik Users and Telerik Team,
i am facing exactly the same behavior as described by Maxims Post
[http://www.telerik.com/community/forums/aspnet-ajax/grid/height-isn-t-correct-if-grid-set-as-visible-at-ajax-request.aspx].
All of his Pictures match my situation.
But it is not only a height-rendering-problem, the colgroups-width is to small (i assume Maxims cols width is fixed, mine is auto-sized).
At first:
I have a Webapplication (ASP.Net Framework 4), i have installed the latest build of Telerik asp.net controls. I am using radAjaxpanels.
The Parts of the Webapp are loaded via .ascx-controls in an asp-panel. The loading itself is ajaxfied. Everthing works pretty fine so far.
I have no javascript-errors or stuff like this, which could cause the inccorect rendering.
The render-problems appear in all browsers in the same way (i have tested with IE, FF, Chrome - all latest versions)
The incorrect rendering:
Whenever the radGrid's first appearance in a session is created via ajax-request, the rendering-problems as described by Maxim happen.
From now on this behavior wont come back, it appears only once. I can jump through the application and everthing renders correctly.
Whenever the radGrid's first appearance in a session is created via (full) postback, the incorrect behavior will never happen.
I allready set the grids property 'EnableAjaxSkinRendering' to true and i tried the sender.repaint()-method on the client-event 'OnGridCreated'. However this doesn't affect the incorrect rendering.
My thoughts on this are:
With some client-side alerts i can see that whenever the radGrid's first appearance is created via ajax-request,
the sizing of radgrid happens befor the styles are assigned (see the Without-styles.png from Maxim).
So after sizing the styles get assigned and now the size-properties are inccorect.
My Questions:
Is there an appropriate event after the styles for radgrid are assigned?
I would try some stuff at this point to check if my thoughts are leading to the right direction.
Do you have any other suggestions how i could handle this behavior?
Greetings Philipp
i am facing exactly the same behavior as described by Maxims Post
[http://www.telerik.com/community/forums/aspnet-ajax/grid/height-isn-t-correct-if-grid-set-as-visible-at-ajax-request.aspx].
All of his Pictures match my situation.
But it is not only a height-rendering-problem, the colgroups-width is to small (i assume Maxims cols width is fixed, mine is auto-sized).
At first:
I have a Webapplication (ASP.Net Framework 4), i have installed the latest build of Telerik asp.net controls. I am using radAjaxpanels.
The Parts of the Webapp are loaded via .ascx-controls in an asp-panel. The loading itself is ajaxfied. Everthing works pretty fine so far.
I have no javascript-errors or stuff like this, which could cause the inccorect rendering.
The render-problems appear in all browsers in the same way (i have tested with IE, FF, Chrome - all latest versions)
The incorrect rendering:
Whenever the radGrid's first appearance in a session is created via ajax-request, the rendering-problems as described by Maxim happen.
From now on this behavior wont come back, it appears only once. I can jump through the application and everthing renders correctly.
Whenever the radGrid's first appearance in a session is created via (full) postback, the incorrect behavior will never happen.
I allready set the grids property 'EnableAjaxSkinRendering' to true and i tried the sender.repaint()-method on the client-event 'OnGridCreated'. However this doesn't affect the incorrect rendering.
My thoughts on this are:
With some client-side alerts i can see that whenever the radGrid's first appearance is created via ajax-request,
the sizing of radgrid happens befor the styles are assigned (see the Without-styles.png from Maxim).
So after sizing the styles get assigned and now the size-properties are inccorect.
My Questions:
Is there an appropriate event after the styles for radgrid are assigned?
I would try some stuff at this point to check if my thoughts are leading to the right direction.
Do you have any other suggestions how i could handle this behavior?
Greetings Philipp