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

a couple of issues with JQuery

2 Answers 76 Views
Window
This is a migrated thread and some comments may be shown as answers.
yao wang
Top achievements
Rank 1
yao wang asked on 19 Aug 2010, 04:29 AM
Hi,

We have a couple of issues with JQuery.

1. I use JQuery to do data validation, it works ok. However after I add radAxajManager for UpdatePanel, JQuery data validation only works at the first time when page is firstly load.I believe the binding has been lost after UpdatePanel postback. Then I bind Jquery data Validation In pageLoad in javascript, the binding works and Jquery data validation has been invoked, however Jquery data validation does not work well. When data validation fails, it was supposed to stop page postback to server side, however it does postback to server side.

2. We use gridview to contain data, then we add JQuery right click plugin library to invoke contextmenu, Jquery right click works well except for the first time. When we first time right click the gridview, IE menu shows up instead of contextmenu. It seems the Jquery adding event does not work for the first time.

3. We start to use telerik Autosize function to size widget, it works ok except for many jQuery stopping working.

Please advise how to solve these conflicts between telerik controls and Jquery.

Thanks,

Yao

2 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 20 Aug 2010, 03:08 PM
Hello Yao,

How are you working with jQuery in you sites? Are you using $, if so, it doesn't work like that when using Telerik controls, since it references the ASP.NET Ajax implementation. Telerik exposes the jQuery library using $telerik.$. There is a blog post about how to get jQuery working like normal, by having it associated back to $, but I don't remember the link, but I'm sure you can find it on the Telerik blogs.

I hope that helps.
0
Fiko
Telerik team
answered on 24 Aug 2010, 11:28 AM
Hello Guys,

I believe that these links will be of help for you:

Regards,
Fiko
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
Window
Asked by
yao wang
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Fiko
Telerik team
Share this question
or