ObjectList Back Button Problem!

A

andreasviklund

Hello!

I have a problem. I am working on a ASP.NET Mobile

Project and have a page with an ObjectList. The

ObjectList is filled with data from a DataView,

containing details about books, when a button is

pressaed. In the ObjectList I have created an

ItemTemplate to show Images with <mobile:command>

and <%# DataBinder.Eval ... %>.


In the ObjectList's listview the Title and the

Image is shown, and when you click on one of them

the detailview is presented. Everything works

correct so long. The image in the command control

is visible and you could click on it to navigate

to the details.


The problem occurs when you hit the back-button on

the detail page. The ObjectList list page will now

just display an empty list. Well actually it is

not completely empty. If the ObjectList displayed

10 items, I now see 10 buttons/commands with no

text in it, or in this case no Image. I also have

an alternatingItemtemplate that presents every odd

item with a grey background. And I can see that

too. But no text in the ObjectList! It is like the

objectlist has lost its DataBindings.


I have set the EnableViewState to true everywhere

I could think of, but with no success. What could

be the problem???


//Andreas Viklund
Sweden (currently in Norway)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top