I display certain noden in a repeater in a Usercontrol - it all works as intenteed, execpt fot the delete button (deleteCommand) - the repeater simply will not refresh! - what am I doing wrong...? (The item is deleted from the repeater when I refresh the browser (f5) though)
The Nodes DO gets deleted - the problem is that the Repeater does'nt update itself (databind)- so I have to reload the browser (f5) to see it deleted... :-|
-when I run visibleCommand or invisibleCommand the page/repeater updates(databinds) itself nicely, but NOT when I delete a node...
I think the code makes a lot of sence, or do I miss something here...?!?
Cannot bind repeater after node deleted
I display certain noden in a repeater in a Usercontrol - it all works as intenteed, execpt fot the delete button (deleteCommand) - the repeater simply will not refresh! - what am I doing wrong...? (The item is deleted from the repeater when I refresh the browser (f5) though)
I use Umbraco v 4.11.10, asp.net 4.0, MySQl Db
My codebehind looks af folloes:
You need to unpublish your document first:
The Nodes DO gets deleted - the problem is that the Repeater does'nt update itself (databind)- so I have to reload the browser (f5) to see it deleted... :-|
-when I run visibleCommand or invisibleCommand the page/repeater updates(databinds) itself nicely, but NOT when I delete a node...
I think the code makes a lot of sence, or do I miss something here...?!?
is working on a reply...