[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Ersin Inan

1/12/2004 3:49:00 PM

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