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

Edit-in-place RadTextBox (not in grid) ?

3 Answers 68 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Glen Little
Top achievements
Rank 1
Glen Little asked on 03 Jul 2009, 10:08 PM
How can I best implement inplace editing with Telerik RadTextBox?

What I want is something like these:
Easy AJAX inline text edit  (see example)
Edit-in-place with jQuery

I've done this before with Prototype and other Javascript... but what is the best way with Telerik controls?

I have not seen any examples of this functionality in Telerik samples or docs.

Thanks,
Glen






3 Answers, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 08 Jul 2009, 02:59 PM
Hello Glen,

Indeed the functionality you request can be attained with our input controls using async requests (since they are ASP.NET server controls and do not support pure client-side instantiation).

For your convenience I created a simple demo which uses RadAjaxManager, asp Label and RadTexBox to perform inline editing with AJAX when the label is clicked. I am attaching the sample page to this forum thread for further reference.

Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Glen Little
Top achievements
Rank 1
answered on 08 Jul 2009, 05:17 PM
The example looks good.

However, when we try to use it on a page that uses a Master page, we assume that we need to use the RadAjaxManagerProxy, but when we do, there is no "AjaxRequest" event...

How would this be done?

Glen
0
Sebastian
Telerik team
answered on 09 Jul 2009, 08:46 AM
Hello Glen,

For this purpose you can take advantage of the GetCurrent static method of RadAjaxManager as demonstrated on this online demo of RadAjax:

http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/usercontrol/defaultcs.aspx

Thus you should be able to get reference to the ajax manager on the master page and wire its OnAjaxRequest event.

Greetings,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
Glen Little
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Glen Little
Top achievements
Rank 1
Share this question
or