T
Tom
I have two ASP.NET (v1.1) websites running a modified version of the same
code - they live on the same IIS6 server in separate virtual websites, with
separate application pools.
Each has exactly the same code for the population of a HtmlSelect control,
where the HTML is as follows, and the codebehind populates the rest of the
values.
<select runat="server" id="selTitle">
<option value="0"></option>
</select>
Here's the problem: one website (correctly) has the first item in the
dropdown as blank text, and the other (incorrectly) has the text "0"... and
I can find no reason what-so-ever why it is doing it.
(I have also tried <option value="0"> </option> without success.)
I've checked and compared everything including IIS configuration,
machine.config, web.config, project settings... I just can't figure it out.
Any help would be very much appreciated.
Cheers,
Tom
code - they live on the same IIS6 server in separate virtual websites, with
separate application pools.
Each has exactly the same code for the population of a HtmlSelect control,
where the HTML is as follows, and the codebehind populates the rest of the
values.
<select runat="server" id="selTitle">
<option value="0"></option>
</select>
Here's the problem: one website (correctly) has the first item in the
dropdown as blank text, and the other (incorrectly) has the text "0"... and
I can find no reason what-so-ever why it is doing it.
(I have also tried <option value="0"> </option> without success.)
I've checked and compared everything including IIS configuration,
machine.config, web.config, project settings... I just can't figure it out.
Any help would be very much appreciated.
Cheers,
Tom