Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
116 views
Hello,

Our PROD server run .Net framework 4.0

Since we've change our Developement plateform to .Net Framework 4.5,  we have deployement issues when copying the files to the server.  We took care to not use .Net framework 4.5 specific methods / class / option.

On the server,  we sometime have "Pre-compiled"  issue.   I've noticed the following message when make the deployemet:

Warning 2 The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: Telerik.Web.UI, Version=2012.2.607.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4. The dependencies are: System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.

Any idea?

Thank you & best regards,
Michel.
Genady Sergeev
Telerik team
 answered on 13 Feb 2014
2 answers
54 views
Hello Team,
I want to create one series and bound it to multiple items and with different colors for each item
take a look at my picture this what I select from database Day, Date and Total Time sheet.. My problem now like it seems in the picture
that the bars colors didnt change for each item and series in the the right of the chart just read the first date only.. so please can any one help me how can i achieve this programmatically by C#?

Here's my code:
 RadChart1.PlotArea.XAxis.AutoScale = false;
    RadChart1.PlotArea.XAxis.Items.Clear();
    RadChart1.Series.Clear();
    
    ChartSeries series = new ChartSeries(dt.Rows[0]["doc_date"].ToString(), ChartSeriesType.Bar);
    for (int i = 0; i < dt.Rows.Count; i++)
    {
        //series = new ChartSeries(dt.Rows[i]["doc_date"].ToString(), ChartSeriesType.Bar);
        series.Items.Add(new ChartSeriesItem(Convert.ToDouble(dt.Rows[i]["total_timesheet"])));
        ChartAxisItem axisItem = new ChartAxisItem(dt.Rows[i]["day_name"].ToString());
        RadChart1.PlotArea.XAxis.Items.Add(axisItem);
    }
RadChart1.Series.Add(series);
mahmoud
Top achievements
Rank 1
 answered on 13 Feb 2014
8 answers
263 views
Frozen column is not working for grid if navigate the grid controls using tab button of Keyboard. 

Following approach i have used in my application.
Grid columns are mostly GridTemplateColumn type. In that template i am using only ItemTemplate for textboxes controls so that user can navigate grid only using tab to make data entry faster. There are large number of columns(Avg 15 columns) and rows(avg 25 rows) to grid. I need to freeze the  first 3 columns of grid . I have set 
<Scrolling AllowScroll="true" FrozenColumnsCount="3" UseStaticHeaders="True" SaveScrollPosition="True">.
When i am navigating grid using horizontal scrollbar then freeze columns are working but when i am navigating the grid textbox controls using tab, freeze columns are not working. 

Please suggest any working solution to solve this problem.
Sample code for grid columns:

<telerik:GridTemplateColumn HeaderText="Qty/Bundle" HeaderStyle-CssClass="gridHeadStyle-5"
                                                                   ItemStyle-HorizontalAlign="Right">
                                                                   <ItemTemplate>
                                                                       <telerik:RadTextBox ID="QTY" Width="95%" CssClass="textbox-amount" Text='<%#Eval("QnttyPerBundle", "{0:N3}")%>'
                                                                           runat="server" MaxLength="16" onclick="this.select()" AutoPostBack="false" OnTextChanged="txtInvceDetails_TextChanged" />
                                                                   </ItemTemplate>
                                                               </telerik:GridTemplateColumn>
Joe
Top achievements
Rank 1
 answered on 13 Feb 2014
6 answers
339 views
Hi,

I have implemented as below for Rad Editor to open custom popups. Sometimes i am able to see the custom popup opening at first time itself and sometime it is throwing alert as "Custom Command not implemented yet".
1) At initial load of the user control in which i am using RadEditor i am not able to open popup "UploadImage.aspx" on subsequent postback i am able to open and this is also somtime working and some times i am able to see the same alert "Custom Command not implemented yet" I have to make this working in IE, Firfox and Chrome.

Thanks in advance.

EditorPage.aspx

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="EditorPage.aspx.vb" Inherits="EditorPage" %>
<%@ Register  tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" language="javascript">
        //<![CDATA[
        /* Implementation of the Custom command, declared in the editor's Tools.xml file! */

        RadEditorCommandList["Custom"] = function (commandName, editor, args) {
            var myCallbackFunction = function (sender, args) {
                if (args.href != undefined) { editor.pasteHtml(String.format("<img src={0} /> ", args.href)) }
            }

            editor.showExternalDialog('../../Controls/Custom/UploadImage.aspx',
          {},
          500,
          230,
          myCallbackFunction,
          null,
          'Insert Image',
          true,
          Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move,
          false,
          false);
        };

        /*TO DO: Implement something meaningful here*/

        //]]>
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
          <asp:ScriptManager runat="server" ID="ScriptMngr">
    </asp:ScriptManager>
       <telerik:RadEditor runat="server" ID="reWysiwyg" ToolsFile="~/FullSetOfTools.xml"
                        SkinID="DefaultSetOfTools" AutoResizeHeight="true" CssClass="minwidth" ContentAreaMode="div">
                        <ImageManager ViewPaths="~/images" DeletePaths="~/images" UploadPaths="~/images" />
                    </telerik:RadEditor>
    </div>
    </form>
