473,387 Members | 1,574 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,387 software developers and data experts.

Writing a custom TemplateBuilder

This is a real tricky issue, and I'm hoping someone here may have some
insight.

I'm building a custom control which, when done, will allow shorthand
entries in a template to be re-interpreted by the parser as data-bound
controls.

For example:

<itemtemplate>
<tr>
<td>[CustomerName]</td>
</tr>
</itemtemplate>

Would be built internally as something with the functional equivalent
of:

<itemtemplate>
<tr>
<td><asp:Literal Text="<%# DataBinder.Eval(Container.DataItem,
"CustomerName") %>" runat="server" /></td>
</tr>
</itemtemplate>

However, to actually make this work, I somehow have to use a custom
TemplateBuilder, and I wouldn't know where to start. Can anyone point
me in the right direction? Even if it's only to someone else that
might be able to answer my questions?

Thanks,
JK

Aug 12 '06 #1
0 1000

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

Similar topics

3
by: octopi | last post by:
Hello, I am writing a custom server(www), and I need to use php. Right now I have it set up to just envoke php on the command line if the requested document ends in .php. I assumed that all i...
1
by: Google Mike | last post by:
Tell me if this can be done, and if I have a misconception here. I am writing an app that will be served up in an app farm, and therefore I need to move the session information to the client, not...
15
by: vinjvinj | last post by:
I have an application which allows multiple users to write models. These models get distributed on a grid of compute engines. users submit their models through a web interface. I want to 1....
2
by: stb | last post by:
Hi. Is it possible to write inline Templates for a DataList dynamically in the HTML code, based on the DataSet that is bound to the DataList? Anyone know how?
5
by: Jen | last post by:
I am fairly new to .NET and was wondering if someone could point me to a tutorial/overview of writing custom classes? Thank you.
1
by: James Crowley [MVP] | last post by:
Hi, Just wondering if anyone has *any* experience using the TemplateBuilder class to parse a bunch of ASP.NET tags and generate an ITemplate? I'm basically looking to do the equivalent of...
0
by: spacehopper_man | last post by:
hi - I am writing a "tab" control. - but it's losing the viewstate of the content pane when I switch between tabs. can anyone shed any light on why I'm losing ViewState based on my simple...
1
by: Bob Dufour | last post by:
Using the .NET eventlog class to log application errors that are viewable in the Windows event viewer. We write to a custom log. WE can Write our error messages to it OK but we want the Current...
2
by: Nathan Sokalski | last post by:
I am an ASP.NET developer who would like to start learning about writing ASP.NET custom controls using VB.NET. I already have a reasonable amount of knowledge with making ASP.NET pages, and am...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.