Category: Asp.net

How to create text box in asp.net (Newbie)

{0 Comments}

This article will tell you how simply you can create a textbox in asp.net there are two ways you can do this. 1)  Firstly, all you have to drag and drop text box to xhtml page having extension as aspx or simply double click on the textbox icon in the toolbox under standard submenu.  This …

Read More…

How to add text box dynamically in asp.net

{0 Comments}

How to add text box dynamically in asp.net

Generally we add text box by dragging or by adding xhtml code with server tag in asp.net website or application. But when it comes to add controls dynamically, conditions slightly changes. Let’s have a look on syntax for adding textbox dynamically. Code which you will write in an event is as follows:  C# |  copy code |? 1Controls.Add(new TextBox() { …

Read More…

How to validate textbox in asp.net

{0 Comments}

In this article you will know how to apply validations on textbox in asp.net.   please go through following steps. Steps to apply validation to textbox 1)      Take a text box on your web form from your toolbox under standard menu.  HTML |  copy code |? 1<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox> 2)      Now choose one among those five different validators present in toolbox …

Read More…

How to clear text box in asp.net

{0 Comments}

I know it is very simple to clear a text box, in asp.net. But I want to tell you there are various such ways to clear a text box; this different way can help you in various programming conditions. Let’s start with the first one. Among this list first is the mostly used for clearing …

Read More…

solution-Microsoft JScript runtime error: Sys.ArgumentTypeException: Object of type ‘Sys._Application’ cannot be converted to type ‘Sys._Application’.

{0 Comments}

If you try to run your application and you are getting the above error continuously that means that, property to use Microsoft asp.net Ajax in web.config file is not configured properly. It is usually seen in visual studio 2008 the web.config file is auto configured but, in visual studio 2005 when this error generally appear …

Read More…

Solution-error can be caused by a virtual directory not being configured as an application in IIS”

{0 Comments}

 Here I am with the an error mostly seen in asp.net application running on the IIS server the exact error is “It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.” When you create …

Read More…