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

How To A Access User Control From Another User Control

233 100+
I have created two users controls, uconn1 and uconn2, that I have dropped onto a form, form1. From form one, I can access either user control with a line such as:

Expand|Select|Wrap|Line Numbers
  1. uconn1.Show();
My question is, how can I call the same method,

Expand|Select|Wrap|Line Numbers
  1. uconn1.Show();
from with uconn2? For that matter, how can I access any control on uconn1 from uconn2? Thanks, and I am working with C#.
Nov 11 '10 #1
1 1243
mcfly1204
233 100+
I am still uncertain as to how I can do this. Do I need to create an event handler for uconn1.Show() that is accessible from uconn2?
Nov 15 '10 #2

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

Similar topics

1
by: Bruce W.1 | last post by:
I've got a User Control which has a bunch of buttons for navigating. When clicked they do a Server.Transfer to another page in the application. How do I make the clicked nav button look...
3
by: qwerty | last post by:
I have two User controls in a page. Them ID-propertys are example UC1 and UC2. In code behind file they are declared: Public UC1 As UC1 Public UC1 As UC1 From the page I can call them with...
4
by: vatech1993 | last post by:
I'm stumped on this problem. I've created a user control that dynamically creates 5 linkbuttons in the CreateChildControls method. Each of these child controls is linked to a commandeventhandler,...
0
by: StraussGuy | last post by:
I have a user control that I've created the function of which is simply to handle data retrieval from an access database. (FWIW, it implements IListSource so that I can bind the control to the...
1
by: Giorgio | last post by:
I have 2 web users controls in a page and I would like to get or set the selected values of a few dropdown boxes and I also would like to know how to access functions that are on aweb user control...
4
by: Nick Gilbert | last post by:
Hi, Is it possible to access the Session of an arbitary user from an aspx page? On an e-commerce site, I am notified of payment success via a callback from the payment server to an ASPX page...
2
by: kumarpappu | last post by:
hello - I am newbie in winforms and c#. i have a mainform.cs and it has 2 user controls - leftView and rightView. In leftView.cs i am instantiating a new clientLeftView(another user control)...
19
by: emanning | last post by:
Using Access 2003 and using a form that's mostly bound. I need a way to tell if user-1 is on the record when user-2 tries to open the same record, w/o waiting for the user-1 to save the record...
23
by: tangara | last post by:
I have created a form where there's an option or 2 user types. All the data collected will be posted to my msaccess table. I have user java servlet to link the html to msaccess table so that...
12
by: tangara | last post by:
I have created a form where there's an option or 2 user types. All the data collected will be posted to my msaccess table. I have user java servlet to link the html to msaccess table so that...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...

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.