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