Control linking question ????

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,

I have seen some example doing what they call "Control linking" in the
following manner :

<asp:Label id="lbl" Text=" <%# list.SelectedItem.Text %>" style="Z-INDEX:
102; LEFT: 32px; POSITION: absolute; TOP: 72px" runat="server">

I am not catching the real benefit doing it in that way compare to doing it
by handling the list_SelectedIndexChanged event and update the label text
through the server control ?

thnaks for your explanation
regards
serge
 
Less code.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.
 
Is it the only reason?
Then I will say, much trouble because it can be asily change by mistake from
client side by any user compare to server control right ?
 

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

Back
Top