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

Javascript in Usercontrol for GridEditFormType.WebUserControl not recognized

2 Answers 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
nacharya
Top achievements
Rank 1
nacharya asked on 19 Aug 2010, 02:05 PM
Hi,
I am using usercontrol for eidting RadGrid. The javascripts written in usecontrol are not called but then I move these scripts in main page which has grid it works fine.
Why it does not work when I write then in UserControl

2 Answers, 1 is accepted

Sort by
0
nacharya
Top achievements
Rank 1
answered on 20 Aug 2010, 07:39 AM
Should I share sample code with you?
0
Rosen
Telerik team
answered on 20 Aug 2010, 11:55 AM
Hi Amber,

Are observing this behavior when the RadGrid is switched to edit mode during an Ajax request. If this is the case you should consider using RadAjax and wrap the javascript within a RadScriptBlock.

All the best,
Rosen
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
Grid
Asked by
nacharya
Top achievements
Rank 1
Answers by
nacharya
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or