or
window.onload = function () { initializeStateFromURL();} window.onhashchange = function () { initializeStateFromURL();} function initializeStateFromURL() { if (!stateHandled) { var navSetting = window.location.hash; var slide = FromHash("slide", navSetting); if (slide) { SetRotatorToSlideID(slide); } }} var stateHandled = false; function SetRotatorToSlideID(slideID) { var items = rotator.get_items(); for (i in items) { if (slideID == GetAttributeValue(items[i], "SlideID")) { rotator.set_currentItemIndex(items[i].get_index(), true); UpdateGUI(items[i]); } }} function RotatorClientItemShowing(sender, args) { stateHandled = true; UpdateGUI(args.get_item()); stateHandled = false;} function RotatorClientItemClicked(sender, args) { stateHandled = true; sender.set_currentItemIndex(args.get_item().get_index(), true); UpdateGUI(args.get_item()); stateHandled = false;} function UpdateGUI(item) { //update some things on the page setHash(GetAttributeValue(item,"DocumentID"),GetAttributeValue(item,"SlideID"));}function RotatorClientItemShowing(sender, args) { stateHandled = true; UpdateGUI(args.get_item());} function RotatorClientItemClicked(sender, args) { stateHandled = true; sender.set_currentItemIndex(args.get_item().get_index(), true); UpdateGUI(args.get_item());}OnClientItemShown event should be used, right? But I want to show some data from DB, so is there a way how to do this on server side so I can code it in C#?When my grid opens up in Iexpore 7 or 8 in compatibility mode it looks all squished. It appears to be ignoring the widths I setup. Anyone else see this?

