i am tryin to show the image on the button click. the .cs file contains the database connections so when at the click of btn1 as the database searches i wanted it to display the image below. if i am goin wrong anywhere.and the file below is a .ascx file.
i have a web form in which i ve a button which will open a sliding pop up box(jquery) on click of it. In the same page i ve also a linkbutton for downloading files. Now the problem is first time wen i click that button it does nothing. (will not open popup box). Once i click on download button and then if i click that button it will open popup box along with download dialog box. Why is it happening so... is it because am using same event click for both these.
but download option is implemented in gridview_rowcommand()..
I have a webform that displays a panel through the ModalPopupExtender. This panel has a button that will start a lengthy process, so I have an UpdateProgress attached to the button in the panel.
How can I hide the panel (displayed through the ModalPopupExtender) so that I can then display UpdateProgress? Currently, Button_getName will display Step2Panel. Then clicking on Button2 will display UpdateProgress behind Step2Panel. I tried hiding the panel in Button2_Click with ModalPopupExtenderStep2.Hide, but it didn't do anything.
1. Button_openPanel will display panel Step2Panel through ModalPopupExtenderStep2.
2. Button_runThread (inside Step2Panel) will close Step2Panel and will then run a lengthy process server-side. This lengthy server-side process will cause the UpdateProgress control to be displayed.
Similar to the ModalPopup, I want to disable the whole page while the UpdateProgress control (with its animation gif) is running. Currently, the UpdateProgress is displayed, but I can click Button_openPanel (or anything else) which will cause the application to break.
Is this possible?
This is basically all the code. I stripped anything that was unneeded:
The code-behind is basically this:
Everything's working pretty good now, but I need to disable everything while the time-consuming process is running and UpdateProgress is displayed.
I was thinking of displaying the UpdateProgress control as a a sort of ModalPopup, but I'm not sure if it's possible. If not, then the alternative would be to disable Button_openPanel while the time-consuming process is running and UpdateProgress is displayed.
I have an export to excel functionality on my web application. WHen the user clicks the "Export to Excel" button, the file is created and it will ask the user to open it or save it to their local machine.
Since the file creation process takes a long time, I added the ajax update progress control. SO now, as soon as the user clicks the "Export to Excel" button, the progress bar image shows up, but after the file is created, I get the following error.
Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.
I know that, if we use Response.write in the code behind, we get this error. But I have to use Response.Write because I am presenting the user with a prompt to save or open the newly created file. Is there any other way to do this?
I have a wep page. Its consists of some controls along fileupload controls. My page Fully placed into UpdatePanel. when i press the submit all contols values and file upload file should be stored into back end.i used vs2008 framework 3.5.
Note: for fileUploading perpose i should write trigger with postback on submit button.while processing the submit button action i want to show some processing (progressing) controls like round rotation like..shall i place on ajax toolkit 4.0 instead of 3.5.
I have a formview in Edit Mode, within an update Panel all and these arewithin a Modal Pop Up extender.On clicking Formview Update button, I want an image to appear within the pop up.I have put the image within another panel1 and runat server.For some reason the image is not showing on clicking update button.