PC Review


Reply
Thread Tools Rate Thread

Bug in button behaviour with UserControl hosted in internet explorer

 
 
Olivier R
Guest
Posts: n/a
 
      30th Jan 2004
Hello,

My configuration:
=================
Internet Explorer 6
..NET Framework French 1.0
Visual Studio .NET 2002

The symptoms:
=============
Created a windows controls library containing a UserControl.
The UserControl contains a Button (with FlatStyle property
set to System) and a DataGrid.

If the UserControl is hosted in a Windows Form in a exe application :
When I click on the button, the event is fired.

If the UserControl is hosted in Internet Explorer :
When I load the html page for the first time.
When I click on the button, the event is not fired.
When I click again on the button, the event is fired.

This behaviour is incorrect.

Now when I set the FlatStyle property set to Standard.
If the UserControl is hosted in Internet Explorer :
When I load the html page for the first time.
When I click on the button, the event is fired.


So my conclusion is there's a bug with Buttons that
have the property FlatStyle set to System
and that are hosted in Internet Explorer.


Can somebody help ?
Thanks !!
Oliver.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
access DOM from a UserControl hosted in Internet Explorer =?Utf-8?B?RmlsaXBwbyBCZXR0aW5hZ2xpbw==?= Microsoft Dot NET Framework Forms 0 10th Mar 2006 07:13 PM
access DOM from a UserControl hosted in Internet Explorer =?Utf-8?B?RmlsaXBwbyBCZXR0aW5hZ2xpbw==?= Microsoft C# .NET 0 10th Mar 2006 07:12 PM
access DOM from a UserControl hosted in Internet Explorer =?Utf-8?B?RmlsaXBwbyBCZXR0aW5hZ2xpbw==?= Microsoft Dot NET 0 10th Mar 2006 07:10 PM
access DOM from a UserControl hosted in Internet Explorer =?Utf-8?B?RmlsaXBwbyBCZXR0aW5hZ2xpbw==?= Microsoft Dot NET Framework Forms 0 9th Mar 2006 09:51 AM
How to access DOM from a UserControl hosted in Internet Explorer =?Utf-8?B?RmlsaXBwbyBCZXR0aW5hZ2xpbw==?= Microsoft Dot NET 0 9th Mar 2006 09:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:44 PM.