Is there a way when you the user presses the edit button in the grid to open a radwindow instead of the edit template? If an item mets a certain condition I need to handle the edit differently.
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if ((e.Item is GridEditFormItem && e.Item.IsInEditMode) && (m_status == -3)) //its draft open rad window
{
//Some how trigger radwindow to open here
/* what goes here to trigger an ajaxpostback javascript trigger
* for window open?
*/
}
else if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
{
//Populate the template form as usual
}
}
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if ((e.Item is GridEditFormItem && e.Item.IsInEditMode) && (m_status == -3)) //its draft open rad window
{
//Some how trigger radwindow to open here
/* what goes here to trigger an ajaxpostback javascript trigger
* for window open?
*/
}
else if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
{
//Populate the template form as usual
}
}