473,396 Members | 2,016 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,396 software developers and data experts.

Reg:custom control

vinoth82
how to create custom control using C# .net, please give me any sample code it will be useful for me.
Mar 9 '09 #1
4 1622
Frinavale
9,735 Expert Mod 8TB
What type of application are you working with?
Are you developing a web application or desktop application?

What have you tried so far?
Have you tried adding a new control to your project?
Have you tried implementing any of the control's functionality?
What are you having problems with?
Mar 9 '09 #2
tlhintoq
3,525 Expert 2GB
Google is your friend.
Try a search with the terms "C# how to create custom control"
Mar 9 '09 #3
I need to create custom control for web application, i doesn't know how to create custom control in web application.
Mar 10 '09 #4
Frinavale
9,735 Expert Mod 8TB
Well, you could create a custom Web User Control by right click on your application in the Solution pane and selecting "Add New Item"...then select Web User Control.

This will appear to be something like an ASPX page...and you implement it as you would an ASPX page. But you can drag this control onto any ASPX page (while in design view), so you can use it on many pages.

Another way would be to create a Server Control.
These are a little more complicated, especially when it comes to adding visual aspects to the control. These are just normal classes that extend/inherit either an existing control (like a panel, label, something...) or the Web.UI.Control class itself.

-Frinny
Mar 10 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Mark J. McGinty | last post by:
Greets, One site I've written allows the user to install an IE extension menu (not malware at all) by downloading/merging a short .REG file. Worked like a peach on Win2K Server, now that I...
6
by: Regnab | last post by:
Morning All, I'm trying to ensure that when the user enters a number on a form, the database automatically leaves a space after the 3rd number. I've tried to do this using input masks, but when...
1
by: Madhu [MVP] | last post by:
Hi, I have a custom validator in the page along with required validator and compare validator. I also have the validation summary. I am using Client side validation for the custom validator....
5
by: Matthew Metnetsky | last post by:
I'm trying to write two custom recursive functions: one that selects, and the other that selects/updates. I've been looking around the internet for examples for they're so limiting and...
5
by: Simon Verona | last post by:
I have an installer project for my VB.net application which as a custom action runs a silent installation of a third party software product. This however, generates an error if the application is...
0
by: shruthi | last post by:
Hai, I m nt able to refer the webservice created using java and xml through vb.net.when i try to refer the wsdl file i get an error D:\WindowsApplication7\Web References\ws\Reference.map(1):...
3
by: =?Utf-8?B?UGFsbXF2aXN0?= | last post by:
Hi I am trying to creaate a custom view of windows explorer fileview, can reproduce it as a nse, but how do i ad an extra menu to the view menu. which activate my own created ishellview. cant find...
2
crabpot8
by: crabpot8 | last post by:
I am working on a message system that will let out programmers easily output a message to any user. It works fine, unless the message is requested inside of a page_load on an aspx page. Then, it does...
0
by: =?Utf-8?B?QkVB?= | last post by:
Folks, I am developing a deployment project with Visual Studio 2005 that produces an .msi installer. I am not understanding how to create some customized install time actions that I want...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...

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.