K
Ken Fine
I'm making an administrative interface that lists records in a GridView.
For *each* row in the gridview, I would there to be two interface elements
in addition to some information associated with the record. Those interface
elements are a Button and a TextBox. The idea is that the administrator
using the interface will fill in an e-mail address and press the button if
they want to send that particular record to someone by e-mail. (I know how
to manage all of the e-mailing stuff.)
I know how to do a variation of this using a commandname on a simple link in
a repeater, but I have never done this with a textbox.
I've made many interfaces similar to what's described above using Classic
ASP.
How would I do this in a GridView? I imagine I'd build it using an
ItemTemplate. But I'm fuzzy on how to make the UI elements repeatable, how
to determine which row has been invoked, and how to grab the necessary
information out of the dynamically rendered/named UI elements or otherwise
pass the necessary info to the function I build to invoke the e-mailing
functionality.
Thanks,
-KF
For *each* row in the gridview, I would there to be two interface elements
in addition to some information associated with the record. Those interface
elements are a Button and a TextBox. The idea is that the administrator
using the interface will fill in an e-mail address and press the button if
they want to send that particular record to someone by e-mail. (I know how
to manage all of the e-mailing stuff.)
I know how to do a variation of this using a commandname on a simple link in
a repeater, but I have never done this with a textbox.
I've made many interfaces similar to what's described above using Classic
ASP.
How would I do this in a GridView? I imagine I'd build it using an
ItemTemplate. But I'm fuzzy on how to make the UI elements repeatable, how
to determine which row has been invoked, and how to grab the necessary
information out of the dynamically rendered/named UI elements or otherwise
pass the necessary info to the function I build to invoke the e-mailing
functionality.
Thanks,
-KF