Hello.
I'm using a asp:DetailsView to show some data. This data has some attached material that I display in a RadTreeView, using a TemplateField. Sometimes, however, this field should not be visible, so I set its "Visible" property to false. If I do that, I get a javascript error here:
The error occurs on the line marked with red, because the variable "_23a" is null. As said, this error only occurs if the TemplateField in the DetailsView is set to Visible=false. If set to true, there's no problem. A solution would be much appreciated, as being able to hide fields in a DetailsView seems like something that shouldn't be prohibited.
EDIT: For some reason, when setting the color on the row in the code block, it jumped out of its box (above) and ended up at the very bottom of my post. This seems a bug too, if you ask me. ;-)
I'm using a asp:DetailsView to show some data. This data has some attached material that I display in a RadTreeView, using a TemplateField. Sometimes, however, this field should not be visible, so I set its "Visible" property to false. If I do that, I get a javascript error here:
The error occurs on the line marked with red, because the variable "_23a" is null. As said, this error only occurs if the TemplateField in the DetailsView is set to Visible=false. If set to true, there's no problem. A solution would be much appreciated, as being able to hide fields in a DetailsView seems like something that shouldn't be prohibited.
EDIT: For some reason, when setting the color on the row in the code block, it jumped out of its box (above) and ended up at the very bottom of my post. This seems a bug too, if you ask me. ;-)
... | |
|
|
|
|
|
|
|
|
Telerik.Web.UI.RadTreeView._preInitialize=function(_239,_23a){ | |
|
|
|
var _23b=$get(_239); | |
|
|
|
_23b.scrollTop=_23a; | |
|
|
|
if(Telerik.Web.UI.RadTreeView._isRtl(_23b)){ | |
|
|
|
Telerik.Web.UI.RadTreeView._initializeRtl(_23b); | |
|
|
|
} | |
|
|
|
}; | |
|
|
|
|
|
|
|
|
... | |
|
|
|