or
protected
void RadTreeView1_NodeCheck(object sender, RadTreeNodeEventArgs e)
{
RadTreeNode node = e.Node;
}
if (e.Node.Text == "Chief Complaints")
{
// not working
RadWindow1.VisibleOnPageLoad =
true;
}
}
protected
void b1_Click(object sender, EventArgs e)
{
//working
RadWindow1.VisibleOnPageLoad =
true;
}
Regards,
Srikanth.
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
|
[InvalidCastException: Unable to cast object of type 'ASP.masterpage_master' to type 'Telerik.Web.UI.GridTableView'.] Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +1719 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 |
| if (eventArgument.IndexOf("FireCommand") != -1) |
| { |
| GridGroupByExpression expression2; |
| GridGroupByExpression expression3; |
| string id = eventArgument.Split(new char[] { ';' })[0].Split(new char[] { ':' })[1]; |
| GridTableView tableView = (GridTableView) this.Page.FindControl(id); |
| ... |
| if (eventArgument.IndexOf("ReorderColumns") != -1) |
| { |
| GridTableView view = (GridTableView) this.Page.FindControl(eventArgument.Split(new char[] { ',' })[1]); |