
.RadWindow .rwPinButton, .RadWindow.rwInactiveWindow .rwPinButton:hover
{ background-position: -2px -502px; }
The above should be .RadWindow .rwPinButton:hover, .RadWindow.rwInactiveWindow .rwPinButton:hover
as currently it overrides the following class:
.RadWindow .rwPinButton {
background-position: -180px 0;
}
With Close button and others too:
.RadWindow .rwCloseButton, .RadWindow.rwInactiveWindow .rwCloseButton:hover
{
background-position: -2px -762px;
}
.RadWindow .rwCloseButton {
background-position: -90px 0;
}

Server Error in '/' Application.The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.Source Error: 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.Stack Trace: [HttpException (0x80004005): The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.] System.Web.UI.ControlCollection.RemoveAt(Int32 index) +12539142 Telerik.Web.UI.GridBatchEditingHelper.CreateColumnEditorsPanel() +314 Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +1632 Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +1116 System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +95 System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +222 Telerik.Web.UI.GridTableView.PerformSelect() +244 Telerik.Web.UI.GridTableView.DataBind() +441 Telerik.Web.UI.GridTableView.OnPreRender(EventArgs e) +53 System.Web.UI.Control.PreRenderRecursiveInternal() +113 System.Web.UI.Control.PreRenderRecursiveInternal() +222 System.Web.UI.Control.PreRenderRecursiveInternal() +222 System.Web.UI.Control.PreRenderRecursiveInternal() +222 System.Web.UI.Control.PreRenderRecursiveInternal() +222 System.Web.UI.Control.PreRenderRecursiveInternal() +222 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297Stack Trace:System.Web.HttpUnhandledException (0x80004005): Generata eccezione di tipo 'System.Web.HttpUnhandledException'. ---> System.Web.HttpException (0x80004005): The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. in System.Web.UI.ControlCollection.RemoveAt(Int32 index) in Telerik.Web.UI.GridBatchEditingHelper.CreateColumnEditorsPanel() in Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) in Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) in System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) in System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) in Telerik.Web.UI.GridTableView.PerformSelect() in Telerik.Web.UI.GridTableView.DataBind() in Telerik.Web.UI.GridTableView.OnPreRender(EventArgs e) in System.Web.UI.Control.PreRenderRecursiveInternal() in System.Web.UI.Control.PreRenderRecursiveInternal() in System.Web.UI.Control.PreRenderRecursiveInternal() in System.Web.UI.Control.PreRenderRecursiveInternal() in System.Web.UI.Control.PreRenderRecursiveInternal() in System.Web.UI.Control.PreRenderRecursiveInternal() in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) in System.Web.UI.Page.HandleError(Exception e) in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) in System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) in System.Web.UI.Page.ProcessRequest() in System.Web.UI.Page.ProcessRequest(HttpContext context) in ASP.admin_users_users_aspx.ProcessRequest(HttpContext context) in System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() in System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Exception Data (0 items):Base Exception Data (0 items):.rgMasterTable td { padding: 10px !important; }.rgExpandCol { padding: 2px !important; }protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack){
con.Open();
SqlCommand cmd = new SqlCommand("select * from MyTable", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
con.Close();
RadGrid1.DataSource = ds;
RadGrid1.DataBind();
}
}
And
protected void btnSave_Click(object sender, EventArgs e)
{
foreach (GridDataItem gvr in RadGrid1.Items)
{
TextBox UpdateID = gvr["ID"].FindControl("txtID") as TextBox;
TextBox UpdateName = gvr["Name"].FindControl("txtName") as TextBox;
TextBox UpdateDept = gvr["Dept"].FindControl("txtDept") as TextBox;
con.Open();
SqlCommand cmd = new SqlCommand("update MyTable set Name = '" + UpdateName.Text + "', Dept = '" + UpdateDept.Text + "'where ID = " + UpdateID.Text, con);
cmd.ExecuteNonQuery();
con.Close();
lblresult.Text = " Details Updated successfully";
}
Can you suggest me how can i resolve this?
Thanks,
Venkata.
}