PC Review


Reply
Thread Tools Rate Thread

Custom Controls

 
 
DaveL
Guest
Posts: n/a
 
      12th Oct 2008
Hello,

I have a Custome Control which contains
TextBox
Button
DataGridView

design is Textbox , button When a user clicks the button
i resize the custom control canvasarea to expose the datagridview below
the textbox
click the button or select a Row in the Datagridview it shrinks back to
hieght of the textbox

when it is visible , controls under it bleed through the datagridview

how to solve this
Help

DaveL


 
Reply With Quote
 
 
 
 
Ciaran O''Donnell
Guest
Posts: n/a
 
      13th Oct 2008
Is this for a web project? I know in IE, due to the fact that all the
controls apart from the dropdownlist are windowless IE controls, the drop
down lists show above everything. I think one solution to this is to put an
iframe behind your control and resize that too.
If this is for windows, please give a trimmed down code sample for your
control to see how you are doing it as I have never experienced this in
windows development

--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com


"DaveL" wrote:

> Hello,
>
> I have a Custome Control which contains
> TextBox
> Button
> DataGridView
>
> design is Textbox , button When a user clicks the button
> i resize the custom control canvasarea to expose the datagridview below
> the textbox
> click the button or select a Row in the Datagridview it shrinks back to
> hieght of the textbox
>
> when it is visible , controls under it bleed through the datagridview
>
> how to solve this
> Help
>
> DaveL
>
>
>

 
Reply With Quote
 
DaveL
Guest
Posts: n/a
 
      13th Oct 2008
it is for a windows form, and i'll remember the iframe for web side
the problem was not the custom control, i fiddled around for a while
and finally found the solution
when you drop ur custom control on to a new form
be sure to right click and bring to front, then the
drop part will not bleed through controls under the
drop part of the custome control

Thank you very much for you help
DaveL



"Ciaran O''Donnell" <(E-Mail Removed)> wrote in
message news:406A075C-80C2-474F-839A-(E-Mail Removed)...
> Is this for a web project? I know in IE, due to the fact that all the
> controls apart from the dropdownlist are windowless IE controls, the drop
> down lists show above everything. I think one solution to this is to put
> an
> iframe behind your control and resize that too.
> If this is for windows, please give a trimmed down code sample for your
> control to see how you are doing it as I have never experienced this in
> windows development
>
> --
> Ciaran O''Donnell
> http://wannabedeveloper.spaces.live.com
>
>
> "DaveL" wrote:
>
>> Hello,
>>
>> I have a Custome Control which contains
>> TextBox
>> Button
>> DataGridView
>>
>> design is Textbox , button When a user clicks the button
>> i resize the custom control canvasarea to expose the datagridview below
>> the textbox
>> click the button or select a Row in the Datagridview it shrinks back to
>> hieght of the textbox
>>
>> when it is visible , controls under it bleed through the datagridview
>>
>> how to solve this
>> Help
>>
>> DaveL
>>
>>
>>



 
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
Why the properties of web user controls which inherted from my custom base UI controls MISSED? ABC Microsoft C# .NET 0 21st Nov 2005 04:08 AM
Why the properties of web user controls which inherted from my custom base UI controls missed? ABC Microsoft ASP .NET 0 21st Nov 2005 04:08 AM
Derived Form Controls or Custom User Controls Paradox Microsoft C# .NET 4 3rd Mar 2005 11:14 AM
Custom User Controls and dynamically created web controls events not firing Nicole Microsoft Dot NET Framework 0 25th Sep 2003 10:40 PM
ActiveX controls or custom controls disappaer in the project! Giobibo Microsoft Dot NET 0 30th Jul 2003 09:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:56 AM.