473,396 Members | 1,968 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.

Custom controls attributes

Hello,

I'm creating a custom control which inherits from Calendar. I wanted to
know which attributes should I put to my properties and on my control
to make the designer recognize it. For example, if you create a textbox
by starting to write : <asp:Textbox and then you hit the space bar (or
Ctrl+space), VS proposes you a list of the properties of the Textbox
control...
If microsoft's controls can do it, why mine couldn't ??

Thank you very much

Feb 2 '06 #1
4 1150
Hi
I think that this has to do with VS IntelliSense schema and not with your
control.
In order to enable intellisense for your controls you will have to create
the proper XML Schema and configure VS with it.

--
_________________________
Kostas Pantos [MCP]
http://kostas.pantos.name
"Julien" wrote:
Hello,

I'm creating a custom control which inherits from Calendar. I wanted to
know which attributes should I put to my properties and on my control
to make the designer recognize it. For example, if you create a textbox
by starting to write : <asp:Textbox and then you hit the space bar (or
Ctrl+space), VS proposes you a list of the properties of the Textbox
control...
If microsoft's controls can do it, why mine couldn't ??

Thank you very much

Feb 2 '06 #2
Is there a good tutorial for it somewhere ?

Feb 2 '06 #3
You might find this helpful
http://geekswithblogs.net/devin/arch.../04/59103.aspx
--
_________________________
Kostas Pantos [MCP]
http://kostas.pantos.name
"Julien" wrote:
Is there a good tutorial for it somewhere ?

Feb 2 '06 #4
Ok thank you very much

Feb 2 '06 #5

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

Similar topics

3
by: Lloyd Sheen | last post by:
I have a piece of functionallity that is replicated on several pages. This would be a good candidate for a custom control right? Well I found a couple of tutorials (none really helpful) so I...
2
by: Jay Walker | last post by:
I created a custom DataGridColumn based on Marcie Robillard's MSDN Article: Creating Custom Columns for the ASP.NET Datagrid...
1
by: Sanjay Pais | last post by:
I built a custom control for all the basic web.ui.controls like textbox, label, checkbox etc etc. I added my custom attribute called ApplySecurity to the html in the page. However, when I cycle...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
0
by: matrix1975 | last post by:
Hi everybody, I'm migrating my ASP.NET 1.1 portal to 2.0. In my previous version I had implemented a data binding framework for the presentation layer. Basically a property of a Business Object...
19
by: Jamey Shuemaker | last post by:
I'm in the process of expanding my knowledge and use of Class Modules. I've perused MSDN and this and other sites, and I'm pretty comfortable with my understanding of Class Modules with the...
2
by: J R M | last post by:
I've developed a custom control (it's basically a drop-down list and then a couple of textboxes to include meta-data for the selection) that I'm embedding into another custom control (the idea is...
3
by: shapper | last post by:
Hello, I have been creating custom controls based on Asp.Net 2.0 controls using CreateChildControls. When I look at the HTML source it looks like Asp.Net wraps all the child controls with a...
1
by: =?Utf-8?B?cGF0cmlja2RyZA==?= | last post by:
Hi guys! I have built a custom pager for my datagrids like in the picture: http://i173.photobucket.com/albums/w65/patrickdrd/dev/grid.jpg I would like to move that inside the datagrid (on...
5
by: jbeckh2 | last post by:
Hi, I am trying to create a custom server control that contains several dropdownlists. The control looks like this: Dim pnlHeader As New Panel Protected Overrides Sub RenderContents(ByVal...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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...
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.