473,672 Members | 3,241 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Steps to inherit a control

Hi All,

Please let me know the steps one has to follow for
successful inheritance of a control. An example would be
to inherit an ImageButton server side control with OnClick
functionality included. i.e., The user should be able to
drag the control from the toolbox and use it in a web page
with some defined properties, On the site, when the end
user clicks the imagebutton, the controls onclick event
should be fired and the desired action should take place.

thanks in advance
Prathiraj
Nov 15 '05 #1
0 1190

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

Similar topics

0
1353
by: Jill Graham | last post by:
Hi folks, The pages of my website are built dynamically and are based on templates. A template can look like this : <table> <tr><td>This is the page header</td></tr> <tr><td>This is the page content</td></tr> <tr><td>This is the page footer</td></tr>
0
321
by: Prathiraj | last post by:
Hi All, Please let me know the steps one has to follow for successful inheritance of a control. An example would be to inherit an ImageButton server side control with OnClick functionality included. i.e., The user should be able to drag the control from the toolbox and use it in a web page with some defined properties, On the site, when the end user clicks the imagebutton, the controls onclick event should be fired and the desired...
6
2908
by: Mohammad-Reza | last post by:
I wrote a component using class library wizard. In my component i want to in order to RightToLeft property do some works. I can find out if user set this property to Yes or No, But if He/She set it to Inherit I must examine its parent RightToLeft property(if i`m wrong please tell me) but in this component that inherits from System.ComponentModel.Component, How can i find parent??? In UserControls we can simply use Parent property but in...
1
5963
by: Spurry Moses | last post by:
Hi, I'm converting a project from C++Builder to C# and I just need to copy my class design across. It's looking good so far. To stick with the design I want to inherit from a ComboBox control (ie MyComboBox). I don't need to do anything flash with it, just add a few properties and methods. I'd almost solved this while writing this post but I'll just confirm what I'm doing is OK. It was a bit awkward in Visual Studio because all of...
3
4585
by: Jill Graham | last post by:
Hi folks, The pages of my website are built dynamically and are based on templates. A template can look like this : <table> <tr><td>This is the page header</td></tr> <tr><td>This is the page content</td></tr> <tr><td>This is the page footer</td></tr>
0
2064
by: Bill Gauvey | last post by:
I have a wizard control on a page with the first two setps are static, created in the VS2005 UI; the remaining steps are created dynammically. For some reason I cant get it to retain in the viewstate. In the Page_Init I create the wizard steps. There will be 17 steps in all. protected void Page_Init(object sender, EventArgs e) { if (!IsPostBack) {
3
1173
by: Station Media | last post by:
Hi everybody, I need to create a custom button for all our internal applications, and i would like to know what is the best for this type of control(button), is it to inherit standard button or create a full new one with usercontrol (using GDI+) ? Which one will be the fatest or is it the same speed to display button on screen (form with more than 100 buttons) ? thank you
1
1416
by: mtczx232 | last post by:
I going to drive my own Inherit control for All Win control, But I see that inherit control not get by default the original control Icon. How i can get the original Icon for each Inherit control?
1
1939
by: FireFlux | last post by:
Inherit the Listview Control with Visual Basic ? I have decided do inherit the Listview control some days ago to change some painting things to make the .net Listview look like the explorer's Listview. I am very new on doing those things like painting and also have not much practise with inheriting , so I got some problems while I tried to change the Control to that Listview I like. Here are my Questions : - Can I run a method if...
2
2264
by: Joe | last post by:
Is it possible to inherit from a UserControl? If I try my user control class is not recognized. Thanks, Joe
0
8945
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8643
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8697
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6255
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5720
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4242
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4439
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2837
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1837
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.