java.(freemarker.sourceforge.net)
The idea is to use simple HTML file as template for the site and replace the
Marker tags with appropriate content.
Iam able to do it up to a certain extent. But I would like to replace these
marker with some server controls. This is where I face the problem,
For example in my webpage I may have a marker ##dspCountryList##...
In this case I have to display a dropdownlist containing country names, the
dropdownlist would be populated from the database.
Since I hold the template in a string variable and replacing the marker tags
Iam unable to replace this control at the specified point.
Any suggestions welcome
Thank You.
Regards,
Gokulhave a look at user controls
Regards,
Alvin Bruney - ASP.NET MVP
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @. www.lulu.com/owc, Amazon.com etc
"Wannabe_G
" <WannabeG
@.discussions.microsoft.com> wrote in messagenews:469B20BE-D53A-402C-9AD6-B2F5920CF538@.microsoft.com...
> Do we have something in ASP.net like freemarker for
> java.(freemarker.sourceforge.net)
> The idea is to use simple HTML file as template for the site and replace
> the
> Marker tags with appropriate content.
>
> Iam able to do it up to a certain extent. But I would like to replace
> these
> marker with some server controls. This is where I face the problem,
> For example in my webpage I may have a marker ##dspCountryList##...
> In this case I have to display a dropdownlist containing country names,
> the
> dropdownlist would be populated from the database.
> Since I hold the template in a string variable and replacing the marker
> tags
> Iam unable to replace this control at the specified point.
> Any suggestions welcome
> Thank You.
> Regards,
> Gokul
0 comments:
Post a Comment