Pass multiple values from datagrid hyperlink column
-
in datagrid hyperlink column i want to pass first coulmn value and last coulmn values how it psosible? in hyper link column i use this to pass value but it is not working.... DataNavigateUrlFormatString="javascript:openwindow('Candidatedetails.aspx?id={0}&istatus={2}');" this is my code it show error urgent All I ever wanted is what others have.... CrazySanker -- modified at 3:36 Tuesday 7th February, 2006
-
in datagrid hyperlink column i want to pass first coulmn value and last coulmn values how it psosible? in hyper link column i use this to pass value but it is not working.... DataNavigateUrlFormatString="javascript:openwindow('Candidatedetails.aspx?id={0}&istatus={2}');" this is my code it show error urgent All I ever wanted is what others have.... CrazySanker -- modified at 3:36 Tuesday 7th February, 2006
question: Do you have to use a HyperLinkColumn or can you use a label? Here is my suggestion: You have a datagrid right? Please note: Extra spaces were added so this shows up correctly. <--- Control ---------> <-----------------------> <------- JavaScript ---->
function sendMe(Item) { var windowParameter1 = Item.getAttribute("FirstValue"); var windowParameter2 = Item.getAttribute("SecondValue"); window.open("Candidatedetails.aspx?id=" + windowParameter1 + "&istatus=" + windowParameter2); }
<-----------------------> Please let me know if this helps Will I hate users. Not all of them, just the ones who talk.CP member: Al Einstien