Radcontrols controls of telerik (2)

Source: Internet
Author: User

Next we learnedRadwindow ControlIn this article, we will learn how to make it easier for developers to use common controls in projects.Radajax Control.

Radajax Is for ASP. NET Applications Program Without coding Ajax, make the first framework of callback. This patented click-and-go technology lets you do not need to make any changes to your application (Placement of callback panels, setting triggers, etc ). The best thing is that you don't need to write a line of JavaScript or server-side encoding. Main features :
    • AJAX can be used to automatically reply;
    • No need to modify the application;
    • No need to writeCode;
    • Supports standard and third-party controls;
    • Supports. Net 1.x and. NET 2.0 platforms;
    • Save the page lifecycle;
    • Continuity of table values;
    • The continuity of JavaScript encoding;
    • Support confirmation by ASP. NET customers;
    • Friendly search engine.

The following describes how to use the project instances.:

1. Add in HTML code

<Asp: scriptmanager id = "scriptmanager1" runat = "server"> </ASP: scriptmanager>

Or<Telerik: radscriptmanagerId = "radscriptmanager1" runat = "server"></Telerik: radscriptmanager>

2,Drag Control radajaxWidgetTo HTML page

<Telerik: radajaxmanager id = "radajaxmanager1" runat = "server" onajaxrequest = "radajaxmanager1_ajaxrequest">
<Ajaxsettings>
<Telerik: ajaxsetting ajaxcontrolid = "radajaxmanager1">
<Updatedcontrols>
<Telerik: ajaxupdatedcontrol controlid = "sgv1"/>
</Updatedcontrols>
</Telerik: ajaxsetting>
<Telerik: ajaxsetting ajaxcontrolid = "stvdept">
<Updatedcontrols>
<Telerik: ajaxupdatedcontrol controlid = "sgv1"/>
</Updatedcontrols>
</Telerik: ajaxsetting>
</Ajaxsettings>
</Telerik: radajaxmanager>

Note: Ajaxcontrolid: Set the control for executing the event. ajaxupdatedcontrol: the control that is refreshed after the event is executed.

3. Set a simple Ajax partial refresh through the above settings. Isn't it easy? If you still need a wait, just add the controlRadajaxloadingpanel and radajaxmanagerCooperation

.

<Telerik: radajaxloadingpanelId = "radajaxloadingpanel1" runat = "server">
</Telerik: radajaxloadingpanel>

The Code is as follows:

< Telerik: radajaxmanager Id = "radajaxmanager1" runat = "server" onajaxrequest = "radajaxmanager=ajaxrequest">
<Ajaxsettings>
<Telerik: ajaxsetting ajaxcontrolid = "radajaxmanager1">
<Updatedcontrols>
<Telerik: ajaxupdatedcontrol controlid = "sgv1"/>
</Updatedcontrols>
</Telerik: ajaxsetting>
<Telerik: ajaxsetting ajaxcontrolid = "stvdept">
<Updatedcontrols>
<Telerik: ajaxupdatedcontrol controlid = "sgv1" controlid ="Radajaxloadingpanel1 " />
</Updatedcontrols>
</Telerik: ajaxsetting>
</Ajaxsettings>
</ Telerik: radajaxmanager >

 4. Now, let's take a look at the runtime diagram:

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.