or
<ConfirmTemplate>And I call my window from code behind like this:
<div class="rwDialogPopup radconfirm">
<div class="rwDialogText">
{1}
</div>
<div>
<a onclick="$find('{0}').close(true);" class="rwPopupButton" href="javascript:void(0);">
<span class="rwOuterSpan"><span class="rwInnerSpan">EWKA</span></span></a>
<a onclick="$find('{0}').close(false);" class="rwPopupButton" href="javascript:void(0);">
<span class="rwOuterSpan"><span class="rwInnerSpan">RECZNY</span></span></a>
</div>
</div>
</ConfirmTemplate>
ScriptManager.RegisterClientScriptBlock(Page, Me.GetType(), "NOSOURCE", "radconfirm('text for user?',confirmCallBackFnGoToHandMode)", True)Now the problem is that I need two different confirms on the same page one with 'EWKA' and 'RECZNY' and one with 'OK' and 'CANCEL' buttons
Select *, (Owner=@User) as mine where....but get a cast error (to avoid the first problem I have just calculated mine as 'true' in the datasource).
<telerik:GridTemplateColumn UniqueName="Resubmitted" DataField="Resubmitted" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="20%" > <HeaderTemplate> <asp:CheckBox id="headerChkbox" OnCheckedChanged="ToggleSelectedState" AutoPostBack="true" runat="server" Text=" resubmitted" ></asp:CheckBox> </HeaderTemplate> <EditItemTemplate> <asp:CheckBox id="chkResubmittedEdit" runat="server" Checked='<%# Bind("Resubmitted") %>'/> </EditItemTemplate> <ItemTemplate> <asp:CheckBox id="chkResubmittedItem" runat="server" Checked='<%# Eval("Resubmitted") %>' /> </ItemTemplate> </telerik:GridTemplateColumn>protected void ToggleSelectedState(object sender, EventArgs e) { CheckBox headerCheckBox = (sender as CheckBox); try { GridDataItemCollection items = (grdClaimHist.FindControl("grdClaimDetail") as RadGrid).MasterTableView.Items; foreach (GridDataItem dataItem in items) { CheckBox chk = (dataItem.FindControl("chkResubmittedEdit") as CheckBox); chk.Checked = headerCheckBox.Checked; } } catch (Exception ex) { //continue } }