Format

S

shapper

Hello,

I am creating a web control where I want the user to be able to define
the way some information is displayed.

A few examples:

1. Published by Author @ PubDate

In this case I want the user to be able to indicate that:

a. Author must be filled with value in variable sAuthor

b. PubDate must be filled with value in variable dtPubDate.

c. PubDate must be displayed in a specific data time format
indicated by the user.


I was using: "Published by $Author$ @ $PubDate$"

The problem is that I don't know how should I specify in my string the
DataTime format.



2. Add New Comment | Comments (10)

In this case I want the user to be able to indicate that:

a. Add New Comment is the link button "AddComment" and its text
should be "Add New Comment"

b. Comments is the link button "Comments" with text "Comments"

c. 10 is the value contained in variable CommentsCount



I was using: "Add New Comment | Comments ($CommentsCount$)"

The problem is that I don't know how should I specify that Add New
Comment is the link button "AddComment" and Comments is the link
button "Comments"


Maybe I am looking this the wrong way. Anyway, any suggestion is
welcome.

Thanks,

Miguel
 

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
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top