I am having a problem removing the PageSize label and combobox. I stepped through the code and found that:
e.Item.Controls(0).Controls(0).Controls(0).Controls(0).Controls(3).Visible = False
works (sort of)... Then some research online I found that:
e.Item.FindControl("ChangePageSizeLabel").Visible = False
e.Item.FindControl("PageSizeComboBox").Visible = False
Works as well. The problem is that when I click to change the page (with ajax) the code no longer works. I was able to remove using CSS but Something else I am doing is setting a mouse over on each page button. This works, but not with ajax postback. Stepping through the code, I set the tooltip on the button the same for page load and ajax postback but it appears that pager changes do not take affect for ajax partial page rendering. Sniffing the packets I see the update panel updating the radgrid but the <a> tags do not have a title like they do in the original page load.
UPDATE: I turned off Ajax and found that it is NOT Ajax it is postback period.
e.Item.Controls(0).Controls(0).Controls(0).Controls(0).Controls(3).Visible = False
works (sort of)... Then some research online I found that:
e.Item.FindControl("ChangePageSizeLabel").Visible = False
e.Item.FindControl("PageSizeComboBox").Visible = False
Works as well. The problem is that when I click to change the page (with ajax) the code no longer works. I was able to remove using CSS but Something else I am doing is setting a mouse over on each page button. This works, but not with ajax postback. Stepping through the code, I set the tooltip on the button the same for page load and ajax postback but it appears that pager changes do not take affect for ajax partial page rendering. Sniffing the packets I see the update panel updating the radgrid but the <a> tags do not have a title like they do in the original page load.
UPDATE: I turned off Ajax and found that it is NOT Ajax it is postback period.