Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
PagerTemplate and PagerAppearance="Both"
posted

Hi,

in one of our projects we are using the WebDataGrid with a custom PagerTemplate as our customers wishes some functions to save the grid settings. Therefor the Pager control contains a menu, which is realized using the HoverMenuExtender of the AjaxControlToolkit.

Everything worked fine until we decided to set the PagerAppearance from Bottom to Both. The hover menu is only triggered by the upper pager control. A quick check of the HTML source shows that the ClientIDs of the pager control are identical for both the upper and the lower pager.

This does not just lead to problems with the HoverMenuExtender but to serious problems processing a postback.

Attached to this post you can find a very small example that shows the problem described above. You'll probably have to add the AjaxControlToolkit binary which I removed to reduce the upload size.

I'd be very glad if you could offer us some help.

Best regards

Philipp

GridPagerTest.zip