Click here to Skip to main content
15,904,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,
I have this gridview on my web page

A B C D
1 2 3 4
8 34 95 100
10 8 95 60
25 4 95
70 32 78 96
34 88 78 200
column "A" is a linkbutton
I want to show the user a pop up window if the second last row changes so for e.g if the user clicks on 8 then I will look for value in column "C" and the value in column C is 95 so I won't show the user a pop window if he clicks on 8, 10 and 25, but i will show him a pop up windows if he clciks on 70, 34, and 1.
Similarly if the user clicks on 70 then I won't show the user a pop up window if he clicks on 34, but if the user clicks on 1, 8, 10, 25 then I will show him a pop window saying that "The second last row changed"
How can I implement this logic in an elegant way.
Posted
Comments
yesotaso 19-May-11 12:34pm    
Maybe I am low on sugar or maybe this is too complex, I cant say...

1 solution

use ajax popup extender this will really help you.
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/modalpopup/modalpopup.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900