473,387 Members | 1,528 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.

Many user defined controlls

Hi,

i have created Web UI Control. I need to use it many times on one
page.

My soulution was to add this controls in a loop to Panel (in
Page_Load), it doesnt work. I think it is beacause this control doesnt
have runat="server".

Any solutions? Maybe there is simpler ide?

Thanks in advance,
Etam.

May 2 '07 #1
1 950
On 2 Maj, 12:46, etam <odwrot...@gmail.comwrote:
Hi,

i have created Web UI Control. I need to use it many times on one
page.

My soulution was to add this controls in a loop to Panel (in
Page_Load), it doesnt work. I think it is beacause this control doesnt
have runat="server".

Any solutions? Maybe there is simpler ide?

Thanks in advance,
Etam.
<asp:Panel ID="ProfilesPanel" runat="server" Height="50px"
Width="125px">
</asp:Panel>

and Page_Load:
ProfileInfoCollection pic =
ProfileManager.GetAllProfiles(ProfileAuthenticatio nOption.All);
foreach(ProfileInfo pi in pic) {
ProfileCommon p = (ProfileCommon)ProfileCommon.Create(pi.UserName);
ProfilesPanel.Controls.Add(new ProfileDisplay());
}

May 2 '07 #2

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

Similar topics

2
by: paja | last post by:
Hi I need to use the "Slider" control. When I drag and drop this contol I get a message that the ActiveX is not licensed and cannot be used In older version where this Slider was used...
1
by: paja | last post by:
Hello All I have been trying looking for Slider control required for one of the application. I have looked in default Form controls, then tried to add controls from COM components, but could not...
2
by: David Emme | last post by:
Access 97 I have a number of SELECT statements which contain references to user-defined VBA functions. These typically work as expected, but occasionally, on one user's machine or another,...
33
by: Kenneth Brody | last post by:
I know that passing printf() too few arguments, or arguments of the wrong type invokes UB. However, what about passing too many arguments, if the expected arguments are of the correct type? For...
10
by: Thelma Lubkin | last post by:
My form/subform combination that allows user to display 'ColorSet' records, move to other records via a selector, to add,delete, and edit them, and to manage the related 'Color' records from the...
5
by: Mart | last post by:
Hi everybody, I plan to have a LOT of SQL string in my app. So I need your advice for this. Is it a good idea to store all my SQL string in the app.config file? For a maintenance point of...
2
by: Michael Debus | last post by:
Hi I want to create a ui-less user control which appears in the designers tray area (like timer-control) using VS2005. I figured out how to bulid user-controls with ui, but dont know the best...
1
by: halosonu | last post by:
hi this is srikanth i created one dynamic form in c#.net of windows application and also i put the some controlls on that upto now no problem but no one event fireing occurs for that what should i do...
6
by: BD | last post by:
Hi, all. I need to enforce a one-to-many relationship on 2 tables, with a join table. Say the join table contains account information. It has cust_no and acct_no. Both cust_no and acct_no are...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.