Ask a Question related to ASP.NET General, Design and Development.
-
Dani Peer #1
Can not see controls
Hi,
I'm trying to run a simple ASP.NET file and I can not see the controls, just
the "+".
Any solutions ?
The file is (calc.aspx):
<html>
<body>
<form runat="server">
<asp:TextBox ID="op1" RunAt="server" />
+
<asp:TextBox ID="op2" RunAt="server" />
<asp:Button Text=" = " OnClick="OnAdd" RunAt="server" />
<asp:Label ID="Sum" RunAt="server" />
</form>
</body>
</html>
<script language="C#" runat="server">
void OnAdd (Object sender, EventArgs e)
{
int a = Convert.ToInt32 (op1.Text);
int b = Convert.ToInt32 (op2.Text);
Sum.Text = (a + b).ToString ();
}
</script>
Dani Peer Guest
-
communication between an application, custom controls, and user controls
Hi, and many thanks in advance... I'm a little lost about how to proceed with communication between an application, custom controls, and user... -
Control.Controls bug? Control's child controls missing at the run time.
Hello, ..NET 1.1/VB.NET: I have a custom web control Public Class DatePicker Inherits Control Implements INamingContainer -
Why the properties of web user controls which inherted from my custom base UI controls MISSED?
Why the properties of web user controls which inherted from my custom base UI controls MISSED? How should I to set enable? -
composite controls... Microsoft Press: Dev ASP.NET Server Controls
I have the Microsoft Press: Developing Microsoft ASP.NET Server Controls and Components book. It's starting to shine some light on control... -
user controls: dynamiclly added child controls dont survive post back ?
hi, i have some strange behaviour: i've created a web user control that add's some child controls (e.g: textbox, image buttons) to its control... -
Swanand Mokashi #2
Re: Can not see controls
I just copy pasted your code on my server and its showing both the text
boxes and calulating the sum right
?
--
Swanand Mokashi
Microsoft Certified Professional
[url]http://www.swanandmokashi.com/[/url]
Home of the Stock Quotes, Quote of the day and Horoscope web services
"Dani Peer" <danip@ectel.com> wrote in message
news:%23Pmq4xTVDHA.2024@TK2MSFTNGP12.phx.gbl...just> Hi,
> I'm trying to run a simple ASP.NET file and I can not see the controls,> the "+".
> Any solutions ?
>
> The file is (calc.aspx):
>
> <html>
> <body>
> <form runat="server">
> <asp:TextBox ID="op1" RunAt="server" />
> +
> <asp:TextBox ID="op2" RunAt="server" />
> <asp:Button Text=" = " OnClick="OnAdd" RunAt="server" />
> <asp:Label ID="Sum" RunAt="server" />
> </form>
> </body>
> </html>
>
> <script language="C#" runat="server">
> void OnAdd (Object sender, EventArgs e)
> {
> int a = Convert.ToInt32 (op1.Text);
> int b = Convert.ToInt32 (op2.Text);
> Sum.Text = (a + b).ToString ();
> }
> </script>
>
>
Swanand Mokashi Guest
-
Steve C. Orr, MCSD #3
Re: Can not see controls
You need to repair your IIS mappings.
To do this, run the following command:
aspnet_regiis.exe -i
Here's further information:
[url]http://support.microsoft.com/default.aspx?scid=KB;EN-US;q306005[/url]
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Dani Peer" <danip@ectel.com> wrote in message
news:%23Pmq4xTVDHA.2024@TK2MSFTNGP12.phx.gbl...just> Hi,
> I'm trying to run a simple ASP.NET file and I can not see the controls,> the "+".
> Any solutions ?
>
> The file is (calc.aspx):
>
> <html>
> <body>
> <form runat="server">
> <asp:TextBox ID="op1" RunAt="server" />
> +
> <asp:TextBox ID="op2" RunAt="server" />
> <asp:Button Text=" = " OnClick="OnAdd" RunAt="server" />
> <asp:Label ID="Sum" RunAt="server" />
> </form>
> </body>
> </html>
>
> <script language="C#" runat="server">
> void OnAdd (Object sender, EventArgs e)
> {
> int a = Convert.ToInt32 (op1.Text);
> int b = Convert.ToInt32 (op2.Text);
> Sum.Text = (a + b).ToString ();
> }
> </script>
>
>
Steve C. Orr, MCSD Guest
-
Dani Peer #4
Re: Can not see controls
Thanks Steve,
It's exactly that.
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
news:OlKH4RUVDHA.2032@TK2MSFTNGP11.phx.gbl...> You need to repair your IIS mappings.
> To do this, run the following command:
> aspnet_regiis.exe -i
>
> Here's further information:
> [url]http://support.microsoft.com/default.aspx?scid=KB;EN-US;q306005[/url]
>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>
> "Dani Peer" <danip@ectel.com> wrote in message
> news:%23Pmq4xTVDHA.2024@TK2MSFTNGP12.phx.gbl...> just> > Hi,
> > I'm trying to run a simple ASP.NET file and I can not see the controls,>> > the "+".
> > Any solutions ?
> >
> > The file is (calc.aspx):
> >
> > <html>
> > <body>
> > <form runat="server">
> > <asp:TextBox ID="op1" RunAt="server" />
> > +
> > <asp:TextBox ID="op2" RunAt="server" />
> > <asp:Button Text=" = " OnClick="OnAdd" RunAt="server" />
> > <asp:Label ID="Sum" RunAt="server" />
> > </form>
> > </body>
> > </html>
> >
> > <script language="C#" runat="server">
> > void OnAdd (Object sender, EventArgs e)
> > {
> > int a = Convert.ToInt32 (op1.Text);
> > int b = Convert.ToInt32 (op2.Text);
> > Sum.Text = (a + b).ToString ();
> > }
> > </script>
> >
> >
>
Dani Peer Guest



Reply With Quote

