locked
Unable to get property 'className' of undefined or null reference

    Question

  • Hi,

    I am using grid layout for list view. I have 21 groups and I am showing 5 items per group on first page. User can select the item and it will show a flyout. Also there is a more button(6th item labeled as more) in most of the group if user selects the more button they will be navigated to the group page where all the items are displayed in list view. The same error will throw even if I select the more button item after 8th group.

    The problem is right after the app launches if I select items in any group after 8th group it is throwing an error "Unable to get property 'className' of undefined or null reference" in base.js. The line where the error happens is

    function getClassName(e) {
            var name = e.className || "";
            if (typeof (name) == "string") {
                return name;
            }
            else {

    This will work fine if I select any item in group before 8th group. The error will happen only if we directly press the items in group after 8th group.

    Can anybody help me on this issue?

    Thanks,

    Sree

     
    Tuesday, September 11, 2012 11:49 PM

All replies

  • I also found that this will happen to items in first group also if we move the scroll bar and select the item. So it's not about the items or group number, something is happening while scrolling.

    Thanks,

    Sree

    Wednesday, September 12, 2012 2:11 AM