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

Ajax an custom TCP comms

2 Answers 62 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 23 Feb 2012, 04:27 PM
Currently evaluating Ajax.
I have an application that has a RADBUTTON
When this is pressed the handler ...
1) Connects via TCP to a remote site.
2) Send a request down the socket.
3) Receives the response, seconds later.

4) Fills a gridview
GridView1.DataSource = myData

GridView1.DataBind()


How should I go about make this ajax using telerik manager.

Thanks
Jim






2 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 24 Feb 2012, 06:36 PM
Jim:

It's not exactly clear from your request, what type of AJAX functionality you want to implement in your RadGrid application. And, there's no indication of the layout of your webpage and RadGrid structure in order to know what RadGrid functionality needs ajaxifying here. Can you provide more specifics of what you're trying to accomplish?

It might be helpful for you to post your .aspx form markup and code behind using the 'Format Code Block' ( ) functionality for your post.

To get you started in the right direction, I'd suggest that you reference the Grid/Various DataSources demo that uses the RadAjaxManager to ajaxify each seperate grid instance.

I’d suggest that you take some time to reference  “The Ajax Papers: Part III – Why, When and What” written by Telerik Chief Evangelist: Todd Anglin. It provides a succinct overview of the benefits of AJAX and should answer some of your questions. And, be sure to reference the General ASP.NET AJAX Information page for a comprehensive list of AJAX related resources.

I hope this helps!
0
Jim
Top achievements
Rank 1
answered on 27 Feb 2012, 08:36 AM
Hello Support

I solved this by making the gridview a RadGrid
I also had an embedded video playing.
As was, when I pressed the submit button the video when blank and restarted when the query returned and the grid populated.
As it is now the video play seamlessly throughout the query.

Very impressive ..

Regards
Jim
Tags
Ajax
Asked by
Jim
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Jim
Top achievements
Rank 1
Share this question
or