This is a migrated thread and some comments may be shown as answers.

RadWindow(urgent)

1 Answer 38 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Luffy
Top achievements
Rank 1
Luffy asked on 03 Aug 2011, 05:12 PM
Hi there, I have an issue right now. I have a button(Radbutton1), & when i click on the button , i want it to alert me that i have successfully update. I have tried a few ways but it doesnt seems to work.

-  RadWindowManager1.RadAlert("Event's picture changed!", 200, 100, "Change Image", "callBackFn")

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 Aug 2011, 05:48 AM
Hello Sherman,

Try the following scenario to achieve your requirement.
JS:
function OnClientClicking(sender, args)
{
  var callBackFunction = Function.createDelegate(sender, function(argument)
   {
     if (argument)
       {
          this.click();
       }
  });
        var text = "Event's picture changed!";
        radconfirm(text, callBackFunction, 300, 100, null, "Title");
        args.set_cancel(true);
}
aspx:
<telerik:RadButton ID="btnToggle1"  runat="server" Text="CLick"
    OnClientClicking="OnClientClicking" ButtonType="StandardButton">
</telerik:RadButton>

Thanks,
Shinu.
Tags
Ajax
Asked by
Luffy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or