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
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