Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Handles clause requires a WithEvents variable defined in the containing type

$
0
0

Hi all

I have 100 aspx pages. Only 1 of them have problemes. I use VS 2010 and doesn't recognize my handles sentences either the controls. I can't figure it out why.

In spanish the error is la cláusula handles requiere una variable withevents definida en el tipo contenedor

I have in markup

<%@PageLanguage="VB"MasterPageFile="maestro.master"CodeFile="publicarobras.aspx.vb"Inherits="codigo" %>

and in codebehind, publicarobras.aspx.vb

Partial Classcodigo

 Inherits System.Web.UI.Page

can u give me some ideas?

Thanks in advance


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>