Pass GridView Contents Via A Click Event To A Popup Window...
Posted on 2010-09-10
I've tried a fews ways to make this work, but have had no luck. Is it possible to use the showModalDialog() to open a new aspx page and pass it the values from a Gridview that resides on the parent page? I tried my hand with the dialogArguments Property bit I wasn't able to nail down the correct syntax to read the values to pass along. Any thoughts on how to accomplish this?
One idea of many that looked promising:
var ThisText = MainContent_gvwEmployeeCart.rows.cells.Column1;
window.showModalDialog("ICertifyDocumentTraining.aspx", ThisText, "dialogHeight:300px; dialogLeft:200px;");