473,388 Members | 1,391 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Control linking question ????

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
Nov 19 '05 #1
2 867
Less code.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:C3**********************************@microsof t.com...
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

Nov 19 '05 #2
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 ?

"Kevin Spencer" wrote:
Less code.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:C3**********************************@microsof t.com...
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


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Steven T. Hatton | last post by:
I just read this in the description of how C++ is supposed to be implemented: "All external object and function references are resolved. Library components are linked to satisfy external...
0
by: gasturbtec | last post by:
please help im new at access programming and i just got this project dropped in my lap because the old programmer quit. i've been doing ok so far but now i need to add code to an existing database...
5
by: Chris | last post by:
Hi, Is there a way to have a form as a control? Here's what I want to do: I have a datagrid which displays various information. However, I want to use it in multiple locations within the...
19
by: Dales | last post by:
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and...
5
by: Richard Brown | last post by:
Ok, I've been looking through the .NET SDK docs and stuff. I'm wondering if you can provide a control extender that does generic validation or functionality just by dropping it on the form. For...
6
by: Art | last post by:
Hi I'm new at this and need some help. I have a "solution" with 2 projects - the main project and a library. The library is simple, it contains a text box that will appear many times in the form...
7
by: ApexData | last post by:
I am using the following code in my TabControl to manage subform loads. The code assigns the subForms SourceObject. - Do I also need code to DeAssign the SourceObject when leaving the Tab, I'm...
5
LAD
by: LAD | last post by:
Using Access 2003 on Windows 2000. My Skill Level: Med Low (Some VBA, okay with Access) Form: Single View - based on Query of single Table to sort by field. Application: Dealers email 'contract...
12
by: lawpoop | last post by:
I'm developing a php website that I have under subversion version control. I'm working on an image upload functionality, and in the middle of it I realized that any files that a user uploads will...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.