ObjectList <ItemDetailsTemplate>

E

Ersin Inan

Hi all,

I have created an objectlist and bind some data to it. I have also declared
a custom <itemdetailtemplate> inside html code for the ObjectList control.
this template contains some labels for data show..

I wrote an event handler for the ItemSelect event. In the handler method ,

System.Web.UI.MobileControls.Label companyLabel =
(System.Web.UI.MobileControls.Label)ContactList.Details.FindControl("LblComp
any");

I do this to find my control in itemdetailsview..

But , even if I set some values to the labels in this method , the detail
view is empty ! ( I mean label values are still emtpy text )

Do you have any idea about why this occur ?

Any help is appreciated

Best Regards
Ersin
 

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

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top