using System.Web.UI.CssStyleCollection as a control property type 
Author Message
 using System.Web.UI.CssStyleCollection as a control property type

I'm trying to make a web custom control that has two properties of the
System.Web.UI.CssStyleCollection type, OverStyle and OffStyle. But when I
make the properties use this type, the property is grayed out in the
property editor in the IDE when I add the control to an aspx file in visual
studio .net. Is it possible for me to use this type for a property? I want a
property that will bring up the style editor in the IDE.

Thanks,
Chris



Tue, 21 Jun 2005 03:58:13 GMT  
 using System.Web.UI.CssStyleCollection as a control property type
You could try adding your own property to the control to address the
internal property of the control you added to your custom control.

Randy


Quote:
> I'm trying to make a web custom control that has two properties of the
> System.Web.UI.CssStyleCollection type, OverStyle and OffStyle. But when I
> make the properties use this type, the property is grayed out in the
> property editor in the IDE when I add the control to an aspx file in
visual
> studio .net. Is it possible for me to use this type for a property? I want
a
> property that will bring up the style editor in the IDE.

> Thanks,
> Chris



Tue, 21 Jun 2005 11:23:54 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. using System.Web.UI.CssStyleCollection as a control property type

2. password char in System.Web.UI.WebControls.TextBox

3. Exception from ReadResponse() in System.Web Services.Protocols.SoapHttpClientPro

4. WebException from ReadResponse() in System.Web Services.Protocols.SoapHttpClientProtocol

5. System.Runtime.InteropServices.VTableCallsNotSupportedException

6. Inherits System.Windows.Forms.Control...

7. <VBFixedString(16), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=16)> Public myString As String

8. DIRE NEED OF HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

9. Cannot convert type 'System.Web.UI.Page' to 'CrystalDecisions.Shared.TableLogOnInfos'

10. Web Browser Control....AxSHDocVw.AxWebBrowser

11. Web Browser Control....AxSHDocVw.AxWebBrowser

12. Using types in a different assembly given that the type may be used or not used

 

 
Powered by phpBB® Forum Software