Hi,
I am developing my map function. When i click the state on country map, it should return the state name. But it didn't. I've spending a lot of time google about it and try a lot of ways to solve it. But i keep getting the JS error:"null" is null or not an object. Is it because my dropdown list having this runat="server" attribute???I don't want to delete this attribute since i am using it in my code behind.
Here is piece of my code behind for the state ddl.
protected void ddlState_SelectedIndexChanged(object sender, EventArgs e)
{
DataTable table1 = GetTable();
Session["tbl"] = table1;
//DataTable tb = (DataTable)Session["tbl"];
string ct = "State='" + ddlState.SelectedItem.Text + "'";
DataTable newtb = table1.Clone();
DataRow[] d ...
Go to the complete details ...