Hi ever body
I have just created a gridview and on click event i want to open information at bottom existing iframe. I have follow this code:
javascript.
function showMessage(id)
{
var ids = id;
//frames['showPage'].location.href= 'welcome.aspx?m essageid=' + id;
document.getEle mentById('myMes sage').location .href=id;
}
C# Code
e.Row.Cells[1].Attributes.Add ("onclick", "showMessage('r eadMsg.aspx?mes sageid=" + e.Row.Cells[1].Text.ToString( ) + "')");
it working 100% on IE but Fire fox it does not do any thing and i got an error
document.getEle mentById("myMes sage") has no properties
have any idea about this Thanks
I have just created a gridview and on click event i want to open information at bottom existing iframe. I have follow this code:
javascript.
function showMessage(id)
{
var ids = id;
//frames['showPage'].location.href= 'welcome.aspx?m essageid=' + id;
document.getEle mentById('myMes sage').location .href=id;
}
C# Code
e.Row.Cells[1].Attributes.Add ("onclick", "showMessage('r eadMsg.aspx?mes sageid=" + e.Row.Cells[1].Text.ToString( ) + "')");
it working 100% on IE but Fire fox it does not do any thing and i got an error
document.getEle mentById("myMes sage") has no properties
have any idea about this Thanks