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

Calling a JQuery from Radgrid OnPrerender

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
RB
Top achievements
Rank 1
RB asked on 13 Oct 2014, 09:22 PM
I have a RadGrid, where on Click of "Add new record", I have a textboxe and a button. The text box acts like google search. On typing on it, it searches and displays records accordingly. For this, I have the following onPrerender
    
AjaxControlToolkit.ToolkitScriptManager.RegisterStartupScript(this, typeof(string), this._TbName.ClientID, "DelegateSearch();", true);

But the JQuery method DelegateSearch() is never called!

1 Answer, 1 is accepted

Sort by
0
Accepted
Radoslav
Telerik team
answered on 16 Oct 2014, 10:52 AM
Hi,

Could you please try using following code snippet and let me know if the issues still exists:
ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), " DelegateSearch", “DelegateSearch();”, true);

Looking forward for your reply.

Regards,
Radoslav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
RB
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or