suresh2k61

Hi All,
Please tell me how to hide a control in a webpart at runtime.
I have a image control in a webpartzone as below,
<asp:WebPartZone ID="WebPartZone1" runat="server" Height="300px"
Width="100%" EmptyZoneText=""
WebPartVerbRenderMode="TitleBar" DragHighlightColor="Black"
HeaderText="" BorderWidth="0">
<ZoneTemplate>
<asp:Image ID="Image1" runat="server" ImageAlign="Middle"
ImageUrl="~/WebParts/disney.gif" />
</ZoneTemplate>
</asp:WebPartZone>

I need to hide it at run time on the basis of an indicator key from
database.
I have already searched in a lot of forums but of no help. Hope some
geeks
here could tell the solution.


Re: ASMX Web Services and XML Serialization How to Hide a Control in a WebPart at runtime

Ravichandhiran - MSFT

Please repost this on http://forums.asp.net.

Thanks,