1
Answer

Pop up a dialog box whenever a button is clicked

Photo of Kriti

Kriti

15y
4.3k
1

In my code behind (.ascx.cs)i have a function which retrieves a certain value
public int getCountValue
{
get { return updateCount; }
}
In my page (.ascx)
I have a save button..Whenever user clicks a save button,a dialog box should appear which should say that "you have updated "updateCount" no. of values.Now My problem is that
1.I am not able to pop up a dialog box whenever user clicks a save button
2.I am not able to retrieve the value of updateCount in the dialogbox(page)
My button is
<
asp:imagebutton id="btnSave" runat="server" ImageUrl="images/save.gif" ImageAlign="Bottom" ></asp:imagebutton>

Answers (1)

0
Photo of Bechir Bejaoui
NA 20.1k 5.3m 16y
May it be, anyway, my OS is XP
0
Photo of Sergey Sharikov
NA 3 0 16y

Hi,

It seems that signinficant performance slowdown can be seen only on Vista with Aero turned on. Note, that my machine should support Aero (quad 2.53, 4 Gb Ram, GeGorce 9800 GT), so the problem must be somewhere inside Aero..

Thanks,

Sergey.

 

0
Photo of Bechir Bejaoui
NA 20.1k 5.3m 16y

It's strange, I copied your code and try it and is perfect, there aren't any applications slow down!!
Is there any other code that interfers with this one? might it negatively affects it.