Using Buttons in .NET

    Date: 03/08/07 (Asp Dot Net)    Keywords: html, asp, web

    hey guys,

    I'm getting a tooltip from a button implementation in VS2005 that is driving me crazy.

    Here is my code:

    Private Sub AddNewDir_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddNewDir.Click

    The tip appears when you hove over Click. It says: "Even 'click' cannot be found."

    I don't understand why this is happening. Could it be that I am not inheriting the proper namespaces? My class only Inherits System.Web.UI.Page.



    Edit: figured this out with help from MSDN. My error was I wasn't using the "asp:Button" syntax in the web form. I was creating the buttons as I was used to in the HTML, with "input type='button'" format. So, no wonder the codebehind file was throwing that error.

    Source: http://community.livejournal.com/aspdotnet/86253.html

« SQL Wildcards in ASP.NET... || http://xmlia.com »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home