Here is my client side code:
....
....
Here is my aspx.cs page:
protected void Page_Load(object sender, EventArgs e)
{
if(this.IsPostBack)
{
HtmlGenericControl mybodytag = new HtmlGenericControl();
//mybodytag = Page.FindControl("Map");
mybodytag.FindControl("Content2");
mybodytag.Attributes.Add("onload", "initialize()");
}
else
{
}
}
but it will not show the Google Map...
How can i call the script from the server in codebehind(in aspx.cs page).Please Give me the code.
Replies
Know the answer? Post it — somebody with the same question will find it here.