</body>
</html>


FullSetOfTools.xml

<root>
    <modules>
        <module name="RadEditorStatistics" dockingZone="Bottom" enabled="true" visible="true" dockable="true" />
        <module name="RadEditorDomInspector" dockingZone="Module" enabled="true" visible="true" dockable="true" />
        <module name="RadEditorNodeInspector" dockingZone="Module" enabled="true" visible="true" dockable="true" />
        <module name="RadEditorHtmlInspector" dockingZone="Module" enabled="true" visible="false" dockable="true" />
    </modules>
    <tools name="Custom">
    <tool name="Custom"/>
  </tools>
    <tools name="MainToolbar">    
    
    <tool name="InsertLink" />
    <tool name="InsertTableLight" />    
    <tool separator="true"/>
        <tool name="FormatStripper" />
  </tools>
  <tools name="InsertToolbar" >
    <tool name="AjaxSpellCheck"/>    
    <tool separator="true"/>
    <tool name="InsertTable" />    
  </tools>  
  <tools>
    <tool name="Bold" />
    <tool name="Italic" />
    <tool name="Underline" />
    <tool name="ForeColor" />
    <tool name="BackColor"/>
    <tool name="FormatPainter" />
    <tool separator="true"/>
    <tool name="JustifyLeft" />
    <tool name="JustifyCenter" />
    <tool name="JustifyRight" />
    <tool name="JustifyFull" />    
    <tool separator="true"/>    
    <tool name="InsertOrderedList" />
    <tool name="InsertUnorderedList"/>    
  </tools>
  <tools name="DropdownToolbar" >
    <tool name="FontName"/>
    <tool name="RealFontSize"/>
    <tool name="FormatBlock"/>
  </tools>
    <links>
        <link name="Telerik" href="http://www.telerik.com">
            <link name="Products" href="http://www.telerik.com/products">
                <link name="RadEditor" href="http://www.telerik.com/radeditor" >
                    <link name="Accessible RadEditor" href="http://demos.telerik.com/aspnet-ajax/editor/examples/accessibleeditor/defaultcs.aspx" />
                    <link name="Rad Editor for MOSS" href="http://www.telerik.com/products/aspnet-ajax/sharepoint.aspx" />
                </link>
            </link>
            <link name="Purchase" href="http://www.telerik.com/purchase" />
            <link name="Support" href="http://www.telerik.com/support" />
            <link name="Community" href="http://www.telerik.com/community" />
            <link name="Company" href="http://www.telerik.com/company" />
            <link name="Account" href="https://www.telerik.com/login.aspx" />
        </link>
        <link name="Microsoft">
            <link name="Main Site" href="http://www.microsoft.com" />
            <link name="MSDN Online" href="http://msdn.microsoft.com" />
            <link name="Windows Update" href="http://windowsupdate.microsoft.com" />
        </link>
        <link name="Search Engines">
            <link name="Google" href="http://www.google.com" />
            <link name="Bing" href="http://www.bing.com" />
            <link name="Yahoo" href="http://www.yahoo.com" />
        </link>
    </links>
    <snippets>
        <snippet name="Order Confirmation">
            <![CDATA[
                    <div style="width:300px;border:2px outset #D8D2BD;padding:34px;font-family:Arial, Verdana; font-size:11px;background-color:#F1EFE6;">
                    Dear ____________________,<br />
                    Thank you for inquiring about ____________. Your request will be processed in 48 hours and shipped at the address you have provided.
                    <br /><br />
                        <b>Please, contact us if you have any problems.</b>
                    </div>
                ]]>
        </snippet>
        <snippet name="Email Signature">
            <![CDATA[
                    <div style="margin-top:30px;width:80%;border-top:1px dotted gray;padding-top:4px;font-family:Arial, Verdana; font-size:11px;">
                    <b>John Wigham</b><br />
                    Senior Web Developer<br />
                        <a href="#">john@mysite.com</a>
                        <br />
                            <br />
                                <i>Disclaimer: The contents of this e-mail are privileged and confidential and intended for the addressees at the specified e-mail addresses only.</i>
                    </div>
                ]]>
        </snippet>
        <snippet name="Problem Report Feedback">
            <![CDATA[
                    <div style="width:300px;border:2px outset #D8D2BD;padding:34px;font-family:Arial, Verdana; font-size:11px;background-color:#F1EFE6;">
                    Hi ____________________,<br />
                    Thank you for reporting this issue. We have verified the problem and it is logged in our system. We will notify you once we have a solution.
                    <br /><br />
                        <b>Please, contact us if you have any problems.</b>
                    </div>
                ]]>
        </snippet>
    </snippets>
    <symbols>
    </symbols>
    <fontNames>
    </fontNames>
    <fontSizes>
    </fontSizes>
    <colors>
    </colors>
    <classes>
    </classes>
    <paragraphs>
    </paragraphs>
    <dialogParameters>
    </dialogParameters>
    <languages>
    </languages>
