473,473 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Inherits from web user control

ton
I created web user control class (WebUserControl1) on my project.
This web user control class contains two button.
And i create new vb class that it inherit from WebUserControl1.

When i register vb class to web form.
It can not display any controls (buttons).

How can i use vb class on webform?

Thanks in advance.



Nov 17 '05 #1
1 928

"ton" <bk******@hotmail.com> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
I created web user control class (WebUserControl1) on my project.
This web user control class contains two button.
And i create new vb class that it inherit from WebUserControl1.

When i register vb class to web form.
It can not display any controls (buttons).

How can i use vb class on webform?

Thanks in advance.


As far as I have found out, you can inherit only the codebehind, not the
layout.

Hans Kesting
Nov 17 '05 #2

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

Similar topics

4
by: Ben R. | last post by:
Between ClassName and Inherits, which attribute is set to specify the class that a page uses? I would think that would be inherits. Further, the description for ClassName is: Specifies the class...
1
by: Tee | last post by:
Hi, how to let web user control inherits the webpage that holding the user control ? as 1 class only can have 1 inherits, anyway to do this ? I am using VB.NET. Thanks, Tee
1
by: Norton | last post by:
Hi All, I want to create 2 set of user controls. The datasource and their properties is exactly the same, but each control have different User Interface to display data (one is bind with combo...
4
by: Ben R. | last post by:
Between ClassName and Inherits, which attribute is set to specify the class that a page uses? I would think that would be inherits. Further, the description for ClassName is: Specifies the class...
3
by: Gregory Gadow | last post by:
I am looking to create a custom TabControl in VB using VS 2.0. All of the documentation I've found online starts with Public Class NewTabControl Inherits Windows.Forms.TabControl End Class ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.