473,413 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Controls events, the IDE and intellisense

Hi,

using VB.Net in VS IDE, when a text box is
declared 'WithEvents' this makes it available in
the 'Class Name' drop down of the code window. If
selected, the textbox's events are then available in
the 'Method Name' drop down which, if a selection is made,
generates a skeleton event handler.

Is there some IDE intellisense equivalent for C#?
Thanks.
Nov 16 '05 #1
2 1343
Hi gramps,

In C# you do this in the designer. Select the TextBox, in the properties window select the button ontop that looks like a lightning arrow to get all the events for that control. Doubleclicking on any of the events will create the skeleton event handler with the default name.

--
Happy coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2
Thanks.

I am now using C# in my code-behind page of ASP.Net project - again using
Visual Studio.

The approach below works for the 'new' ASP controls but not the traditional
HTML controls with runat="server". Is there IDE assistance for getting the
skeleton event handlers here?

Regards.
"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:opsey4h5o1klbvpo@stone...
Hi gramps,

In C# you do this in the designer. Select the TextBox, in the properties
window select the button ontop that looks like a lightning arrow to get
all the events for that control. Doubleclicking on any of the events will
create the skeleton event handler with the default name.

--
Happy coding!
Morten Wennevik [C# MVP]

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nick Kafenzakis | last post by:
Hi, I am thinking about creating some custom server controls in Visual Studio .NET 2003 using VB.NET. One thing I am wondering about is how I can get the control to show up in the IDE....for...
1
by: Roman | last post by:
I have built a simple user control that contains 2 buttons, a text box and a dropdownlist. When a button is clicked it sets the visible property of the textbox/dropdownlist and the button. ie the...
1
by: Axel Dahmen | last post by:
Hi, I've created several Web User Controls and Web Custom Controls. None of them are available in the Toolbox or provide IntelliSense. Can someone please point me to some article explaining what...
0
by: William Parker | last post by:
I built a custom web control and have registered it correctly within my ..aspx page. The control is working fine at run time as well. However when I type "<" character I do not see my control...
22
by: Mr Newbie | last post by:
I was thinking about developing a workflow application yesterday and was musing over the different approaches than one could take in restricting specific actions on a ticket( Form ) at any said...
0
by: Michael Carr | last post by:
I am trying to add a user control to a web form and implement one of the control's events. However, when I add the user control to the form, intellisense doesn't seem to detect it as a control....
0
by: Alan Silver | last post by:
Hello, I have been working on a site in VS2005, and have noticed that the autocomplete has stopped working for asp controls. If I type... <a in an .aspx file, then I get a list of possible...
5
by: sunev | last post by:
We are working on a large project and using a number of the new asp.net 2.0 features a number of third party controls. One such feature is the global registration of controls in the web.config,...
13
by: Scott M. | last post by:
In a VS 2005 ASP .NET Web Application Project (WAP), how can I see a list of the page (web form) events (i.e. new, init, loadviewstate, load, saveviewstate, etc.) and set up event handlers for them?
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.