Reputation: 15866
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
Reputation: 82136
Use Ajax.ActionLink instead and specify the LoadingElementId property.
Upvotes: 1