Posted 8 January 2026, 8:42 am EST
Hi,
Migrate from 2010v1 to 2025v2 399 in ASP.NET WebForms NET Framework 4.8.1.
Using C1GridView and C1Dialog from C1.Web.Wijmo.Controls.48.dll
I have imageButton for open Edit dialog:
<cc1:C1TemplateField >
<ItemTemplate>
<asp:ImageButton ID="ImageButtonEdit" runat="server" CommandName="EditDetraction" ImageUrl="~/App_Themes/Content/Imagenes/editing.gif" ></asp:ImageButton>
</ItemTemplate>
<ItemStyle Width="30px" />
</cc1:C1TemplateField>
</Columns>
</cc1:C1GridView>
<cc2:C1Dialog ID="EditConfigurationParamWindow" runat="server"
ClientIDMode="AutoID"
VisualStylePath="~/VisualStyles"
UseEmbeddedVisualStyles="False"
VisualStyle="CustomVisualStyle2"
StartPosition="Page"
VerticalAlign="Middle"
HorizontalAlign="Center"
Height="240px"
ImageHeight="0"
ImageWidth="0" AppendTo="body"
Localization-Close="Close" Localization-Maximize="Maximize" Localization-Minimize="Minimize" Localization-Pin="Pin" Localization-Refresh="Refresh" Localization-Toggle="Toggle"
MaintainVisibilityOnPostback="False" Show="blind" Modal="False" ShowOnLoad="False">
<Content>
The dialog not open.
RowCommand not is called. Early version 2010v1 C1Window all was OK.
protected void ConfigurationParamGrid_RowCommand(object sender, C1.Web.Wijmo.Controls.C1GridView.C1GridViewCommandEventArgs e)
{
// Version 2012v1
//var row = e.Row;
// TODO: NUEVO
var row = e.CommandSource as C1.Web.Wijmo.Controls.C1GridView.C1GridViewRow;
if (row == null) return;
if (row.RowType != C1.Web.Wijmo.Controls.C1GridView.C1GridViewRowType.DataRow) return;
//if (e.Row.RowType == C1GridViewRowType.DataRow)
//{
if (e.CommandName == "EditDetraction")
{
HiddenEditDetractionWindowClosedClientSide.Value = "false";
// Load Edit Detraction Window
lblParamName.Text = ((C1GridView)sender).DataKeys[row.RowIndex].Values["PARAM"].ToString().Trim();
txtParamValue.Text = ((C1GridView)sender).DataKeys[row.RowIndex].Values["VALUE"].ToString().Trim();
ViewState["ID"] = ((C1GridView)sender).DataKeys[row.RowIndex].Values["ID"].ToString();
// Show Window
System.Web.UI.ScriptManager.RegisterClientScriptBlock(this, this.GetType(), Guid.NewGuid().ToString(), "OpenEditParamWindow('" + EditConfigurationParamWindow.ClientID + "', '" + _textsShown[13].ToString() + "');", true);
}
//}
}
I view message in console Chrome:
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
WijmoControlsResource.axd?scripts=0;1;138;137;6;7;5;4;242;60;122;61;73;107;79;108;66;74;120;70;90;91;89;118;67;93;94;92;96;97;95;99;98;101;100;130;88;131;132;27;17;35;31&t=638990748872440533:28 [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
setup @ WijmoControlsResource.axd?scripts=
any suggestions ?
