or
| String.prototype.endsWith = function(str){return (this.match(str+"$")==str)} |
| function nodeChecked(sender, eventArgs) { |
| var node = eventArgs.get_node(); |
| var parent = node.get_parent(); |
| var grand_parent = parent.get_parent(); |
| var parent_value = parent.get_value(); |
| var parent_value_other = ""; |
| if (parent_value.endsWith("cc")) { |
| parent_value_other = parent_value.substring(0, parent_value.length - 2) |
| var tree = $find("<%= RadTreeView1.ClientID %>"); |
| var other_node = tree.findNodeByValue(parent_value_other); |
| if (other_node.get_expanded() == false) { |
| other_node.expand(); |
| } |
| var other_node_array = other_node.get_nodes(); |
| for (var i = 0; i < other_node_array.get_count(); i++) { |
| var _node = other_node_array.getNode(i); |
| if (_node.get_text() == node.get_text()) { |
| _node.check(); |
| break; |
| } |
| } |
| } |
| } |
| var other_node_array = other_node.get_nodes(); |
| iZone = New RadDockZone |
| iZone.Controls.Add(CreateRadDock(tmpZoneID)) |
| pageViewObject.Controls.Add(iZone) |
position:static;, position:relative; etc. all do the samething, this "only" happens in IE7 and that happens to be one requirement that I can't shake just yet so I have to make it work, it works fine in every other browser in the world grrrrr.... would everyone just get on the same engine already this browser jeez.
Any thoughts?
If need be I can roll back to jQueryUI and do it that way but would prefer just to handle it with raddock.