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

User control (With Javascript) inside RadGrid

2 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sadaf
Top achievements
Rank 1
Sadaf asked on 04 Jun 2013, 06:15 PM
HI,
I have a user control inside of a Radgrid. This control has javascript which works fine when a single OR More than one control is placed on a  page just fine. But when I add this control  to a grid. It cant find the function.

N.B: Radgrid is ajax enabled with radajaxproxy and everything else works just fine..Any ideas..?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Sadaf
Top achievements
Rank 1
answered on 04 Jun 2013, 06:48 PM
OK. I have put the java script file in the master page and now it works most of the time. However, certain checkboxes still do not work while in the grid but multiple user controls on a regular page still work OK.
0
Sadaf
Top achievements
Rank 1
answered on 04 Jun 2013, 09:22 PM
Fixed. Had to use Control ClientIDMode="AutoID" in controls as they are part of a bound grid now.
Tags
Grid
Asked by
Sadaf
Top achievements
Rank 1
Answers by
Sadaf
Top achievements
Rank 1
Share this question
or