Re: Add or remove a row in RefreshingView with Ajax

2013-10-25 Thread Martin Grigorov
On Fri, Oct 25, 2013 at 4:18 AM, Colin Rogers colin.rog...@objectconsulting.com.au wrote: Hi there, Not sure what you mean by 'does not work'... so guessing the issue, and the solution. Are you updating the whole RepeatingView? If so, you need to wrap the repeater in a WebMarkupContainer

Re: Add or remove a row in RefreshingView with Ajax

2013-10-25 Thread MartinoSuperman
Hi, Thanks for the advice. You're right. I also read those pages. I already implemented it. But now my question is: I put the RefreshingView in a panel. And that panel is situated a WebMarkupContainer. After I pressed the button on submit of Ajax, the RefreshingView should refresh, but still

Add or remove a row in RefreshingView with Ajax

2013-10-24 Thread MartinoSuperman
Hi, I have a RefreshingView, which consists of TextFields, Labels and a DownloadLink. When a button is pressed, a new row should be added with the help of Ajax. Unfortunately, this does not work. Can somebody tell me what I have to program to make adding and removing rows in RefreshingView

RE: Add or remove a row in RefreshingView with Ajax

2013-10-24 Thread Colin Rogers
Hi there, Not sure what you mean by 'does not work'... so guessing the issue, and the solution. Are you updating the whole RepeatingView? If so, you need to wrap the repeater in a WebMarkupContainer and refresh that (remembering to setOutputMarkupId to true etc.) I don't know the reason why,