473,569 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Regarding usercontrol in .NET

Hi all,

I have a problem regarding use of a usercontrol in .NET.
My usercontrol consists of two listviews which I say as source and
destination lisviews which
contains the files and folders.
I select files from source view and transfer it to the destination
view.The problem arises while
displaying the dialog for overwriting the file or folder if it is
present on the other side.

The overwrite form which I want to display should be modal. Otherwise
it could delete the
files or folders in the background view. I don't want to use a flag
which will block the deletion
if transfer is going on. The overwriteDialog should not allow me to
shift the focus elsewhere.

The problem is when i display the dialog using
_overwriteFile. showDialog() '_overwriteFile is a object of
OverwriteFile

It is not getting displayed as modal.Remember the parent for the dialog
is a usercontrol.
I have even tried with displaying it by _overwriteFile. showDialog(Me).
But still the problem
persists.

Is it that we cannot display a modal dialog on a usercontrol?

I have also used one third party control of Magiclibrary's docking
manager which is the container for my usercontrol.

Somewhere on the posts I have read that third party controls also play
role while displaying the modal dialogs.If anyone has any idea abt this
control and is there any relevance with the
problem I am facing plz. do reply

Thanks in advance.
Imm. reply needed plz. do reply.

Dec 27 '05 #1
1 1325
This multiposted message is answered in another newsgroup.
Dec 27 '05 #2

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

Similar topics

8
1952
by: Raed Sawalha | last post by:
Hi, I have a strange problem with a usercontrol on a page. The usercontrol dispalyes three categories (From a database) when the user clicks a category they see all the products in a shop for that category, the results are paged 10 to a page and the user can page them. As this "Category" usercontrol hardly ever changes I wanted to setup...
2
4612
by: Sascha | last post by:
Hi there, I searched carefully through the web before finally deciding to post this message, because I could not find a solution for my problem. Hopefully someone will have a hint or explanation for me! I apologize for the length of this posting, but I wanted to make sure that I get an answer other than "Hey man, just use LoadControl!",...
41
4270
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based on some initialization information obtained elsewhere. Basically, I'm going to create my own dynamic toolbar where the toolbarbuttons can change. ...
1
1228
by: Joseph Ferris | last post by:
I am working on a Web Application that can dynamically load UserControls, a la a plugin style system. When I create any new controls within the project, all is fine. What my question is, would be how might I be able to allow someone to create a plugin that would not require that I rebuild the application - or is it even possible? Right...
12
2188
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 server. It "serves" back the required control (either WebControl or UserControl) based on the contents of an xml file. The code in the webform places...
0
277
by: sonali_reddy123 | last post by:
Hi all, I have a problem regarding use of a usercontrol in .NET. My usercontrol consists of two listviews which I say as source and destination lisviews which contains the files and folders. I select files from source view and transfer it to the destination view.The problem arises while displaying the dialog for overwriting the file or...
6
12125
by: MeowCow | last post by:
I have created a UserControl that encapsulates a third party data grid. My goal was to create my own DataSource and DataMember properties that forward the binding to the third party grid, then use binding like normal. The problem I am running into is that my UserControl ends up with a different BindingContext then the ParentForm it is...
10
2407
by: Benton | last post by:
Hi there, I have a UserControl with a couple of textboxes and a couple of buttons ("Save" and "Cancel"). The Click event for this buttons is in the UserControl's codebehind of course, so here's my question. Once the UserControl is dropped onto the container page, how can I perform some action on the codebehind of the container page from...
0
760
by: ramanakanth | last post by:
Hi, I have a problem while creating usercontrols .I want to create a usercontrol with all the Tablelayoutpanel properties implemented in it.I am unable to get this.While setting the properties of tablelayoutpanel in the usercontrol ,i am not finding some properties like RowCount and ColumnCount .How to do this.Its Urgent for me.Thanks for any...
0
7703
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
7926
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. ...
1
7679
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
7983
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
5223
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
3657
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2117
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
1228
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.