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

Handlers to OnClientBlur

3 Answers 87 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Rameshkumar
Top achievements
Rank 1
Rameshkumar asked on 16 Dec 2013, 02:58 PM
Hi,

I wonder if we could add multiple handlers to the 'OnClientBlur' event, if yes, could you please reply me with a sample.

Thanks,
Ramesh

3 Answers, 1 is accepted

Sort by
0
Rameshkumar
Top achievements
Rank 1
answered on 16 Dec 2013, 03:11 PM
Found it.

http://www.telerik.com/help/aspnet-ajax/combobox-client-side-events.html

Thanks,
Rames
0
Rameshkumar
Top achievements
Rank 1
answered on 16 Dec 2013, 03:21 PM
Sorry.

Is there a way to do this in the server side?
0
Princy
Top achievements
Rank 2
answered on 17 Dec 2013, 03:46 AM
Hi Rameshkumar,

Please have a look into the following code snippet to add OnClientBlur event from the server side.

C#:
protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        RadComboBox1.OnClientBlur += "Blur";
    }
}

JavaScript:
<script type="text/javascript">
    function Blur(sender, args) {
        alert("Fired");
    }
</script>

Thanks,
Princy.
Tags
ComboBox
Asked by
Rameshkumar
Top achievements
Rank 1
Answers by
Rameshkumar
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or