473,554 Members | 3,443 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Placing a control above another control;.

Hello,
I am new to C# and I am facing a problem. I have two user
controls.First control has an image which is loaded. And the second
control is supposed to be placed on the first control. But when the
first control is invalidated the second control gets hidden behind the
first control and it becomes invisible. Once I invalidate the second
control it appears on top of the first control for fraction of second
and again gets hidden. I want the second control to be seen
permanently on the first control even wheen the first control is
invalidated. I tried "Send to back" and "Bring to front" options but
they do not seem to be solving my problem.
Please help.
Thanks
Mar 7 '08 #1
2 1306
Hello ketaki,

asp.net or winforms?!
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
kHello,
kI am new to C# and I am facing a problem. I have two user
kcontrols.First control has an image which is loaded. And the second
kcontrol is supposed to be placed on the first control. But when the
kfirst control is invalidated the second control gets hidden behind
kthe
kfirst control and it becomes invisible. Once I invalidate the second
kcontrol it appears on top of the first control for fraction of second
kand again gets hidden. I want the second control to be seen
kpermanently on the first control even wheen the first control is
kinvalidated. I tried "Send to back" and "Bring to front" options but
kthey do not seem to be solving my problem.
kPlease help.
kThanks
Mar 7 '08 #2

Hello,
It is winforms.
Mar 7 '08 #3

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

Similar topics

2
1453
by: Stuart Masters | last post by:
Could somebody please tell me if it is possible, and if so how, to place a command button on a form so that when it is clicked a black line will be placed through all the clients information (name, address, DoB, etc) on that form. Thus notifying others that that person is deceased. Many thanks for any help you can provide Stu
25
2635
by: JeffS | last post by:
Honest, I scoured the comp.lang.c.faq for this but found nothing. :) Is there a library function for placing the cursor position in the console? Or is it something that can only be done with a platform API call? I was able to do this in Windows with a Windows.h function, but I want to also do it on Linux/Unix as well. I won't ask for...
2
1517
by: Empire City | last post by:
Can someone tell me what is the difference in placing the using in the namespace{} and before the namespace{} ? namespace MyProj { using System; using System.Web; } using System;
7
2424
by: Grant | last post by:
I have this table on my form which gets populated with data from my database at runtime. I would like to place some controls (linkbutton, textbox etc.) beneath the table when it is complete - at the moment the controls just stay where I place them and the table gets built on top of them. I have tried searching the net for a solution but being...
2
1608
by: Art Kedroski | last post by:
We are using .NET validators on most of our aspx pages. When the validator is contained within a datalist (i.e. the EditItemTemplate) the WebUIValidation.js file location tag is not rendered on the page. Missing Tag: <script language="javascript" src="/aspnet_client/system_web/1_0_3705_0/WebUIValidation.j s"></script>
12
1309
by: Logan | last post by:
Hi, I am not a very experienced asp.net developer, but have a fair idea on how it works & better idea on vb.net. My requirement is to place an asp.net page on a website - which currently has asp & html pages (not asp.net) - but this server has asp.net installed on it (.NET run time files). I can only access this server by uploading files...
2
1426
by: Shahzad Godil | last post by:
I have successfully placed a seperate .Net windows control on my aspx page as well as one ActiveX Control (Visio control) on my aspx. But my orignal design is that Visio activex will be placed in my windows control. And then this windows control will be place in my aspx as "Client side" rich user interface control. It is giving blank...
0
3454
by: SamSpide | last post by:
Hi all, I'm trying to place a semi-transparent image (i.e. an image with parts of it were drawn in transparent color) over a playing video, but can't seem to make it work. Instead of the desired behavior, i.e. having all the transparent parts of the image show the underlying playing video, I get some sort of background
1
1976
by: pmelan | last post by:
I am having a great deal of difficulty in placing text within a div id = content at the top of the div, directly below the div nav. When you visit the site, http://www.tiredofmyproperty.com/ERCC/index.php, you will notice the text in the div content right in the middle. I would like to place it directly under the div id = nav section, but...
0
7581
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7782
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8018
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7541
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7872
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5142
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3533
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2006
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1114
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.