</root>

Thanks
Srikanth
Ianko
Telerik team
 answered on 13 Feb 2014
2 answers
116 views
Hello,

I'm trying to use a webapi service (based in DNN 7.2) with the RadSearchBox. Things mostly seem to be working, except that the service doesn't get the text of the search. Note that the service does get called, and, if I generate fake results, it works just fine... it just looks like the SearchBoxContext is empty. Here's what the procedure looks like:

    <AllowAnonymous()>
    <HttpPost()>
    Public Function AutoSearch(context As SearchBoxContext)
(stuff)
End Function

Any ideas?

Thanks,

Mike
Bozhidar
Telerik team
 answered on 13 Feb 2014
3 answers
79 views
Hello,

where can I find a working example of OrgChart - WCF Service demo to download?
At the web site there are all the source code files provied, but I colund't find web.config.
I reproduced the example on my computer, but the request to OrgChartNodeDataService.svc/LoadData always ends up with error 400 (Bad Request)
I think I missed something in web.config. So I would better examine this working example a VS project on my computer if possible. 

Thanks.
Plamen
Telerik team
 answered on 13 Feb 2014
2 answers
107 views
I have a user configurable radgrid... and there are about 30 columns... When the grid renders, you are able to scroll over and see all the columns, but after the width of the screen, the border of the grid ends... and the rest of the columns are to the right of it, outside the border..

Here is a link to a screen shot of this:
http://img.skitch.com/20090721-cr1a1xi9b74habmtdg27wn7jyw.jpg

Since there are multiple views and the user is able to configure them.. the grid can be anywhere between 1-30 columns.. So I cannot set the width of the grid as it changes.

How to have the grid render correctly is my goal here.

Thanks

Jeff



JamesD
Top achievements
Rank 1
 answered on 13 Feb 2014
4 answers
152 views

Hi,
 I recently upgraded some controls on an aspx page from <asp:DropDownList> to <telerik:RadDropDownList>. I am running a .NET 4.5 website and am referencing the 2013.3.1114.45 version of the Telerik dlls.

 When I test out the new DropDownLists using Internet Explorer 11 the dropdownlists expand as expected when I navigate to the page from a browser that is not on the computer hosting the website. However, when I use an older version of Internet Explorer (I have used IE10, and IE8) OR when I use Internet Explorer 11 on the computer that is hosting th website, the dropdownlists don't expand. When clicked, they produce a grey line under the dropdown list, but don't actually expand.

I am binding the dropdown lists in the codebehind as follows:

ddlDF.Items.Clear()
ddlDF.DataValueField = "Value"
ddlDF.DataSource = AppShared.GetDF()
ddlDF.DataBind()
  
'The Signature of the GetDF function is
Shared Function GetDF() As ListItem()


 This seems like it must be a pretty basic problem as I'm sure others have used the DropDownList successfully with the 2013.3.1114.45 version of the Telerik dlls in older browsers and browsers on the host machine.

I am attaching screenshots of the dropdownlists when they produce the grey line under them instead of expanding.

Please let me know if you can reproduce this problem or have seen it before

Thomas

Ivan Zhekov
Telerik team
 answered on 13 Feb 2014
3 answers
68 views
Hello

I want to know how I can delete the image attached in a forum post.
Thanks
Pavlina
Telerik team
 answered on 13 Feb 2014
1 answer
118 views
On the tab strip (I believe - I'm new to telerik controls), there is a hidden input that stores client-side data - the selected index and a 'changeLog'. In IE10, it works just fine. However, on the iPad with iOS7, that hidden element is SELECTABLE. If the user happens to tap the area where that hidden input is, the keyboard pops up and the user has the option of copy the contents of the input.
Is there a way to move that input somewhere else - off screen for example?

We are not using a specific site for mobile devices.
Dimitar
Telerik team
 answered on 13 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?