Ajax PopupControlExtender in GridView
-
Hi All, I just want to get your opinion on what is the best approach in my gridview.
Sample Gridview Data.
| | UserID | First Name | Last Name | Last Loggedin|
|imgBtn | PHUserId1 | Jim | Carey | 1/16/2011 6:00AM |
|imgBtn | PHUserId2 | Andres | Boni | 1/27/2011 5:56 PM |
|imgBtn | PHUserId3 | George | Jungle | 1/2/2011 4:01 AM |
What i want to do is, in the 1st column of the GridView(grdUserList) control once i click the ImageButton control inside ItemTemplate of the gridview a popup(Ajax PopupExtender) will appear. The popup contains GridView (grdHistory) control inside of it which are the logged history of the user you select. Actually, the design and the output is already done. I get a popup everytime i click the ImageButton on the 1st column of the GridView(grdUserList) control. But the problem now is, how do i refresh the GridView(grdHistory) control in my popup everytime i select different user in my GridView(grdUserlist). I place Click event on the ImageButton but it fires only once. The next click on the ImageButton will no longer fires the Click event. I dont what to used the Ajax ModalPopupExtender for the reason of, i dont what the user to close a popup evertime they click the ImageButton in the 1st row. Thanks in advance
if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }
-
Hi All, I just want to get your opinion on what is the best approach in my gridview.
Sample Gridview Data.
| | UserID | First Name | Last Name | Last Loggedin|
|imgBtn | PHUserId1 | Jim | Carey | 1/16/2011 6:00AM |
|imgBtn | PHUserId2 | Andres | Boni | 1/27/2011 5:56 PM |
|imgBtn | PHUserId3 | George | Jungle | 1/2/2011 4:01 AM |
What i want to do is, in the 1st column of the GridView(grdUserList) control once i click the ImageButton control inside ItemTemplate of the gridview a popup(Ajax PopupExtender) will appear. The popup contains GridView (grdHistory) control inside of it which are the logged history of the user you select. Actually, the design and the output is already done. I get a popup everytime i click the ImageButton on the 1st column of the GridView(grdUserList) control. But the problem now is, how do i refresh the GridView(grdHistory) control in my popup everytime i select different user in my GridView(grdUserlist). I place Click event on the ImageButton but it fires only once. The next click on the ImageButton will no longer fires the Click event. I dont what to used the Ajax ModalPopupExtender for the reason of, i dont what the user to close a popup evertime they click the ImageButton in the 1st row. Thanks in advance
if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }
did you handle the
Commit
event?Help people,so poeple can help you.
-
did you handle the
Commit
event?Help people,so poeple can help you.
Hi, Thanks for the reply. Can you provide a little code on that? Because i don't know how
Commit
will affect the refreshing of GridView control. If I'm not mistaken
Commit
have one parameter that accept string type. Thanks for providing a little code. :) Thanks
if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }
-
Hi, Thanks for the reply. Can you provide a little code on that? Because i don't know how
Commit
will affect the refreshing of GridView control. If I'm not mistaken
Commit
have one parameter that accept string type. Thanks for providing a little code. :) Thanks
if(you type your code here) { Messagebox.Show("You help me a lot!"); } else { You help me = null; }
OK,Sir; Send me your code.
Help people,so poeple can help you.
-
OK,Sir; Send me your code.
Help people,so poeple can help you.