Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
110 views
Some of our users are experiencing session resets which led me to this article:

http://www.telerik.com/support/kb/aspnet-ajax/editor/cookies-and-session-overflows-with-many-telerik-controls-radeditor-v4-x-and-5-x.aspx

The article says this is fixed in RadEditor v6.  The version of my Telerik.Web.UI.dll assembly is 2012.1.411.35 but I cannot tell which version of RadEditor I am running.  Can someone please help? Thanks!

Rumen
Telerik team
 answered on 20 Nov 2012
1 answer
662 views
Hi,
My project is using .net framework 3.5 and telerik version 2008.03.1314.35 but this version not support IE

http://www.telerik.com/community/forums/aspnet-ajax/form-decorator/javascript-error-when-using-formdecorator.aspx

 Probably this problem fixed in 2009 versions.

How can i download 2009 SP2 version ?
Rumen
Telerik team
 answered on 20 Nov 2012
3 answers
108 views
Hi

I have the following structure :

RadSplitter

    Pane1

    RadSplitterBar

    Pane2

On the first load, pane1 is 100% and 0% for pane2 but on specific event I would like to change it to 50/50% for exemple.
I don't find solution to achieve this client side or server side.

Someone can help me

Thank in advance

Ludo
Vessy
Telerik team
 answered on 20 Nov 2012
1 answer
166 views
I have a database table containing multiple columns and one column (AppliedName) is encrypted. On my page I have a radgrid which on databound I run a decrypt method so the actual text value shows up in the radgrid instead of the encrypted value. However, when I try to filter that column using "contains" filter function it wants to compare the filter text to the encrypted values in the databse... not the text displayed in the radgrid.  I can see why it would do this, but what I would like to do is decrypt the value before comparing the filter text I've entered into the filter text box to the values in the grid.  This way I can use the "contains" method.  I could probably first encrypt the filter text, but then I don't think I would be able to use contains...

Is there a way to do this, or is there a way I can do a client side filter that compares the filter text to the actual text that appears in the radgrid... not the database?

Any help is greatly appreciated!

Thanks,
Jon


Daniel
Telerik team
 answered on 20 Nov 2012
4 answers
289 views
Hi!
I have a radgrid and try to implement the radautocomplete object in an edititemtemplate like this:

<EditItemTemplate>
    <telerik:RadAutoCompleteBox
        ID="RadAutoCompleteBox1" runat="server"
        Width="400" DropDownWidth="200"
        DataTextField="Field1"
        DataValueField="Field1"
        DataSourceID="ADS_Field1"
        InputType="Text"
        Delimiter=";"
        AllowCustomEntry="true"
        TokensSettings-AllowTokenEditing="true"
        Text='<%# Bind("Field1") %>'>
    </telerik:RadAutoCompleteBox>
</EditItemTemplate>

1. Problem: the binded field value does not appear in the edit form
2. If I change the inputtype to "Token" you cannot write in this field
3. how can I remove the delimiter before update, because I don't want to have it in my database

Thank you!
Bernie
Top achievements
Rank 1
 answered on 20 Nov 2012
3 answers
292 views
So, I have a RadComboBox that is populated with a product number and a name (123456 - product name).  I want to be able to type in either the product number ("123456") or the product name and have the auto complete functionality work.

I know I need to have a client side script "OnClientItemsRequesting"
I know I can probably use a [WebMethod] - probably using the <WebServiceSettings> within the Telerik RadComboBox....
I know that I need to populate the data from a database...
I know that I have to do this for 6 different combo boxes.

...but my knowledge and skill set is terrible after that.

I'm assuming that my client side script will be something like this:
function OnClientItemsRequesting(sender, eventArgs) {
     var context = eventArgs.get_context();
     context["FilterString"] = eventArgs.get_text();
 }

My web method should be something like this:
public RadComboBoxItemData[] GetItem1Values(object context)
        {
            //previously declared global
            DataBaseConnection db = new DataBaseConnection();
 
            IDictionary<string, object> contextDictionary = (IDictionary<string, object>)context;
 
            string filterString = ((string)contextDictionary["FilterString"]).ToLower();
            string filterNext = ((string)contextDictionary["FilterNext"]);
 
            BrandCode = cmbProd1Filter.SelectedItem.Value;
            DataTable dt = db.StoredProcedures.getItemBumbersByBrandCode_Command(QtyUp, BrandCode);
 
            var filterRows = (from dr in dt.AsEnumerable() select dr.Field<string>("ItemName")).ToArray();
 
          //I have no idea what happens after that... I need help
        }

Any help would be appreciated... I really need it.

Thanks in advance.
Mark
Top achievements
Rank 1
 answered on 20 Nov 2012
5 answers
78 views
Hello, I am having trouble automatizing testing of an app that uses RadMenu with TestStudio, The TestStudio guys suggested the following:

>The best practice for allowing efficient test maintenance is to use a unique ID for all automation targets. This prevents tests from failing >when elements move or are renamed. Test Studio uses IDs as the primary find logic by default, so new tests will automatically reflect this >identification strategy.

How can I assign a unique ID to each menu item and subitem?

Kate
Telerik team
 answered on 20 Nov 2012
2 answers
101 views
Hello,

I have just realized that Filter TextBox in RadFileExplorer is not working in chrome.

I am having this problem with my site and I have found the same bug with your demo

http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/server-sideapi/filtertextbox/defaultcs.aspx

