I just wanted to find out if it's possible to disable image resizing in the Design mode of the Telerik:RadEditor?

I just wanted to find out if it's possible to disable image resizing in the Design mode of the Telerik:RadEditor?

<telerik:RadGrid ID="rgPartnerPhone" runat="server" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" DataSourceID="dsPartnerPhone" GridLines="None"Skin="Outlook" Width="100%" ShowGroupPanel="True" AutoGenerateColumns="False" PageSize="50" Height="570px" OnItemCreated="rgPartnerPhone_ItemCreated" OnPreRender="rgPartnerPhone_PreRender" ShowFooter="true"> <MasterTableView DataSourceID="dsPartnerPhone" DataKeyNames="ProductID, ProductName" PageSize="50" Width="100%" GroupLoadMode="Client" EnableNoRecordsTemplate="true"ShowHeadersWhenNoRecords="true" AllowFilteringByColumn="true" AllowMultiColumnSorting="true"EnableHeaderContextMenu="true"> <NoRecordsTemplate> <div style="color: Red; font-weight: bold"> No data found.</div> </NoRecordsTemplate> <Columns> <telerik:GridNumericColumn DataField="ProductID" DataType="System.Int32" HeaderText="ProductID" SortExpression="ProductID" UniqueName="ProductID" ShowFilterIcon="false" AutoPostBackOnFilter="false"CurrentFilterFunction="EqualTo" NumericType="Number" MaxLength="10" FilterControlWidth="60px"HeaderStyle-Width="80px" ReadOnly="true" Groupable="false" AllowFiltering="true"> </telerik:GridNumericColumn> <telerik:GridTemplateColumn DataField="ProductName" HeaderText="ProductName" AutoPostBackOnFilter="false"FilterDelay="4000" ShowFilterIcon="false" SortExpression="ProductName" UniqueName="ProductName"CurrentFilterFunction="Contains" ItemStyle-Wrap="false" FilterControlWidth="260px"HeaderStyle-Width="280px" Groupable="false" AllowFiltering="true"> <ItemTemplate> <asp:HyperLink ID="hlPName" runat="server" NavigateUrl='<%# Eval("CatalogPageLink")%>' Target="_blank" Text='<%# Eval("ProductName")%>' ToolTip="Get Catalog Details"></asp:HyperLink> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="EquipmentType" HeaderText="EquipmentType" SortExpression="EquipmentType"UniqueName="EquipmentType" ShowFilterIcon="false" FilterControlWidth="140px"HeaderStyle-Width="160px" ItemStyle-Wrap="false" AllowFiltering="true"> <FilterTemplate> <telerik:RadComboBox ID="rcbEquip" runat="server" DataSourceID="dsGetEquipment"AllowCustomText="true" DataTextField="EquipmentType" DataValueField="EquipmentTypeID"Width="135px" AppendDataBoundItems="true" EmptyMessage="-- All Equipment --" HighlightTemplatedItems="true" AutoPostBack="true" TabIndex="1" Skin="Outlook"OnClientDropDownOpening="OnClientDropDownOpening" OnClientDropDownClosing="OnClientDropDownClosing"OnClientSelectedIndexChanging="OnClientSelectedIndexChanging" OnClientBlur="OnClientBlur"OnClientDropDownClosed="onDropDownClosing"> <ItemTemplate> <div onclick="stopPropagation(event);"> <asp:CheckBox runat="server" ID="cbEquipment" Text='<%# DataBinder.Eval(Container, "Text") %>' /> </div> </ItemTemplate> </telerik:RadComboBox> <asp:SqlDataSource ID="dsEquipment" runat="server" ConnectionString="<%$ ConnectionStrings:connGait %>" SelectCommand="dbo.CTsp_PPT_GetEquipmentType" SelectCommandType="StoredProcedure" /> </FilterTemplate> </telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True" ReorderColumnsOnClient="True"EnableRowHoverStyle="true" EnablePostBackOnRowClick="false" AllowKeyboardNavigation="true"ColumnsReorderMethod="Reorder"> <Resizing AllowColumnResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" FrozenColumnsCount="0"> </Scrolling> <ClientMessages /> </ClientSettings> <PagerStyle Mode="NextPrevNumericAndAdvanced" /> </telerik:RadGrid>protected void btnFilters_Click(object sender, EventArgs e) { GridFilteringItem item = rgPartnerPhone.MasterTableView.GetItems(GridItemType.FilteringItem)[0] as GridFilteringItem; //for ComboBox string strEquip = string.Empty; RadComboBox comborcbEquip = (RadComboBox)item.FindControl("rcbEquip"); foreach (RadComboBoxItem ritem in comborcbEquip.Items) { CheckBox checkBox = (CheckBox)ritem.FindControl("cbEquipment"); if (checkBox.Checked) { strEquip += ritem.Text + ","; } } if (!string.IsNullOrEmpty(strEquip)) strEquip = strEquip.Remove(strEquip.Length - 1); string strProductID = (item["ProductID"].Controls[0] as RadNumericTextBox).Text; string strProductName = (item["ProductName"].Controls[0] as TextBox).Text; string strEquipType = strEquip; string expression = ""; if (strProductID != "") { if (expression != "") expression += " AND "; expression += "([ProductID] = \'" + strProductID + "\')"; } if (strProductName != "") { if (expression != "") expression += " AND "; expression += "([ProductName] LIKE \'%" + strProductName + "%\')"; } if (strEquipType != "") { string[] words = strEquipType.Split(','); foreach (string citem in words) { if (expression != "") expression += " AND "; expression += "([EquipmentType] LIKE \'%" + citem + "%\')"; } } rgPartnerPhone.MasterTableView.GetColumnSafe("ProductID").CurrentFilterValue = strProductID; rgPartnerPhone.MasterTableView.GetColumnSafe("ProductName").CurrentFilterValue = strProductName; rgPartnerPhone.MasterTableView.GetColumnSafe("EquipmentType").CurrentFilterValue = strEquipType; rgPartnerPhone.MasterTableView.FilterExpression = expression; rgPartnerPhone.MasterTableView.Rebind(); }hi
i want to use detail of uploaded file from RadAsyncUpload (like file size, content type and ...) before that i save it!
how can i do this?
Hi,
I'm trying to accomplish this: I need to hide my "Add own content" buttons when user enters Insert mode. To handle this, I subscribed ItemCommand event and check if CommandName is "InitInsert". If is, I set EventSource element visibility to false. That works great.
What's giving me hard time is EmptyDataTemplate. I placed my "Add own content" button in this template, but then after clicking it, layout changes, so of course setting visibility of this button to false have no meaning. I figured out, that I could handle LayoutCreated event and then find this button and hide it. There I encountered another problem: how to find out, whether I'm in Insert mode or not? InsertItem property of ListView is null, when I know that I entered insert mode. I looked through other properties and cannot seem to find out how to verify mode in which ListView is.
My question are:
1. How can I find out whether I'm in insert mode or not?
2. Is there any other way I can hide "add own content' button when in insert mode?
Thanks in advance,
Pako