Skip to Content
author's profile photo Former Member
Former Member

Lifetime, lost data and TableView reloaded everytime

Hi everybody,

I just created a simple BSP page with a TableView managed with an iterator.

I want to fill ma TableView only the first time when the page is loaded.

I tried to put the select where i fill my TableView also in event OnCreate and in OnInitialization, but when i change something in my TableView, the page call again the events and the ViewTable, that is again empty, is reloaded with the select.

Why I lose my data everytime and the page is reloaded everytime as it was the first time?

Thanks a lot.

KR

Giuseppe.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 12, 2009 at 11:11 AM

    Hi Massimo,

    Every time a server side event is trigered all the internal tables are refreshed.So you need to populate the internal table that is used to display values in tableview for every request response cycle .

    If you are adding some data to the tableview , then you need to capture this data and update the internal table.

    Search the forum you will get the solution.

    Regards,

    Anubhav

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.