AliRıza Adıyahşi
AliRıza Adıyahşi

Reputation: 15866

Html.ActionLink and loading image display?

I m showing a jquery ui dilog with link below. dialog opens 2 seconds later and I want to show a loding image until it opens. How can I do this?

@Html.ActionLink("Ekle", "AddCustomer", "Customer", routeValues: null, htmlAttributes: new { id = "AddCustomerLink", data_dialog_title = "Yeni Müşteri" })

Thanks.

Upvotes: 0

Views: 1365

Answers (1)

James
James

Reputation: 82136

Use Ajax.ActionLink instead and specify the LoadingElementId property.

Upvotes: 1

Related Questions