Hello,
RadControls For ASP.NET AJAX v2009.1.527.35
I have a RadWindow that contains a RadGrid for search results and a RadToolbar with a Search button.
The RadWindow auto-sizes when it is first displayed which is working fine. The RadGrid has a page size of 10 rows, and allows paging. Paging is working fine as well, but when I get to the last page (which has fewer than 10 rows) the RadGrid shrinks and leaves space below it. I want the RadWindow to resize when this happens. I have Javascript code to handle resiging the RadWindow so I would like do this client-side. My problem is I don't know what event to hook into after the RadGrid paging so that I can then call the resize code.
I saw in this form mention of the "OnClientPageLoad" event for the RadGrid but apparently that is only in a newer version of RadControls, and unfortunately upgrading is not an option at this time.
I have attached screenshots showing what is happening.
Picture 1 shows the RadWindow resized correctly, picture 2 shows what happens on the last page when there are fewer rows.
Thanks,
Randall Price
Virginia Tech
RadControls For ASP.NET AJAX v2009.1.527.35
I have a RadWindow that contains a RadGrid for search results and a RadToolbar with a Search button.
The RadWindow auto-sizes when it is first displayed which is working fine. The RadGrid has a page size of 10 rows, and allows paging. Paging is working fine as well, but when I get to the last page (which has fewer than 10 rows) the RadGrid shrinks and leaves space below it. I want the RadWindow to resize when this happens. I have Javascript code to handle resiging the RadWindow so I would like do this client-side. My problem is I don't know what event to hook into after the RadGrid paging so that I can then call the resize code.
I saw in this form mention of the "OnClientPageLoad" event for the RadGrid but apparently that is only in a newer version of RadControls, and unfortunately upgrading is not an option at this time.
I have attached screenshots showing what is happening.
Picture 1 shows the RadWindow resized correctly, picture 2 shows what happens on the last page when there are fewer rows.
Thanks,
Randall Price
Virginia Tech