Ya logre solucionar mi problema, aca esta como lo solucione, no habia controlado si el objeto contenia un null asi que lo soluciones agregando un if que controlara eso:
Código PHP:
//try
//{
[B]if (this.Page.Request["Id_Agenda"] != null)[/B]
if (this.Page.Request["Id_Agenda"].ToString() != String.Empty)
if (this.hidID.Value.ToString() != this.Page.Request["Id_Agenda"].ToString())
this.CargarAgenda();