In this article I will explain how to display a div PopUp on
GridView Row click event using Jquery.
Description-
If you are familiar with Jquery then this task much easier for you
but don’t worry if you are not in touch with jquery because here I am using a
simple jquery function to display PopUp on screen.
Jquery is JavaScript library and it has its own functions which
makes our task easy.
Popup will be display by
clicking Select button in a Grid which you can see in a template field on above
code. I called my Js function in this select Link.
Eval is used to bind data from selected Row and pass all detail as a parameter in Js function. openPopup is
my JS function which you can find in below section
After creation of Grid-View we
need to controls and data which will display as Popup.So I used a div as a
container. Filed name same as GridView Fields.
0 comments:
Post a Comment