How to enable groupbox; when its placed inside a diabled-splitpanel [Resolved]

Posted by Thiru under VB.NET on 9/15/2012 | Points: 10 | Views : 1957 | Status : [Member] | Replies : 4
H Friends,
Is it possible to enable a groupbox which is inside splitpanel

Note: i like to disable the splitpanel and enable groupbox only
(groupbox is placed inside splitpanel)

the code i tried with:

SplitPanel2.Enabled = False
RadGroupBox2.Enabled = True
(its not working - i mean its not enabling groupbox once i disable the splitpanel)

is it possible to do so ?

expecting your valuable reply.




Responses

Posted by: Thiru on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down

Resolved
Hi friends,
First i like to thank for spending your valuable time here.
Hariinakoti, as per your suggestion i cant disable the splitpanel permanently - i have to handle both on runtime.
As you have mentioned that its parent-child behavior - Yes i agree; my question is how to over come?

Finally i got an idea to bypass as:
just cut the RadGroupBox2 from SplitPanel2 and paste it directly on Form
and moved RadGroupBox2 as Forward; and SplitPanel2 as Backward

This looks like same as before (like placed inside SplitPanel).

Its not the correct method - but i just bypass to meet the required logic-work.

Thiru, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
if u disabled split panel ,groupbox also disable automatically.because it is in split pannel.u can skip splitpanel perminently then groupbox will work properly.

Thanks & Regards
Hari

Thiru, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vikash on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
Under control hierarchy this is parent-child relationship.......................
so if you disable parent control then child control will be disabled automatically.........

If fount interesting.... mark as answer.

Regards,
Vikash Pathak

Thiru, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Thiru,
If you like my answer please select Mark As Answer

Thanks & Regards
Hari

Thiru, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response