On Apr 11, 2:18 am, time is life
<timeisl...@dis cussions.micros oft.comwrote:
you can just use:
Response.Write( "<script language='javas cript'>showAddr ess();</script>");
or use ajax which is more complex
--
sharepoint developper
"moni" wrote:
Hi,
I wanted to call a javascript function
function showAddress(add ress)
{
.....
}
from the aspx.cs file from the Gridview_RowCom mand function
protected void GridView1_RowCo mmand(object sender,
GridViewCommand EventArgs e)
{
......
//got a string value a
//showAddress(a);
}
How would i be able to call the function from here.
Any help will be appreciated.
Thanks alot...- Hide quoted text -
- Show quoted text -
Hi..
This is not displaying the map, I am creating using Javascript.
I am calling it this way:
Response.Write( "<script
language='javas cript'>showAddr ess(getAddress) ;</script>");
where, getAddress is the comma-seperated Address string.
I am trying to use google maps.
If I call the javascript function from my aspx file I use:
<input type="text" id="addresstext " value="Huntingt on Avenue,
Boston, MA" name="yourName" style="width: 287px" />
<input type="button" id="addressclic k" value="Display Map"
onclick="showAd dress(addresste xt.value)" /><br />
and it works. But using the Response.Write from the aspx.cs file it
does not display it. Am I passing the value wrongly??
Thx