I've seen a similar post for this back in 2009, but it was not solved.
I'm receiving an error on the Grid / Editing with External Form demo when I created locally.
When I debug, I notice that placeHolder is still returning a NULL value:
private Control placeHolder;
private Control PlaceHolder
{
get
{
if (placeHolder == null)
{
placeHolder = this.Page.Master.FindControl("ContentPlaceHolder1");
}
return placeHolder;
}
Any ideas?
Thanks, Trisha
I'm receiving an error on the Grid / Editing with External Form demo when I created locally.
Object reference not set to an instance of an object
Line 88: protected void Page_Load(object sender, System.EventArgs e)
Line 89: {
Line 90: RadAjaxManager.GetCurrent(Page).AjaxSettings.AddAjaxSetting(RadGrid1, RadGrid1, PlaceHolder.FindControl("RadAjaxLoadingPanel1") as RadAjaxLoadingPanel);
Line 91: //store the clientID of the grid to reference it later on the client
Line 92: RadAjaxManager.GetCurrent(Page).ResponseScripts.Add(string.Format("window['gridId'] = '{0}';", RadGrid1.ClientID));
When I debug, I notice that placeHolder is still returning a NULL value:
private Control placeHolder;
private Control PlaceHolder
{
get
{
if (placeHolder == null)
{
placeHolder = this.Page.Master.FindControl("ContentPlaceHolder1");
}
return placeHolder;
}
Any ideas?
Thanks, Trisha