Click here to Skip to main content
15,911,848 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMail box unavailable Pin
Sebastian T Xavier14-May-07 21:36
Sebastian T Xavier14-May-07 21:36 
AnswerRe: Mail box unavailable Pin
Jaiprakash M Bankolli15-May-07 2:30
Jaiprakash M Bankolli15-May-07 2:30 
GeneralRe: Mail box unavailable Pin
Sebastian T Xavier15-May-07 23:33
Sebastian T Xavier15-May-07 23:33 
AnswerRe: Mail box unavailable Pin
RichardGrimmer15-May-07 5:30
RichardGrimmer15-May-07 5:30 
GeneralRe: Mail box unavailable Pin
Sebastian T Xavier15-May-07 23:43
Sebastian T Xavier15-May-07 23:43 
GeneralRe: Mail box unavailable Pin
RichardGrimmer16-May-07 2:19
RichardGrimmer16-May-07 2:19 
Questionhow t ofind the control in itemtemplate of datalist Pin
sooreeagt14-May-07 21:19
sooreeagt14-May-07 21:19 
AnswerRe: how t ofind the control in itemtemplate of datalist Pin
DuckFace14-May-07 22:28
DuckFace14-May-07 22:28 
Hi,

Not sure that this is what you are looking for, but here I go!

You can get a reference to the control by using the FindControl method in the updateCommand method. With this reference you can cast it to the given control and then you can use the properties for that control.

In the example I'm using a label:

protected void DataList1_UpdateCommand(object source, DataListCommandEventArgs e)<br />
    {<br />
        Label lbl2 = (Label)DataList1.Items[e.Item.ItemIndex].FindControl("Label2");<br />
<br />
        Label1.Text += "<br><br>" + lbl2.Text;<br />
    }


You can also assign values to the control, and update the datasource.

Hope this helps.
GeneralRe: how t ofind the control in itemtemplate of datalist Pin
sooreeagt14-May-07 22:54
sooreeagt14-May-07 22:54 
QuestionC#.net Problem Pin
vijay_8314-May-07 20:38
vijay_8314-May-07 20:38 
AnswerRe: C#.net Problem Pin
Jaiprakash M Bankolli15-May-07 2:32
Jaiprakash M Bankolli15-May-07 2:32 
QuestionIssues in loading images in Word Automation [modified] Pin
Sankara Narayana14-May-07 20:13
Sankara Narayana14-May-07 20:13 
QuestionIs it possible ? Pin
Sandeep Akhare14-May-07 19:58
Sandeep Akhare14-May-07 19:58 
AnswerRe: Is it possible ? Pin
PSK_14-May-07 20:04
PSK_14-May-07 20:04 
GeneralRe: Is it possible ? Pin
Sandeep Akhare14-May-07 20:24
Sandeep Akhare14-May-07 20:24 
AnswerRe: Is it possible ? Pin
Jaiprakash M Bankolli15-May-07 2:34
Jaiprakash M Bankolli15-May-07 2:34 
AnswerRe: Is it possible ? Pin
RichardGrimmer15-May-07 5:31
RichardGrimmer15-May-07 5:31 
QuestionManage audio and video files Pin
Rahul Babu14-May-07 19:29
Rahul Babu14-May-07 19:29 
AnswerRe: Manage audio and video files Pin
PSK_14-May-07 20:32
PSK_14-May-07 20:32 
GeneralRe: Manage audio and video files Pin
Rahul Babu14-May-07 21:26
Rahul Babu14-May-07 21:26 
GeneralRe: Manage audio and video files Pin
SimulationofSai14-May-07 22:57
SimulationofSai14-May-07 22:57 
QuestionPrint a page without prompting Print dialog Pin
Elena200614-May-07 19:13
Elena200614-May-07 19:13 
AnswerRe: Print a page without prompting Print dialog Pin
PSK_14-May-07 20:18
PSK_14-May-07 20:18 
AnswerRe: Print a page without prompting Print dialog Pin
Guffa14-May-07 21:45
Guffa14-May-07 21:45 
GeneralRe: Print a page without prompting Print dialog Pin
Elena200614-May-07 23:11
Elena200614-May-07 23:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.