Вопрос

I am using Telerik in ASP.NET 4.0. Is there is any client side event which triggers while the edit or insert forms show?

I need to perform some action in that event.

Это было полезно?

Решение

For now I am using,

              Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(pageLoad);

Другие советы

Add the event handler for all RadGrid commands in your grid by doing the following:

<telerik:RadGrid ...
    <ClientSettings>
        <ClientEvents OnCommand="GridCommand" ...

Then figure out what command was called in this JavaScript function:

function GridCommand (sender, args) {
    if (args.get_commandName() === "Edit") {
        // do something!
    }
}
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top