Solved

How to code evetns for controls (like buttons) that are contained in a login view.

Posted on 2008-10-24
1
178 Views
Last Modified: 2012-05-05
I am employing a login view on an asp page. This view contains several controls (such as buttons) that under normal circumstances generate events. I have read elsewhere on EE where you can use the following code to modify properties of these object in a login view:

HyperLink MyHyperLink = (HyperLink) LoginView1.FindControl("HyperLink1")
MyHyperLink.NavigateUrl = "http://www.msn.com"

My problem is that I also need to respond to events for buttons that are under the login view. When I look in the drop down object list in my coding window, the objects aren't there. If I manually create the events handlers, I get the following:

Handles clause requires a WithEvents variable defined in the containing type or one of its base types

How do I code events for these buttons?
0
Comment
Question by:dzumwalt
1 Comment
 

Accepted Solution

by:
dzumwalt earned 0 total points
ID: 22798663
Nevermind ....

I found the answer in question # 23043623

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intranet for business 4 127
Update Master page control from update panel on content page 3 58
Tech Writing - 'Hover Over ' or 'Mouse Over' 4 73
Error viewing ASP page 12 146
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now