@@ -223,7 +223,7 @@ public GriddlySettings Add(GriddlyFilter filter)
223
223
});
224
224
}*/
225
225
226
- public GriddlySettings Button ( Func < object , object > argumentTemplate , string caption , string icon = null , GriddlyButtonAction action = GriddlyButtonAction . Navigate , bool ? enableOnSelection = null , string className = null , string target = null , string [ ] rowIds = null , object htmlAttributes = null , bool appendRowIdsToUrl = false )
226
+ public GriddlySettings Button ( Func < object , object > argumentTemplate , string caption , string icon = null , GriddlyButtonAction action = GriddlyButtonAction . Navigate , bool ? enableOnSelection = null , string className = null , string target = null , string [ ] rowIds = null , object htmlAttributes = null , bool appendRowIdsToUrl = false , string confirmMessage = null )
227
227
{
228
228
if ( enableOnSelection == null )
229
229
enableOnSelection = ( action == GriddlyButtonAction . Ajax || action == GriddlyButtonAction . AjaxBulk || action == GriddlyButtonAction . Post ) ;
@@ -237,7 +237,8 @@ public GriddlySettings Button(Func<object, object> argumentTemplate, string capt
237
237
EnableOnSelection = enableOnSelection . Value ,
238
238
Target = target ,
239
239
RowIds = rowIds ,
240
- AppendRowIdsToUrl = appendRowIdsToUrl
240
+ AppendRowIdsToUrl = appendRowIdsToUrl ,
241
+ ConfirmMessage = confirmMessage
241
242
} ;
242
243
243
244
if ( htmlAttributes != null )
@@ -246,7 +247,7 @@ public GriddlySettings Button(Func<object, object> argumentTemplate, string capt
246
247
return Add ( button ) ;
247
248
}
248
249
249
- public GriddlySettings Button ( string argument , string caption , string icon = null , GriddlyButtonAction action = GriddlyButtonAction . Navigate , bool ? enableOnSelection = null , string className = null , string target = null , string [ ] rowIds = null , object htmlAttributes = null , bool appendRowIdsToUrl = false )
250
+ public GriddlySettings Button ( string argument , string caption , string icon = null , GriddlyButtonAction action = GriddlyButtonAction . Navigate , bool ? enableOnSelection = null , string className = null , string target = null , string [ ] rowIds = null , object htmlAttributes = null , bool appendRowIdsToUrl = false , string confirmMessage = null )
250
251
{
251
252
if ( enableOnSelection == null )
252
253
enableOnSelection = ( action == GriddlyButtonAction . Ajax || action == GriddlyButtonAction . AjaxBulk || action == GriddlyButtonAction . Post ) ;
@@ -260,7 +261,8 @@ public GriddlySettings Button(string argument, string caption, string icon = nul
260
261
EnableOnSelection = enableOnSelection . Value ,
261
262
Target = target ,
262
263
RowIds = rowIds ,
263
- AppendRowIdsToUrl = appendRowIdsToUrl
264
+ AppendRowIdsToUrl = appendRowIdsToUrl ,
265
+ ConfirmMessage = confirmMessage
264
266
} ;
265
267
266
268
if ( htmlAttributes != null )
0 commit comments