Latest News

  • Super Tower Defense 2 Game
    Sep 03, 2010

    New to the games section is Super Tower Defense 2. Featuring more maps, new units and bigger explosions.

  • Super Cards Online Multiplayer Game
    Aug 13, 2010

    Released today in the games section is the new Super Cards multiplayer card game. The aim of the game is to get rid of all your playing cards before your opposition.

  • Silverlight Online Chat
    Jul 24, 2010

    Today we launch the new Silverlight Live Chat application demonstrating the Liquid RichTextBox and Emoticon replacements.

  • New Super Shoot Em Up 2 Game
    Jun 29, 2010

    Added to the Games section is the new Super Shoot 'Em Up 2 game. Take control of your tank with the aim to defeat the computer controlled opponents. Features all new weapons, levels and Battle Mode!

  • Silverlight 4 Controls V5.3.2 Released
    Jun 28, 2010

    This release contains several fixes raised in the forums.

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.

 
 

Rate this page: 

1 Star 2 Star 3 Star 4 Star 5 Star
8 Ratings / 2.5 Average