Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Open RadWindow when click on RadButton

$
0
0

Hello... In most cases, our delete buttons are ImageButtons.  We wire them up as follows in the code behind

Delete.Attributes.Add("onClick", "return confirm(\'" + TextFromResxFile + "\')");

We have a couple delete buttons that are actual Buttons for text and wired them up the same.  However, there is some slight difference between the rendering of an asp:Button and a telerik:RadButton, so we looked to standardize on the Radbutton.

However, we are running into the similar issues as in this post.   The confirm window opens, but the cancel still triggers the click event.  I looked at the sample article that Marin provided, however, due to multi languages and the button text coming from a resx file, we are looking to keep this in the code behind and not client side.  Is this possible or do we need to fall back to the asp button in these instances?

Thanks in advance


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>