0

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.

Kapil Khandelwal
  • 15,958
  • 2
  • 45
  • 52
AliRıza Adıyahşi
  • 15,658
  • 24
  • 115
  • 197

1 Answers1

1

Use Ajax.ActionLink instead and specify the LoadingElementId property.

James
  • 80,725
  • 18
  • 167
  • 237