Latest News

  • Super Tower Defense Game
    Mar 10, 2010

    New to the games section is the new Super Tower Defense game. Defend your base from the ever advancing army of tanks, buggies...

  • New Rich Text Editor User Control
    Feb 19, 2010

    By popular request, here we present a re-usable User Control containing the Liquid RichTextBox along with the most common formatting functions included.

  • Silverlight 3 Controls V5.2.7 Released
    Feb 19, 2010

    This release includes several fixes for issues raised in the forum. The main improvement is to the RichTextBox which now provides access and methods to the document elements allowing...

  • Super Shoot Em Up Game
    Feb 04, 2010

    Added to the games section is the new Super Shoot 'Em Up game. Take control of a tank with your aim being to blow up your opposing tanks and collect all the powerups.

  • Silverlight 3 Controls V5.2.6 Released
    Feb 04, 2010

    This release includes some minor fixes for several forum posts. Please see the notes on the download page for full details on what has changed.

harrisonw
harrisonw
More Custom Button Questions Posted: Jan 08, 2010
 

Dan,

So far, I love the liquid.popup. I'm using it to display images from a dropdown and it's working wonderfully.


I've been asked if I can create a "Next" button on the box to then move to the next image in the series. So far, I've had issues creating the custom buttons. I tried your code:


myDialog.CreateButton(DialogButtons.Custom, "My Button", "myButton", true)


But I get an error, "Name 'DialogButtons' is not declared.


The next issue is, I'm not sure where to put the code to validate the Next button. I see where you talked about putting it in the Closed event, but I would think that kind of defeats my purpose?


Any help here would be greatly appreciated!!

 
 
dan
dan
RE: More Custom Button Questions Posted: Jan 25, 2010
 

Hi,


By error do you mean a compilation error or runtime?  If its a compilation error have you included:


using Liquid;


In terms of where to put this code you should put it in the constructor of your Silverlight page public Page()


Thanks!

 
 
harrisonw
harrisonw
RE: More Custom Button Questions Posted: Feb 03, 2010
 

Hey Dan,

Yes I was incluing the "using Liquid;" line of code. I did find a way around it though, so no worries.