In version 1125, in FireFox - if you add a border to an image, then re-open the image properties window, the border width input control contains extra and confusing text.
To reproduce:
Thanks,
John Brownell
Pyron Technologies
I just created a RadContextMenu that has the following items:
Insert
Edit
Delete
the menu has the following properties:
- server side event handler as a handler for the context menu item click event.
-Enable postback.
becuase i created this menu as a context menu for a RadGrid Control I need to create a client side Confirm message when the user click the delete item.
I do the following in the page load event
GridMenu.Items[2].Attributes.Add(
"onclick","return ConfirmDelete()");
where GridMenu is my RadContextMenu ID.
this is the client side java script code for the ConfirmDelete() function
function ConfirmDelete()
{
result=confirm(
"Delete?");
if (result==true)
return true;
else
return false;
}
the senario: when I click the Delete menu item it really pop up the Confirm message but
either i clicked Ok or Cancel It do postback
what really I need do the postback only when the user click ok,if not no postback occurs.
so please provide me with the help
Note: i'm using RadControls for Asp.net AJAX 2008-Q2.
| public class GridEntity { |
| public bool Checked; |
| public CartItem entity; |
| } |
| <telerik:RadGrid ID="CartGrid" runat="server" |
| GridLines="None" |
| Skin="Vista" |
| EnableViewState="true" |
| OnItemCommand="CartGrid_OnItemCommand"> |
| <HeaderContextMenu EnableTheming="True"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </HeaderContextMenu> |
| <MasterTableView AutoGenerateColumns="false" |
| DataKeyNames="entity.PartNumber,entity.ItemLegalName" |
| ClientDataKeyNames="entity.PartNumber,entity.ItemLegalName"> |
| <Columns> |
| <telerik:GridCheckBoxColumn DataField="Checked" HeaderText="Selected" > |
| <HeaderStyle Width="10%" /> |
| </telerik:GridCheckBoxColumn> |
| <telerik:GridBoundColumn DataField="entity.PartNumber" HeaderText="Kit #"> |
| <HeaderStyle Width="20%" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="entity.ItemLegalName" HeaderText="Kit Name"> |
| <HeaderStyle Width="55%" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridButtonColumn ButtonType="PushButton" CommandName="removeFromCart" CommandArgument="0" Text="remove item" ConfirmDialogType="RadWindow"> |
| <HeaderStyle Width="15%" /> |
| </telerik:GridButtonColumn> |
| </Columns> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| </MasterTableView> |
| <FilterMenu EnableTheming="True"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </FilterMenu> |
| </telerik:RadGrid> |
| using (CartServiceClient client = new CartServiceClient()) |
| { |
| Cart cart = client.GetCart(UserEntityID); |
| var entityList = from item in cart.CartItems |
| select new GridItem { |
| Checked = false, |
| entity = item |
| }; |
| CartGrid.DataSource = entityList; |
| CartGrid.DataBind(); |
| } |
HeaderText="test" Visible="true">
<ItemTemplate>
<asp:CheckBox AutoPostBack="true" ID="testc" OnCheckedChanged="testc_CheckedChanged"
runat="server" Checked='<%#Eval("testt") %>' />
</ItemTemplate>
<EditItemTemplate>
<asp:CheckBox ID="testxx" AutoPostBack="false" runat="server" Checked='<%#Eval("test") %>' /></EditItemTemplate>
</radG:GridTemplateColumn>
The problem is that when the Tab with the RadGrid is loaded all values of the CheckBoxes are set to FALSE and the event

| <asp:UpdatePanel ID="UpdatePanelDetail" runat="server"> <ContentTemplate> <telerik:RadEditor ID="redtContentText" runat="server" Width="690px" Height="590px" |
| Skin="Vista" ToolsFile="~/RadControls/RadEditorTools.xml" EnableViewState="true"> |
| <CssFiles> |
| <telerik:EditorCssFile Value="~/RadControls/MCWFEditorSkin/editorstyle.css" /> |
| </CssFiles> |
| <Tools> |
| <telerik:EditorToolGroup > |
| <telerik:EditorTool Name="FlvVideoManager" /> |
| </telerik:EditorToolGroup> |
| </Tools> |
| </telerik:RadEditor> |
| <script type="text/javascript"> |
| Telerik.Web.UI.Editor.CommandList["FlvVideoManager"] = function(commandName, editor, args) |
| { |
| var myCallbackFunction = function(sender, args) |
| { |
| editor.pasteHtml(String.format("<a href={0}>{1}</a> ", args.href, args.text)) |
| } |
| }; |
| </script> |
| </ContentTemplate> </asp:UpdatePanel> |
| <link href="../RadControls/MCWFEditorSkin/editorcustomtools.css" rel="stylesheet" type="text/css" /> |
| The editorcustomtools.css contain: |
| .rade_toolbar.Vista .FlvVideoManager |
| { |
| background-image: url('../../Flvplugin/FLVIcon.gif'); |
| background-repeat: no-repeat; |
| } |