I am using the chrome version:  23.0.1271.64 m
shadow
Top achievements
Rank 2
 answered on 20 Nov 2012
5 answers
132 views
Hello,

I have applied swedish culture on my site, and copied the localization files from telerik installation folder to app_globalresources directory in my web application. Rad editor is displaying the swedish text in image editor dialog box and all tools in the toolbar, but Inser Extarnal Video dialog is not displaying and localized text. Infact no text at all for different text controls in this dialog...!!

My assumption is that I am missing the resource keys in my localization file, anybody knows where I can find these keys??

Thanks

----
shadow
Top achievements
Rank 2
 answered on 20 Nov 2012
2 answers
140 views
Hi,
I have a radGrid with a couple of DateTime Columns, they seem great my only issue being the icon for selecting a date hides the majority of the textbox that it populates.

[][Y][D]      What it currently looks like (D being the radcalender)

[ ]
[Y][D]                      I would like it the options to be below the textbox

<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowPaging="True"
            AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True" GridLines="None"
            OnRowDataBound="NamesGridView_RowDataBound" PageSize="14"
            DataKeyNames="OrderId" ShowGroupPanel="True" CellSpacing="0">
                        <ClientSettings AllowDragToGroup="True" Selecting-AllowRowSelect="true">
            </ClientSettings>
            <GroupingSettings ShowUnGroupButton="True" />
            <ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True"
                ReorderColumnsOnClient="True">
<Selecting AllowRowSelect="True"></Selecting>
 
                <ClientEvents OnRowMouseOver="RowMouseOver"></ClientEvents>
            </ClientSettings>
            <GroupPanel Visible="True">
            </GroupPanel>
            <MasterTableView CommandItemDisplay="Top" ClientDataKeyNames="OrderID, Text" DataKeyNames="OrderID">
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
                <RowIndicatorColumn Visible="False">
                    <HeaderStyle Width="20px" />
                </RowIndicatorColumn>
                <ExpandCollapseColumn Resizable="False" Visible="False">
                    <HeaderStyle Width="20px" />
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridTemplateColumn AllowFiltering="false" UniqueName="TemplateEditColumn">
                        <ItemTemplate>
                            <asp:HyperLink ID="EditLink" runat="server" Text="Edit"></asp:HyperLink>
                        </ItemTemplate>
                        <FooterStyle Width="32px" />
                        <HeaderStyle Width="32px" />
                        <ItemStyle Width="32px" />
                    </telerik:GridTemplateColumn>
                    <telerik:GridBoundColumn DataField="OrderId" HeaderText="Order Ref"
                        SortExpression="OrderId" UniqueName="OrderId" Visible="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="OrderNum" HeaderText="Order Number"
                        SortExpression="OrderNum" UniqueName="OrderNum" Visible="True">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ProjectRef" HeaderText="Project" UniqueName="ProjectRef"
                        SortExpression="ProjectRef">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Location" HeaderText="Location" UniqueName="Location"
                        SortExpression="Location">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CostCentre" HeaderText="Cost Centre" UniqueName="CostCentre"
                        SortExpression="CostCentre">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="AccountCode" HeaderText="Account Code" UniqueName="AccountCode"
                        SortExpression="AccountCode">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="activityRef" HeaderText="Order Activity" UniqueName="activityRef"
                        SortExpression="activityRef">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CategoryRef" HeaderText="Type of Work" UniqueName="CategoryRef"
                        SortExpression="CategoryRef" >
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn DataField="OrderDate" HeaderText="Order Date" UniqueName="OrderDate"
                        SortExpression="OrderDate">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridDateTimeColumn DataField="PlanDate" HeaderText="Target Complete" UniqueName="TargetComplete"
                        SortExpression="PlanDate">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridDateTimeColumn DataField="ActualDate" HeaderText="Actual Complete" UniqueName="ActualComplete"
                        SortExpression="ActualDate">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn DataField="Amount" HeaderText="Estimated Cost" UniqueName="EstimatedCost"
                        SortExpression="Amount">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ServiceProvider" HeaderText="Service Provider"
                        UniqueName="ServiceProvider" SortExpression="ServiceProvider" Visible="True">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Text" HeaderText="Text" UniqueName="Text" Display="false">
                    </telerik:GridBoundColumn>
                </Columns>
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
                <CommandItemTemplate>
                    <table style="width: 100%;">
                        <tr>
                            <td style="width: 50%;">
                                <a href="#" onclick="return ShowInsertForm();">
                                    <img alt="Insert" border="0" height="20" src="App_Images/AddRecord.gif" width="20" />
                                    Add New Record</a>
                            </td>
                            <td align="right" style="width: 50%">
                                <asp:CheckBox ID="chkArchived" runat="server" AutoPostBack="True" OnCheckedChanged="chkShowArchived_CheckChanged"
                                    Text="Show Archived" Width="163px" />
                            </td>
                            <td align="right" style="width: 50%">
                                <asp:CheckBox ID="chkComplete" runat="server" AutoPostBack="True" OnCheckedChanged="chkShowComplete_CheckChanged"
                                    Text="Show Completed" Width="163px" />
                            </td>
                        </tr>
                    </table>
                </CommandItemTemplate>
            </MasterTableView>
            <FilterItemStyle HorizontalAlign="Left" Wrap="True" />
            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
        </telerik:RadGrid>

How would I go about doing this?
Many Thanks
Ryan
Pavlina
Telerik team
 answered on 20 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?