Web USer Control and properties

R

Roland Wolters

Hi,


The HTML code that makes up parts of the webform is specified in a
template:

<Table>
<tr><td>some text here {fieldvalue}</td></tr>
</table>

I put the method that parses this text and replaces the {fieldvalue} with a
value from the database in a webusercontrol.

The properties such as the htmlcode (see above) and the sourcedataset are
set in the code-behind. This works.

However I want to specify the template in the way the datalist for instance
gets its ItemTemplate. Would be cool.

Does anyone know how to do this?


Greetings,

ROland
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top