Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
63 views
I have this post int he OpenAccess forums. I was wondering if anyone in the RadControls forum had any sample code for me to take a look at:

http://www.telerik.com/community/forums/orm/development/image-upload.aspx#1875194

Thanks,
Duncan
Duncan
Top achievements
Rank 2
 answered on 17 Nov 2011
1 answer
112 views
Hi,
We want to have a filter image icon in the header column. On click of the image icon, the filter row available below the grid header (please see the screen shot attached) should be made visible and hidden.
 I have set AllowFiltering= true for all the columns in the grid. and all the filter controls appear below the header.  Please help us in implementing this . We want this row to be hidden, visible on alternate click on the image icon which will be provided in the header of the grid.
Looking forward for the reply at the earliest.

Thanks,
Sudha,
Pavlina
Telerik team
 answered on 17 Nov 2011
1 answer
114 views
Greetings,

I have been using RAD Editor for a year with out any issues. Recently I noticed, Editor is inserting additional line breaks when saving the data in html format.

Has any one seen this issue? Please guideme in right direction to resolve this issue.

Thanks
Atchuta
Rumen
Telerik team
 answered on 17 Nov 2011
2 answers
150 views
This is my combobox with Custom validator
 <telerik:RadComboBox  ID="cbSecurityLevel" Skin="Vista" runat="server" ></telerik:RadComboBox>
                                   <asp:CustomValidator ControlToValidate="cbSecurityLevel" Display="Dynamic" CssClass="validator"
                                    OnServerValidate="cbSecurityLevel_ServerValidate" ID="cvSecurityLevel" runat="server"/>

I fill dynamically :
   protected void Page_Load(object sender, EventArgs e)
        {

            if (Page.IsPostBack) return;

            LoadSettings();
            FillComboBox();           
        }

 private void FillComboBox()
        {
    cbSecurityLevel.EmptyMessage = _resources.GetString(cbSecurityLevel.ID, new CultureInfo(_culture));
            cbSecurityLevel.DataSource = _organization.GetSecurityLevels();
            cbSecurityLevel.DataTextField = "Name";
            cbSecurityLevel.DataValueField = "Id";
            cbSecurityLevel.DataBind();
        }


This is Custom validator: (This does not Fire)
 protected void cbSecurityLevel_ServerValidate(object sender, ServerValidateEventArgs e)
        {
            e.IsValid = cbSecurityLevel.SelectedIndex > 0;
        }


Thanks!
July
Top achievements
Rank 2
 answered on 17 Nov 2011
14 answers
358 views
Hi,

i'm using the portal example, but is there code how to demonstrate
a DockWindow Close(hide?) confirmation dialog (client side?).

Thanx.
Slav
Telerik team
 answered on 17 Nov 2011
5 answers
138 views
Is there an newer/easier way to preserve the expand state of detailtables after rebind?

I've seen the below example, but I need an example in vb.net and the conversion does not work. 

http://www.telerik.com/community/code-library/aspnet-ajax/grid/retain-expanded-selected-state-in-hierarchy-on-rebind.aspx
Mira
Telerik team
 answered on 17 Nov 2011
3 answers
90 views
Hi Guys,

I'm trying to add a RadMenu to the RadEditors Tools. I want it to fit into an EditorToolGroup like the rest of the tools but noticed that it only accepts items that are from base class EditorToolBase.

Is it possible to have a control inherit from this to be able to add it to an EditorToolGroup?

In fact am I even on the right track or is there another way to do this?

Thanks!
Rumen
Telerik team
 answered on 17 Nov 2011
3 answers
75 views

Hello,

We currently have Rad editor installed on our instance of MOSS 2007, publishing protal to allow users to update content on web pages, this works fine but the editor doesn't seem to be WISYWIG, it doesn't seem to be using the CSS files associated with our website, but when the page is redered in normal website viewing mode - the styles are picked up fine.

Is there a way to configure the Rad Editor within Sharepoint to pick up the CSS file(s) being used on the website?

We are currently using the following code within our Master Pages / Page layouts:

<%@ Register TagPrefix="telerik" Namespace="Telerik.SharePoint.FieldEditor" 
Assembly="RadEditorSharePoint, Version=5.3.2.0, culture=neutral, 
PublicKeyToken=1f131a624888eeed" %>

<telerik:RadHtmlField 
id="Content" DisplayWidth="1000px" FieldName="PublishingPageContent" 
runat="server" 
AllowSpecialTags="true"></telerik:RadHtmlField>

Your help would be greatly appreciated.

Thanks
Hefin Jones
Rumen
Telerik team
 answered on 17 Nov 2011
5 answers
153 views
hi dear telerik admin : 
i have two GridTemplateColumn in my RadGrid That Regular filtering on them has error and it seems we should change them! 
those GridTemplateColumns are like below : 
<telerik:GridTemplateColumn FilterControlAltText="Filter Online column" HeaderText="Online"
    UniqueName="Online">
    <ItemTemplate>
        <asp:CheckBox ID="chkOnline" runat="server" Checked='<%# CheckForOnline(Eval("ID")) %>'
            Enabled="False" />
    </ItemTemplate>
    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px" />
</telerik:GridTemplateColumn>

and the other one :

<telerik:GridTemplateColumn FilterControlAltText="Filter FileSize column" HeaderText="FileSize"
    UniqueName="FileSize" Visible="False">
    <ItemTemplate>
        <asp:Label ID="lblFileSize" runat="server" Text='<%# Eval("FileSize") %>'></asp:Label>
    </ItemTemplate>
    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn FilterControlAltText="Filter FileSizeChange column" HeaderText="FileSize"
    UniqueName="FileSizeChange">
    <ItemTemplate>
        <asp:Label ID="lblFileSizeChange" runat="server" Text='<%# ChangeFileSize(Eval("FileSize")) %>'></asp:Label>
    </ItemTemplate>
    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</telerik:GridTemplateColumn>
as you seeFileSize TemplateColumn is disable and i am using FileSizeChange instead! 
FileSize string is like (213435) -> this number shows us bytes!
and FileSizeChange is like (231 MB)!
how can i write filtering for both Online and FileSizeChange ? 

thanks in advance
Pavlina
Telerik team
 answered on 17 Nov 2011
5 answers
113 views
Hi,
I am creating a Grid dynamically and i am using grid.columns.Clear() to clear the columns before adding the new columns to the grid.But that causes the following error,and i have tried to set GridTableView.EnableColumnsViewState to False but that does not work.
Please give the solution for this problem.

[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
   System.Collections.ArrayList.get_Item(Int32 index) +2776221
   Telerik.WebControls.GridColumnCollection.x107df2cdc54f1163() +635
   Telerik.WebControls.GridTableView.x2f42edb67de223fa() +2342
   Telerik.WebControls.RadGrid.xecc39c6829764c81(ArrayList x968349690f5f2dca, GridTableView x97cb49e21273638b) +73
   Telerik.WebControls.RadGrid.SaveViewState() +439
   System.Web.UI.Control.SaveViewStateRecursive() +137
   System.Web.UI.Control.SaveViewStateRecursive() +254
   System.Web.UI.Control.SaveViewStateRecursive() +254
   System.Web.UI.Control.SaveViewStateRecursive() +254
   System.Web.UI.Control.SaveViewStateRecursive() +254
   System.Web.UI.Page.SaveAllState() +602
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5016
Jayesh Goyani
Top achievements
Rank 2
 answered on 17 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?