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

many webusercontrols responding to one event

I am trying to create a page with many of the same webusercontrols that
I can have all my dynamically created and I want each of those
webusercontrols to respong to one event on the page.

How can I do this?

Making each one of my webusercontrols respond to one event globally.
So 1 event fires and all web user controls respond to it.

Ed,

Jan 25 '07 #1
1 1198
create a control to fire the event. then all webcontrols register a
handler for the common event. say you have a button, then all the
webcontrols can register a handler (delgate) of the buttons onclick.

-- bruce (sqlwork.com)
GenCode wrote:
I am trying to create a page with many of the same webusercontrols that
I can have all my dynamically created and I want each of those
webusercontrols to respong to one event on the page.

How can I do this?

Making each one of my webusercontrols respond to one event globally.
So 1 event fires and all web user controls respond to it.

Ed,
Jan 26 '07 #2

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

Similar topics

13
by: Glen Jones MCSD | last post by:
All, I know the answer to this question, I just thought I would ask everyone else. Why don't more people respond to the questions? There is not way the 15 or so regular responders can...
2
by: Arjen | last post by:
Hello, I'm working on multiple webusercontrols which i'm using after each other. Now I have placed one webusercontrol on a webpage. How can I hide this one (after some action) and load an...
2
by: tony | last post by:
hi. is there a way to write several webusercontrols in 1 file ? i want to write 3 diffrent webusercontrol for each table. but i want to see the code in 1 file. is it possible ?
2
by: Nils Hedström | last post by:
Today my stateserver (running at the same computer at the web-server) suddenly stopped responding (after 10 days working perfectly). I did not see any entry in the eventlog indicating that the...
1
by: AT | last post by:
I am having problem with beta 1 asp.net 2.0 I have 3 development stations xp /pro On 2 of them it is working just fine on 3 rd -this event not fired!!!! Problem description: I placed gridview...
3
by: scs | last post by:
Has anyone experienced the situation where control buttons stop responding to click event handlers? I have a form with 8 buttons that were responding to their click events but are not anymore. Does...
2
by: jesusR | last post by:
In VS2003 (framework 1.1 or less) i was shareing my webusercontrols with this procedure: I created a web project (webusercontrol_project) with the web user control, i compiled and everything ok....
6
by: ~john | last post by:
I have binary files stored in a SQL Server table that I want the user to be able to download from an aspx webpage. The files are displayed on the form as "LinkButtons". When the link is clicked the...
1
by: ysudhakarrao | last post by:
Hi i am having two pages main.aspx and popupwindow.aspx .In main.aspx i am having tabpanel and button.popupwindow.aspx iam having listbox ie collection of webusercontrols.after click of that...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...

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.