473,387 Members | 1,757 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,387 software developers and data experts.

using User control within a Custom Control


I would like to use the AJAX ASP.NET Accordion Control.

Can I create a user control for the form and include this within a custom
control which inherits from a Pane of the Accordion control? I know that I
can create a user control and add it within the aspx file or dynamically to
a page, but can I do the same within a custom control so that I can reuse
this as a whole Pane. I wish to do this so that I can dynamically add new
panes with the control as the pane contents.
Thanks,

Richard

Sep 10 '08 #1
3 1335
I submitted this question a couple of weeks ago, and did not receive any
response. I basically want to know if I can create a user control and a
custom control, and in building the custom control include the user control
as a part of that control?

Thanks, Richard

"RichB" <ri***@community.nospamwrote in message
news:um**************@TK2MSFTNGP03.phx.gbl...
>
I would like to use the AJAX ASP.NET Accordion Control.

Can I create a user control for the form and include this within a custom
control which inherits from a Pane of the Accordion control? I know that I
can create a user control and add it within the aspx file or dynamically
to a page, but can I do the same within a custom control so that I can
reuse this as a whole Pane. I wish to do this so that I can dynamically
add new panes with the control as the pane contents.
Thanks,

Richard

Sep 22 '08 #2
try it and see !

"RichB" <ri***@community.nospamwrote in message
news:Oe**************@TK2MSFTNGP05.phx.gbl...
>I submitted this question a couple of weeks ago, and did not receive any
response. I basically want to know if I can create a user control and a
custom control, and in building the custom control include the user control
as a part of that control?

Thanks, Richard

"RichB" <ri***@community.nospamwrote in message
news:um**************@TK2MSFTNGP03.phx.gbl...
>>
I would like to use the AJAX ASP.NET Accordion Control.

Can I create a user control for the form and include this within a custom
control which inherits from a Pane of the Accordion control? I know that
I can create a user control and add it within the aspx file or
dynamically to a page, but can I do the same within a custom control so
that I can reuse this as a whole Pane. I wish to do this so that I can
dynamically add new panes with the control as the pane contents.
Thanks,

Richard


Sep 22 '08 #3
<shaking-head>
amazing - waiting a 'couple of weeks' for a spoon feeding when a simple
test project would have provided an answer in only a few minutes !
</shaking-head>


"gerry" <ge***@newsgroup.nospamwrote in message
news:Ou**************@TK2MSFTNGP02.phx.gbl...
try it and see !

"RichB" <ri***@community.nospamwrote in message
news:Oe**************@TK2MSFTNGP05.phx.gbl...
>>I submitted this question a couple of weeks ago, and did not receive any
response. I basically want to know if I can create a user control and a
custom control, and in building the custom control include the user
control as a part of that control?

Thanks, Richard

"RichB" <ri***@community.nospamwrote in message
news:um**************@TK2MSFTNGP03.phx.gbl...
>>>
I would like to use the AJAX ASP.NET Accordion Control.

Can I create a user control for the form and include this within a
custom control which inherits from a Pane of the Accordion control? I
know that I can create a user control and add it within the aspx file or
dynamically to a page, but can I do the same within a custom control so
that I can reuse this as a whole Pane. I wish to do this so that I can
dynamically add new panes with the control as the pane contents.
Thanks,

Richard



Sep 22 '08 #4

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

Similar topics

4
by: BBFrost | last post by:
We have a data entry application written within Framework 1.0 that contains 20+ custom user controls. The controls overlay each other so that only one custom control is visible at a time. What...
3
by: Tim Thomas | last post by:
Hi, I am very new to .NET and am in the process of building my first web application. I will briefly describe what i am trying to achieve: I have a system where suppliers register their...
5
by: Marcel Gelijk | last post by:
Hi, I am trying to create a User Control that is located in a seperate class library. The User Control contains a textbox and a button. The page generates an exception when it tries to access...
2
by: Barbara Alderton | last post by:
I setup some standard Required Field Validation controls and one Custom validation control on an ASP.NET page (within a user control) to validate text entry. I also setup a Summary Control to post...
12
by: Joe | last post by:
Hello All: Do I have to use the LoadControl method of the Page to load a UserControl? I have a class which contains three methods (one public and two private). The class acts as a control...
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: Jonathan Wood | last post by:
I could really use some help on this. First of all, I want to create a Web control where I render the control completely from scratch based on information from a database. In the book...
6
by: | last post by:
I have made some user controls with custom properties. I can set those properties on instances of my user controls, and I have programmed my user control to do useful visual things in response to...
2
by: User | last post by:
Hi, I have a custom user control. How do I write the script in a way which i can import custom namespace within the custom control? Please advise.. Thanks! mycontrl.ascx <script...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.