G
Guest
Hi All,
I'm trying to display .NET Custom Control (created using Inherited Control)
on an ASPX page, but no luck. I already registered the Control to Global
Assembly Cache through .NET Framework 1.1 Configuration. I have also put a
reference to the control on my ASP .NET project. The view that I get is only
a disabled text area.
Below is the code that I'm using:
<html>
<script language="JScript">
function ChangeText() {
simpleControl1.Text = text1.value;
}
</script>
<body>
<p>Simple Control
<br>
<br>
<object id="simpleControl1"
classid="http:bin/ActiveXDotNet.dll#ActiveXDotNet.SimpleControl" height="300"
width="300" VIEWASTEXT>
<param name="Text" value="Simple Control">
</object>
<br>
<br>
<input type="text" id="text1" NAME="text1">
<input type="button" value="Change Text" onclick="ChangeText()"
ID="Button1" NAME="Button1">
</p>
</body>
</html>
Can anyone help me with the issue?
Regards,
Budhi
I'm trying to display .NET Custom Control (created using Inherited Control)
on an ASPX page, but no luck. I already registered the Control to Global
Assembly Cache through .NET Framework 1.1 Configuration. I have also put a
reference to the control on my ASP .NET project. The view that I get is only
a disabled text area.
Below is the code that I'm using:
<html>
<script language="JScript">
function ChangeText() {
simpleControl1.Text = text1.value;
}
</script>
<body>
<p>Simple Control
<br>
<br>
<object id="simpleControl1"
classid="http:bin/ActiveXDotNet.dll#ActiveXDotNet.SimpleControl" height="300"
width="300" VIEWASTEXT>
<param name="Text" value="Simple Control">
</object>
<br>
<br>
<input type="text" id="text1" NAME="text1">
<input type="button" value="Change Text" onclick="ChangeText()"
ID="Button1" NAME="Button1">
</p>
</body>
</html>
Can anyone help me with the issue?
Regards,
Budhi