Skip to content

Commit 9124c14

Browse files
authored
docs(ajaxManager): Fix some typos
1 parent 70834d8 commit 9124c14

File tree

1 file changed

+8
-8
lines changed
  • controls/ajaxmanager/client-side-programming

1 file changed

+8
-8
lines changed

controls/ajaxmanager/client-side-programming/overview.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ You can use the client-side API to execute your own JavaScript functions at cert
1919
>
2020
2121

22-
>note **RadAjax** for ASP.NET AJAX requires enclosing the server code blocks inside a **RadCodeBlock** control. More information is available here:[RadCodeBlock and RadScriptBlock]({%slug ajaxmanager/radcodeblock-and-radscriptblock%}).
22+
>note **RadAjax** for ASP.NET AJAX requires enclosing the server code blocks inside a **RadCodeBlock** control. More information is available here: [RadCodeBlock and RadScriptBlock]({%slug ajaxmanager/radcodeblock-and-radscriptblock%}).
2323
>
2424
2525

2626
## ajaxRequest(arguments)
2727

28-
There are cases in which you may want to trigger postback/ajax request to the server. In this cases you can use the**ajaxRequest(arguments)** function to initiate a generic AJAX request. When using this function, the event target defaults to the **RadAjaxPanel** or **RadAjaxManager** instance. The **arguments** are the parametersthat the control had used when it raised the request.
28+
There are cases in which you may want to trigger a postback/ajax request to the server. In these cases you can use the **ajaxRequest(arguments)** function to initiate a generic AJAX request. When using this function, the event target defaults to the **RadAjaxPanel** or **RadAjaxManager** instance. The **arguments** are the parameters that the control had used when it raised the request.
2929

3030
## AjaxRequest Event
3131

3232
When **ajaxRequest** function is called on the client it can be handled in the **AjaxRequest** event handler on the server, as shown in **Example 1**.
3333

34-
Example 1: Performe ajax request on the client and handle it on the server.
34+
Example 1: Perform an ajax request on the client and handle it on the server.
3535

3636
````JavaScript
3737
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
@@ -64,9 +64,9 @@ Example 1: Performe ajax request on the client and handle it on the server.
6464
````
6565

6666

67-
When an AJAX request is triggered using the **AjaxRequest** event from the client, the **RadAjaxManager**itself should be set as the AJAX initiator updating the corresponding control, as shown in **Example 2**.
67+
When an AJAX request is triggered using the **AjaxRequest** event from the client, the **RadAjaxManager** itself should be set as the AJAX initiator updating the corresponding control, as shown in **Example 2**.
6868

69-
Example 2:Setting RadAjaxManager as an ajax initiator which updates the TextBox control.
69+
Example 2: Setting RadAjaxManager as an ajax initiator which updates the TextBox control.
7070

7171
````ASPNET
7272
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
@@ -86,15 +86,15 @@ Example 2:Setting RadAjaxManager as an ajax initiator which updates the TextBox
8686

8787
## ajaxRequestWithTarget(eventTarget, eventArgument)
8888

89-
You can call the **ajaxRequestWithTarget(eventTarget, eventArgument)** function to simulate a postback/AJAX request send by another control (besides **RadAjaxManager** or **RadAjaxPanel**) with the specified UniqueID and specified arguments. The function’s execution can be handled by the corresponding event (i.e., Button_Click) on the server.
89+
You can call the **ajaxRequestWithTarget(eventTarget, eventArgument)** function to simulate a postback/AJAX request sent by another control (besides **RadAjaxManager** or **RadAjaxPanel**) with the specified UniqueID and specified arguments. The function’s execution can be handled by the corresponding event (i.e., Button_Click) on the server.
9090

9191

9292
| Parameters | Description |
9393
| ------ | ------ |
94-
| **eventTarget** |The control that should raise a postback event. You should always use the control's UniqueID..|
94+
| **eventTarget** |The control that should raise a postback event. You should always use the control's UniqueID.|
9595
| **eventArgument** |This is an optional argument for the event.|
9696

97-
>note **ajaxRequestWithTarget** is designed as a substitute of the standard **doPostBack function. Thus, you need to overridethe **RaisePostBackEvent** of the page in order to get its argument server-side.
97+
>note **ajaxRequestWithTarget** is designed as a substitute of the standard **doPostBack** function. Thus, you need to override the **RaisePostBackEvent** of the page in order to get its argument server-side.
9898
>
9999
100100

0 commit comments

Comments
 (0)