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

[Solved] Javascript function with radscriptmanager

1 Answer 157 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anu
Top achievements
Rank 1
Anu asked on 15 May 2009, 11:59 AM
Hi,

In my application I am using radgrid in some of the forms. Hence, I have radscriptmanager in the masterpage.

I have also got asp.net controls for which I am trying to write  a javascript function which is executed on clientclick or for custom validation. Unfortunately when the javascript function is to be executed I get the error that ' Microsoft JScript Error: object expected'. ~(Even a simple function to display an alert message doesn't work). In order to double check I added another form in the application without using the masterpage. I can call my javascript function in this page without any problem.

Has anyone else come across such issues? If so, could you please advise me in the right direction?

many thanks,

Anu

1 Answer, 1 is accepted

Sort by
0
Anu
Top achievements
Rank 1
answered on 15 May 2009, 02:44 PM
Hi,

Figured out the solution. For those who are interested, the script block should be within a 'radscriptblock'

regards,

Anu
Tags
General Discussions
Asked by
Anu
Top achievements
Rank 1
Answers by
Anu
Top achievements
Rank 1
Share this question
or