Marker in ASP.Net

Discussion in 'ASP .Net' started by =?Utf-8?B?V2FubmFiZV9HZWVr?=, May 13, 2005.

  1. 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
     
    =?Utf-8?B?V2FubmFiZV9HZWVr?=, May 13, 2005
    #1
    1. Advertising

  2. have 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_Geek" <> wrote in message
    news:...
    > 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
     
    Alvin Bruney [MVP - ASP.NET], May 14, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Henry

    top level marker?

    Brian Henry, Dec 26, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    377
    Brian Henry
    Dec 27, 2003
  2. X_AWieminer_X
    Replies:
    2
    Views:
    12,470
    JomoFrodo
    Aug 18, 2011
  3. pentium
    Replies:
    3
    Views:
    423
    bilbo
    Nov 22, 2004
  4. Replies:
    6
    Views:
    35,550
    ksamir2004
    Jun 20, 2007
  5. -
    Replies:
    2
    Views:
    416
    Thomas G. Marshall
    Jul 12, 2005
Loading...

Share This Page