This is a migrated thread and some comments may be shown as answers.

Possible to set confirm dialog in code-behind?

1 Answer 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Iron
Iron
Iron
Al asked on 10 Dec 2014, 05:27 PM
Hi,
I am using this code in an auto-generated grid (there is a radwindow manager on my master page), but I still get no dialog?

protected void grdUsers_PreRender(object sender, EventArgs e)
{
    GridButtonColumn gbc = (GridButtonColumn)grdUsers.MasterTableView.GetColumn("AutoGeneratedDeleteColumn");
    gbc.ConfirmDialogType = GridConfirmDialogType.RadWindow;
    gbc.ConfirmText = "Continue to delete?";           
}

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 15 Dec 2014, 01:40 PM
Hello,

If you need to display a RadWindow confirm dialogue, you need to place a RadWindowManager control on the page. Give this a try and see how it goes.

Regards,
Maria Ilieva
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Al
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Maria Ilieva
Telerik team
Share this question
or