Click here to Skip to main content
15,913,115 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Assign default value in edit mode formview Pin
bnbdnb19-Nov-07 17:40
bnbdnb19-Nov-07 17:40 
QuestionClient side post back Pin
solarthur0119-Nov-07 6:32
solarthur0119-Nov-07 6:32 
AnswerRe: Client side post back Pin
DigiOz Multimedia19-Nov-07 9:14
DigiOz Multimedia19-Nov-07 9:14 
AnswerRe: Client side post back Pin
pmarfleet19-Nov-07 9:15
pmarfleet19-Nov-07 9:15 
AnswerRe: Client side post back Pin
Vasudevan Deepak Kumar19-Nov-07 18:08
Vasudevan Deepak Kumar19-Nov-07 18:08 
Questionerror message in login page Pin
rocky81119-Nov-07 5:33
rocky81119-Nov-07 5:33 
AnswerRe: error message in login page Pin
Prateek G19-Nov-07 19:16
Prateek G19-Nov-07 19:16 
QuestionChange Gridview ImageButton and back Pin
GianFiume19-Nov-07 5:03
GianFiume19-Nov-07 5:03 
Hi all!
I have a gridview with an imagebutton inside a templatefield

<asp:TemplateField><ItemTemplate>
<asp:ImageButton ID="Riepilogo" runat="server" CommandArgument="<%#((GridViewRow)Container).RowIndex%>"
ImageUrl="~/img/search.png"
CommandName="riepilogo" ToolTip="Riepilogo impianto"
onClick="prova" OnClientClick="src='img/blue_loader.gif'; Visible='True'"/>
</ItemTemplate></asp:TemplateField>


When i click that imagebutton, the onclientclick event changes the standard
image to a "waiting" animated gif.

The code for CommandName is something like that:
...
Response.ClearHeaders();
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment;
filename=output.pdf");
Response.ContentType = myStuff.getAppSetting("ContentTypePDF");
Response.Flush();
Response.BinaryWrite(pdf);
Response.End();
...

This generates a PDF file that pops up for the download.

Now i have to change the image back to normal (not waiting). How do i
accomplish this?

Thank you in advance.


AnswerRe: Change Gridview ImageButton and back Pin
SABhatti19-Nov-07 9:46
SABhatti19-Nov-07 9:46 
GeneralRe: Change Gridview ImageButton and back Pin
GianFiume19-Nov-07 21:11
GianFiume19-Nov-07 21:11 
Questioni want the path where the file was saved Pin
jagan12319-Nov-07 3:42
jagan12319-Nov-07 3:42 
AnswerRe: i want the path where the file was saved Pin
pmarfleet19-Nov-07 4:24
pmarfleet19-Nov-07 4:24 
AnswerRe: i want the path where the file was saved Pin
Malcolm Smart19-Nov-07 12:19
Malcolm Smart19-Nov-07 12:19 
Questiondisable button on one webform from other Pin
rocky81119-Nov-07 3:34
rocky81119-Nov-07 3:34 
AnswerRe: disable button on one webform from other Pin
Michael Sync19-Nov-07 4:20
Michael Sync19-Nov-07 4:20 
GeneralRe: disable button on one webform from other Pin
rocky81119-Nov-07 4:56
rocky81119-Nov-07 4:56 
GeneralRe: disable button on one webform from other Pin
Michael Sync19-Nov-07 5:18
Michael Sync19-Nov-07 5:18 
GeneralRe: disable button on one webform from other Pin
rocky81119-Nov-07 5:27
rocky81119-Nov-07 5:27 
Questionhow can i send mails automatically in web application using C# code. Pin
Rajeshwar Code- Developer19-Nov-07 3:06
Rajeshwar Code- Developer19-Nov-07 3:06 
AnswerRe: how can i send mails automatically in web application using C# code. Pin
Michael Sync19-Nov-07 4:09
Michael Sync19-Nov-07 4:09 
GeneralRe: how can i send mails automatically in web application using C# code. Pin
Rajeshwar Code- Developer19-Nov-07 19:06
Rajeshwar Code- Developer19-Nov-07 19:06 
GeneralRe: how can i send mails automatically in web application using C# code. Pin
Michael Sync20-Nov-07 4:50
Michael Sync20-Nov-07 4:50 
GeneralRe: how can i send mails automatically in web application using C# code. Pin
Rajeshwar Code- Developer20-Nov-07 17:49
Rajeshwar Code- Developer20-Nov-07 17:49 
Questionsplit function in stored procedure Pin
Sonia Gupta19-Nov-07 3:01
Sonia Gupta19-Nov-07 3:01 
AnswerRe: split function in stored procedure Pin
Michael Sync19-Nov-07 4:04
Michael Sync19-Nov-07 4:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.