Click here to Skip to main content
11,929,675 members (58,217 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET Design Controls
Actually i wanna hide one control like label in designer form.....i can hide tat label while running the form but i wanna hide in designer window also!!!!how i hide that?
Posted 7-Nov-12 3:16am
VinayRajK 7-Nov-12 8:45am
Hello deenujii,
Normally, we cant hide the control in the designer form as far as my knowledge.. but if you want to do so for label control then, you can do like this.. just give the Text="" in the source code.. and if you want a text to that label then you can do that in coding.. like label1.Text = "someText"
I hope this helps..

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Make visible=false for the property of label
ie... label.visible=false;
deenujii 7-Nov-12 21:54pm
already i used property only for hiding this....but i need to hide on designing window it is possible?????????????????????

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100