Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Control Template

Reply
Thread Tools

Control Template

 
 
David
Guest
Posts: n/a
 
      04-11-2005
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


 
Reply With Quote
 
 
 
 
Riki
Guest
Posts: n/a
 
      04-12-2005
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:
http://msdn.microsoft.com/library/en...classtopic.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


 
Reply With Quote
 
 
 
 
David
Guest
Posts: n/a
 
      04-12-2005
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" <> wrote in message
news:...
> 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:
>

http://msdn.microsoft.com/library/en...classtopic.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
>
>



 
Reply With Quote
 
Riki
Guest
Posts: n/a
 
      04-15-2005
David wrote:
> 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.


Call UpdateDesignTimeHtml()

--

Riki


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
r H2 deduce deduce template argument of a template class inheritingfrom a non template base? nguillot C++ 5 03-08-2009 05:56 PM
How to use the template member function of a template in the memberfunction of another template class? Peng Yu C++ 3 10-26-2008 03:51 PM
template template arguments: expected a class template, got `Component<T1, T2, T3> gary.bernstein@gmail.com C++ 1 06-08-2007 07:10 AM
Re: A Newbie Question about template template template tom_usenet C++ 0 07-24-2003 12:06 PM
Re: A Newbie Question about template template template Chris Theis C++ 2 07-24-2003 09:42 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57