Skip to content

Commit 1ce5880

Browse files
authored
kb(ajaxmanager): fix malformed code blocks
1 parent 7f197f8 commit 1ce5880

File tree

1 file changed

+11
-11
lines changed
  • controls/ajaxmanager/server-side-programming

1 file changed

+11
-11
lines changed

controls/ajaxmanager/server-side-programming/methods.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,37 +33,37 @@ The AjaxManager and AjaxPanel both descend from the `RadAjaxControl`, which intr
3333

3434
````C#
3535
RadAjaxManager1.Alert("Please save your changes.");
36-
````
36+
````
3737

3838

3939
````VB
4040
RadAjaxManager1.Alert("Please save your changes.")
41-
````
41+
````
4242

4343

4444
* `FocusControl`—Places the focus on a specified control. `FocusControl()` takes a single parameter that can be the `ID` of the control to focus on or an object reference to the control to focus on.
4545

4646
````C#
4747
RadAjaxManager1.FocusControl(Button1);
48-
````
48+
````
4949

5050

5151
````VB
5252
RadAjaxManager1.FocusControl(Button1)
53-
````
53+
````
5454

5555
* `GetAjaxEventReference`—Produces client-side code that invokes the [`ajaxRequest()`]({%slug ajaxmanager/client-side-programming/overview%}) method.
5656

5757
````C#
5858
RadAjaxManager1.GetAjaxEventReference(Button1.ClientID);
5959
//... returns "$find("RadAjaxManager1").ajaxRequest("Button1");"
60-
````
60+
````
6161

6262

6363
````VB
6464
RadAjaxManager1.GetAjaxEventReference(Button1.ClientID)
6565
'... returns "$find("RadAjaxManager1").ajaxRequest("Button1");"
66-
````
66+
````
6767

6868
* `RaisePostBackEvent`—Triggers a server-side [`AjaxRequest`]({%slug ajaxmanager/server-side-programming/events/onajaxrequest%}) event and allows you to pass a single string parameter to the event. `AjaxRequest` can also be triggered by the client-side [`ajaxRequest()`]({%slug ajaxmanager/client-side-programming/overview%}) function.
6969

@@ -76,7 +76,7 @@ The AjaxManager and AjaxPanel both descend from the `RadAjaxControl`, which intr
7676
{
7777
Label1.Text = e.Argument;
7878
}
79-
````
79+
````
8080

8181

8282
````VB
@@ -86,22 +86,22 @@ The AjaxManager and AjaxPanel both descend from the `RadAjaxControl`, which intr
8686
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
8787
Label1.Text = e.Argument
8888
End Sub
89-
````
89+
````
9090

9191

9292
* `Redirect`—Navigates the browser to another web page. The method passes a single string parameter, which is the URL to navigate to.
9393

9494
````C#
9595
RadAjaxManager1.Redirect("https://www.telerik.com");
96-
````
96+
````
9797

9898

9999
````VB.NET
100100
RadAjaxManager1.Redirect("https://www.telerik.com")
101-
````
101+
````
102102

103103

104104
## See Also
105105

106106
* [AjaxManager Server-Side Properties]({%slug ajaxmanager/server-side-programming/properties%})
107-
* [AjaxUpdatedControl Properties]({%slug ajaxmanager/server-side-programming/ajaxupdatedcontrol-properties%})
107+
* [AjaxUpdatedControl Properties]({%slug ajaxmanager/server-side-programming/ajaxupdatedcontrol-properties%})

0 commit comments

Comments
 (0)