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

how disable / enable An Ajaxifeid Button From Client Side (JavaScript)

1 Answer 69 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Majid Darab
Top achievements
Rank 1
Majid Darab asked on 22 Jun 2010, 05:46 PM

hi my dear friends :

i have an AJAXIFIED button(btnsend) thas is disable by it's Property -> Enabled="False"

i have a TextBox Next To This Button And I Want Enable that Button When Users Type Something in That TextBox...

so i did this (JavaScript):


        function onkeyupontextbox() { 
        var btnSend = document.getElementById("btnSend"); 
        btnSend.disabled = false

}

but that button does not work after becomes enable...

what can i do about that?

(i am using radajaxmanager for ajaxify that button) (when i remove that button from RadAjaxmanager So EveryThing Is Ok , But I Want That Button In Ajaxify Mode)

thanks for your attention...


1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 23 Jun 2010, 10:04 AM
Hi,

Please refer to the following help topic which elaborates on executing javascript after ajax request.
I hope this helps.

Best wishes,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
Majid Darab
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or