Posted 7 May 2026, 9:39 am EST
Hi,
Migrate from 2010v1 to 2025v2 399 in ASP.NET WebForms NET Framework 4.8.1.
Using C1GridView from C1.Web.Wijmo.Controls.48.dll
using C1.Web.Wijmo.Controls.C1GridView;
which differences
CallbackSettings-Action=“All”
vs
CallbackSettings-Action=“None”
In aspx:
<%--CallbackSettings-Action="All"--%>
<cc1:C1GridView ID="C1GridView1" EnableViewState="true"
runat="server"
AllowPaging="true" AllowSorting="true" ShowFilter="true"
AutogenerateColumns="False" ShowFooter="False" AllowColMoving="True"
Height="800px"
ScrollingSettings-Mode="Vertical"
ShowRowHeader="true" ShowGroupArea="true"
GroupAreaCaption="Drag and drop fields here"
CallbackSettings-Action="None"..
CallbackSettings-Action=“All” then Page.IsCallback value is true.
private bool IsAsyncPartialPostBack()
{
var scriptManager = ScriptManager.GetCurrent(Page);
return scriptManager != null && scriptManager.IsInAsyncPostBack;
}
private bool _pendingSingleGroupingWarning;
private void TraceRequestType(string context)
{
var isPostBack = IsPostBack;
var isAsyncPartial = IsAsyncPartialPostBack();
var isCallback = Page.IsCallback;
I set CallbackSettings-Action=“None” value.
CallbackSettings-Action=“None” value, and how-to Show alert in Callback page ??
protected void C1GridView1_ColumnGrouping(object sender, C1.Web.Wijmo.Controls.C1GridView.C1GridViewColumnGroupEventArgs e)
{
....
if (!string.IsNullOrEmpty(currentGrouped) &&
!string.IsNullOrEmpty(newGrouped) &&
!string.Equals(currentGrouped, newGrouped, StringComparison.Ordinal))
{
e.Cancel = true;
//ShowSingleGroupingWarning();
_pendingSingleGroupingWarning = true;
}
}
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
if (_pendingSingleGroupingWarning)
{
ShowSingleGroupingWarning();
}
}
any alternatives
CallbackSettings-Action=“All”
vs
CallbackSettings-Action=“None” ?
when use CallbackSettings-Action=“All” ?
when use CallbackSettings-Action=“None” ?
thanks !!!
