Friday, March 1, 2019

I'm completely new to ASP.NET so please excuse my ignorance, am I able to show/hide certain HTML elements (like an image) from code behind after the page has loaded? For example, can I display an image after the user clicks a button and then hide that image after the click event completes?

The click event calls another function that generates a file, this can take about 15 seconds and I'd like to show/hide a loading image.

I just didnt know if this is something that is as simple as using elementId.Visible = true/false before the function call within the event and then again after the function finishes.

Do I need to use AJAX for this?

I'm completely new to ASP.NET so please excuse my ignorance, am I able to show/hide certain HTML elements (like an image) from code behind after the page has loaded? For example, can I display an image after the user clicks a button and then hide that image after the click event completes? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team