|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Control TemplateHi,
How can i do to make a button under properties panel, to load some file as template style of my control like Dundas Gauge? Thanks David wrote:
> Hi, Take a look at DesignerVerbs:> How can i do to make a button under properties panel, to load some > file as template style of my control like Dundas Gauge? > Thanks http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemcomponentmodeldesigndesignerverbclasstopic.asp In the verb's event handler, you can show whatever Windows forms or dialog boxes you want. In your case, you can load some file. -- Riki Thank you!
And.. how to refresh the control after file loaded?, because when apply the style the properties (in properties panel) are setted but the control still without styles. "Riki" <riki@nospam.com> wrote in message http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemcomponentmodeldesigndesignerverbclasstopic.aspnews:ehWSQCzPFHA.3628@TK2MSFTNGP15.phx.gbl... > David wrote: > > Hi, > > How can i do to make a button under properties panel, to load some > > file as template style of my control like Dundas Gauge? > > Thanks > > Take a look at DesignerVerbs: > Show quoteHide quote > > In the verb's event handler, you can show whatever Windows > forms or dialog boxes you want. In your case, you can load some > file. > > -- > > Riki > > David wrote:
> Thank you! Call UpdateDesignTimeHtml()> > And.. how to refresh the control after file loaded?, because when > apply the > style the properties (in properties panel) are setted but the control > still without styles. -- Riki
IE Web Controls - discontinued ???
custom validator and button events Re: At which life cycle should EnsureChildControls() be called? Dynamically resize a DropDownList in a grid when dropped down How to call javascript when click update command(it Edit command c Cant Render Page Control with Visual Studio 2005 Beta set dropdownlist value in datalist Custom Templated Control not rendering asp.net controls correctly Enter Key form with many UserControls IE6 Style Buttons |
|||||||||||||||||||||||