@@ -223,7 +223,7 @@ public GriddlySettings Add(GriddlyFilter filter)
223223 });
224224 }*/
225225
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 )
227227 {
228228 if ( enableOnSelection == null )
229229 enableOnSelection = ( action == GriddlyButtonAction . Ajax || action == GriddlyButtonAction . AjaxBulk || action == GriddlyButtonAction . Post ) ;
@@ -237,7 +237,8 @@ public GriddlySettings Button(Func<object, object> argumentTemplate, string capt
237237 EnableOnSelection = enableOnSelection . Value ,
238238 Target = target ,
239239 RowIds = rowIds ,
240- AppendRowIdsToUrl = appendRowIdsToUrl
240+ AppendRowIdsToUrl = appendRowIdsToUrl ,
241+ ConfirmMessage = confirmMessage
241242 } ;
242243
243244 if ( htmlAttributes != null )
@@ -246,7 +247,7 @@ public GriddlySettings Button(Func<object, object> argumentTemplate, string capt
246247 return Add ( button ) ;
247248 }
248249
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 )
250251 {
251252 if ( enableOnSelection == null )
252253 enableOnSelection = ( action == GriddlyButtonAction . Ajax || action == GriddlyButtonAction . AjaxBulk || action == GriddlyButtonAction . Post ) ;
@@ -260,7 +261,8 @@ public GriddlySettings Button(string argument, string caption, string icon = nul
260261 EnableOnSelection = enableOnSelection . Value ,
261262 Target = target ,
262263 RowIds = rowIds ,
263- AppendRowIdsToUrl = appendRowIdsToUrl
264+ AppendRowIdsToUrl = appendRowIdsToUrl ,
265+ ConfirmMessage = confirmMessage
264266 } ;
265267
266268 if ( htmlAttributes != null )
0 commit comments