I would like to set the grid PagerStyle mode in code behind in order to display different pagers depending on various criteria (namely the available width expected on the particular screen the grid displays on). The criteria I will base this decision on are all available in code behind, but I can't seem to get the setting of the grid PagerStyler.Mode property to work. It seems to ignore anything I set in code behind and go with what is specified in the grid declaration. I have tried setting this in page load prior to the grid being bound and also in the item created event. Can you let me know how I can set the PagerStyle mode in code behind?
Thanks.
Thanks.