controls

  • Thread starter Thread starter Kenny
  • Start date Start date
K

Kenny

Hi,

Is there anyone of you know how to display ASP Classic control data in
ASP.NET page?

<SELECT name="startDay" id="startDay" class="dateDayDropDown">
.....

<asp:radiobutton id="rbPrivate" Runat="server" CssClass="stdText"
GroupName="GroupType" Text="Private"></asp:radiobutton>
...

dr.Read();
if (Convert.ToBoolean(dr["Private"]))
{
rbPrivate.Checked = false;
....
how am I going to display the dr["startDay"] in startDay selectbox control
which is not using Runat="server"

Thanks,
Kenny
 
What if I have a control written in ASP.NET
<asp:TextBox ID="hidSurveyStart" Visible="False"
Runat="server"></asp:TextBox>

and would like to get the value using JavaScript client side?


Curt_C said:
you'll have to do this inline then, like in classic ASP

<%

your stuff

%>

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


Kenny said:
Hi,

Is there anyone of you know how to display ASP Classic control data in
ASP.NET page?

<SELECT name="startDay" id="startDay" class="dateDayDropDown">
....

<asp:radiobutton id="rbPrivate" Runat="server" CssClass="stdText"
GroupName="GroupType" Text="Private"></asp:radiobutton>
..

dr.Read();
if (Convert.ToBoolean(dr["Private"]))
{
rbPrivate.Checked = false;
...
how am I going to display the dr["startDay"] in startDay selectbox control
which is not using Runat="server"

Thanks,
Kenny
 
Back
Top