by Developer Express - Product Type: Component / ASP.NET WebForms / ASP.NET AJAX (ATLAS) / AJAX
Add an ASPxTextBox to a DataCellTemplate - get a javascript error - points to 2nd line of code below...
var dxo = new ASPxClientTextBox('ctl00_ContentPlaceHolder1_assetAllocationTreeListViewer_tlAssetAllocationViewer_tDC11_37-837_ASPxTextBox1');
window.ctl00_ContentPlaceHolder1_assetAllocationTreeListViewer_tlAssetAllocationViewer_tDC11_37-837_ASPxTextBox1 = dxo;
dxo.uniqueID = 'ctl00$ContentPlaceHolder1$assetAllocationTreeListViewer$tlAssetAllocationViewer$tDC11_37-837$ASPxTextBox1';
dxo.widthCorrectionRequired = true;
Regards,
Rik
Reply
Am currently evaluating ASPTreeList - tried to use forum on DevExpress website and disappointed to say unable to submit a query. Always get back "Your question has already been answered" without even asking a question. This makes me feel like I should stay clear of DevExpress products.
Willing to persevere a little longer though, solely because of time spent trying to get control to do what we want.
I am using the virtual mode to draw each level. Our data is structured in a recursive way. This is raising the duplicate node key error, even though the nodes are at different levels.
It seems that each node, irrelevant of depth needs to be unique! Is that correct? And, although I have tried various things to get the data unique, I am unable to do this as I cant seem to work out which level is being rendered, since every level is redrawn. And the NodeChanging event does not fire until the VirtualModeCreateChildren has rendered.
Please can you let me know if there is a way of arching this. I really like this control and intend to buy this product if this issue can be resolved.
Regards,
Rik
Reply