Current filter:
                                You should refresh the page.
                                We apologize for the inconvenience. Our ordering system and the support center may be offline for a few hours on Sunday, May 19 due to maintenance tasks.
                                0
                                  • I'm trying to set the top start time row in an ASPx scheduler, however as soon as I try to set it a JavaScript error fires:

                                    Error: this.cachedCells is null
                                    Source File: http://localhost:53497/[website name]/DXR.axd?r=8_27-Kt9m4
                                    Line: 201

                                    The javascript called is

                                    GetCell: function (containerIndex, index) {
                                      var hashCode = (containerIndex << 16) + index;
                                      var result = this.cachedCells[hashCode];
                                      if (!_aspxIsExists(result)) {
                                       var container = this.cellContainers[containerIndex];
                                       if (!_aspxIsExists(container))
                                        return null;
                                       var loc = container.GetCellLocation(index);
                                       if (_aspxIsExists(loc)) {
                                        result = this.table.rows[loc.row].cells[loc.column];
                                        this.cachedCells[hashCode] = result;
                                       }
                                      }
                                      return result;
                                     },

                                    the line with the error is highlighted to be

                                      var result = this.cachedCells[hashCode];

                                    This happens if there are no appointments or many appointments.

                                    Is there a setting I have missed out?

                                scheduler_top_row.aspx
                                0

                                Hello Keith,

                                I am afraid that your approach is not quite correct. Please note that there is no guarantee that the ASPxScheduler client-side mode is completely initialized when the "$(document).ready()" JQuery event is raised. If you wish to ensure that a particular client control is initialized, you need to handle its ASPxClientControl.Init Event . I have updated your sample accordingly. Take a moment to look at the ASPxTextBox - How to attach the jQuery AutoComplete plugin example, where a similar topic is discussed in detail. I hope you will find this information helpful.

                                Thanks,
                                Alessandro.

                                Q389007.zip
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.