Advertisement

11.21.2008 at 09:59AM PST, ID: 23925944 | Points: 500
[x]
Attachment Details

Displaying a server control within a foreach loop - not in a codebehind

Asked by coldchillin in Programming for ASP.NET, Microsoft Visual C#.Net, .NET Framework 2.x

I'm nesting table adapters on a page, and am displaying a table dynically created. I am trying to add an Image Button and am not able to figure out how...is it a syntax issue, or is this just not possible, as i am able to display a typical HTML control...

Start Free Trial
1:
2:
3:
4:
<% foreach (azjobsite.jobcategory_x_facilityRow theirCat in dtJobCatMap) { %>
        <%= dtJobCatMap.Rows.Count == 1 ? theirCat.theirCatName + "</td><td>"  + [SERVER CONTROL HERE] + "</td></tr>" ...
 
<% } %>
[+][-]11.21.2008 at 11:00AM PST, ID: 23015900

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.21.2008 at 11:36AM PST, ID: 23016191

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.21.2008 at 12:07PM PST, ID: 23016503

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.21.2008 at 12:57PM PST, ID: 23016960

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.21.2008 at 01:02PM PST, ID: 23017017

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.21.2008 at 01:17PM PST, ID: 23017162

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.21.2008 at 01:28PM PST, ID: 23017264

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.21.2008 at 01:31PM PST, ID: 23017291

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.21.2008 at 02:08PM PST, ID: 23017586

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.01.2008 at 08:21AM PST, ID: 23069912

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628