|
Home > Archive > Microsoft Content Management Server > February 2004 > Is there a method of Prepopulating the 'name' and 'display name' in the Save Postings
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Is there a method of Prepopulating the 'name' and 'display name' in the Save Postings
|
|
| Alan Taylor 2004-02-10, 8:35 pm |
| Hi,
I wanted to know if it's possible to put text into the Save Postings
dialog, as I want to make a suggestions to the user the name they
should enter.
Thanks for any info.
Alan.
| |
| Stefan [MSFT] 2004-02-10, 9:35 pm |
| Hi Alan,
you mean the posting name?
If you like you can completly get rid of this and create the posting with a
name programmatically:
http://www.gotdotnet.com/Community/...e7-56dd30bb89fe
If you really would add a suggestion the following modification should do
what you are looking for.
Replace this line:
<asp:TextBox ID="NC_intxtDisplayName" cssclass="WBC-styclsInputField"
onkeypress="HandleKeyPress()" Columns="30" runat="server" />
with this
<asp:TextBox ID="NC_intxtDisplayName" cssclass="WBC-styclsInputField"
onkeypress="HandleKeyPress()" Columns="30" runat="server"><%
=YourDefaultValue %></asp:TextBox>
"YourDefaultValue" need to be replaced with some server side code to
generated the suggested name.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Alan Taylor" <alan_taylor@nospam.uk.ibm.com> wrote in message
news:4utj20lv0b6i6foc1a2rbjfvk5262l4rh5@
4ax.com...
> Hi,
>
> I wanted to know if it's possible to put text into the Save Postings
> dialog, as I want to make a suggestions to the user the name they
> should enter.
>
> Thanks for any info.
>
> Alan.
|
|
|
|
|