Steve:
I dung into it for you using reflector (you should try it out) and came to
this:
internal char IdSeparatorFromConfig
{
get
{
if (!this.EnableLegacyRendering)
{
return '$';
}
return ':';
}
}
as part of the control class
EnableLegacyRendering goes deeper, not 100% sure, but it seems like it might
be (a) config driven (do a google search for it and you'll find a few posts
about it from the Beta 2 days), or based on some other page properties.
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"n33470" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all,
>
> We have a user control that contains a DropDownList. This user
> control appears on a web page. Suppose the name of the userControl on
> the web page is called "ucLookup". Suppose the name of the
> dropDownList within the user control is called "cboList".
>
> On my development PC running VS2005 on WinXP Pro, the rendered HTML for
> the dropDownList looks like this:
>
> <select name="ucLookup:cboList" id="ucLookup_cboList"
> class="cboBodyNormal">
>
> Notice that the name attribute contains a ':' (colon) between the
> userControl name and the dropdownlist name.
>
> On a production server running Windows Server 2003 and the .NET
> framework installed from the redistributable, rather than from VS2005
> (but still running the 2.0.50727 version), the rendered HTML is this:
>
> <select name="ucLookup$cboList" id="ucLookup_cboList"
> class="cboBodyNormal">
>
> Notice now that there is '$' character in the name of the control.
> Between the two environments, the only major difference I can think is
> the OS (WinXP Pro vs Windows Server 2003), and that the .NET framework
> on Windows Server box was installed from the redistributable, rather
> than from VS2005
>
> Has anyone noticed this before? Is there any kind of environment
> setting that controls the separater character which is used here?
>
> --steve
>