Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
142 views
Can anydbody help me to solve my problem with RadEditor control????


I am using RadEditor control to display images. But the image is not displaying in the image manager in the testing server. Please refer the attached document.

This is perfectly working in developement machine (localhost) which is pointing to the same database.

I store the images in the database as binary.

when I deploy in the testing server, the image is not displaying. Please help. This is very urgent.

Please see below the HTML code for the RadEditor control.

<

 

telerik:RadEditor ImageManager-MaxUploadFileSize="5048000 " Width="100%" Skin="Vista" ID="DiseaseAreaContentEditor" runat="server"

 

 

SkinID="IndiaHCPSetOfTools" BackColor="Transparent" Height="500px">

 

 

<CssFiles>

 

 

<telerik:EditorCssFile Value="~/Styles/TelerikRichEditorContentArea.css" />

 

 

</CssFiles>

 

 

 

<Modules>

 

 

<telerik:EditorModule Name="RadEditorStatistics" Visible="true" Enabled="true" />

 

 

</Modules>

 

 

</telerik:RadEditor>

Testing server and developement machine point to the same database.

 

Rumen
Telerik team
 answered on 09 Jun 2011
2 answers
67 views
Hi,

I have a chart that that makes a comparison. Let's say I have in the x-axis information from Q1 through Q4 for two companies. Therefore, I should have two bars for Q1, two bars for Q2 and so on. This works fine when I do have data for all four quarters.
This set up does not work when one of the companies does not have data for one of the quarters. Let's say Q3 does not have data for one of the companies. In this scenerio, the value of Q4 slides down to fill in the value in Q3, and Q4 is left without data for that company.

The following is how the chart is set up:
chartDefinition.DataGroupColumn = "Name";
chartDefinition.PlotArea.XAxis.DataLabelsColumn = "TimePeriod";
chartDefinition.Legend.Appearance.GroupNameFormat = "#VALUE:#NAME";

How can I fix this issue?
Thanks,
E.
Ernesto
Top achievements
Rank 1
 answered on 09 Jun 2011
3 answers
389 views
Hi,

I want to change the header strip color of PanelBar. Please see the attached screenshot. I made changes in PanelBar.css under div.rpHeaderTemplate for background Image but didn't get success. can anyone please let me know how to do that.

Thanks,
--Jai
Kate
Telerik team
 answered on 09 Jun 2011
12 answers
302 views
Hi,

I was wondering why the list of allowed files (your sample shows jpeg, png, gif) are displayed properly in the 'File Type' dropdown when browsing for a file on the AsynchUpload control, but show 'All Files' on the upload control, even thought the settings are the same.  Also, is there a way to actually filter these types in the available files window, like Windoes Explorer?

Thanks
Peter Filipov
Telerik team
 answered on 09 Jun 2011
1 answer
86 views
Hi,
I have a RadGrid within which I use an ItemTemplate to determine how the rows look. In the item template there is a RadToolBar, I want to have a javascript function for each of the buttons on the toolbar that does something with the ID of the current row (as contained in the ClientDataKeyNames for the grid.).

I'm getting to the function specified by OnClientButtonClicking but am then a little unsure how to get the ID of the row that was clicked.  Any pointers?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 09 Jun 2011
2 answers
170 views
I've got a ListView bound to a Linq data source. I've got both edit and insert templates. I only allow the user to edit two of the fields. the rest of the fields (i.e. update by user id, udpated datetime, created date time, etc.) I want the system to set. On what event of the ListView can I set the additional fields before the item is updated / inserted into the database? And coulde you show me an example?

Thanks!
Iana Tsolova
Telerik team
 answered on 09 Jun 2011
13 answers
300 views
Hi,

I have a weird problem on IE 7 (works on firefox 3.5)
There is a Combo box with 2 line  drop down items. The first time i click on the drop down, the items overlap. It looks like the Combo box  does not know that its got multiline items. The next time i click i get all the items without the overlapping.

TIA
PS
marbleblue
Top achievements
Rank 1
 answered on 09 Jun 2011
1 answer
88 views
I'm working with a client who uses the telerik editor in their community forum.  As a tech company they have a priority language for one of their devices (it closely follows C#).  While the Code Block Editor is great, they have been asking me about adding in some minor changes to the formatting rules to better represent their specific language syntax and color coding.

Is this possible?
Rumen
Telerik team
 answered on 09 Jun 2011
2 answers
1.8K+ views

Hi,

I can easily bind the grid to a List<> collection on Page_Load. However, I'm unable to populate the grid with data on an postback from an user event - for example a button click, and I can't really understand why.

Below is a sample of what I'm trying to do - the result should be the three random rows inserted into the grid, but the grid remains empty. I also can provide a small project sample, but I can't attach it to the post - you only accept gif, jpg files?

ASPX:
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="WebApplication1.test" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <telerik:RadButton ID="RadButton1" runat="server" Text="Load"
        onclick="RadButton1_Click">
    </telerik:RadButton>
    <telerik:RadGrid Width="400px" Height="400px" ID="RadGrid1" runat="server">
    </telerik:RadGrid>
</asp:Content>


Code behind:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
namespace WebApplication1
{
    public partial class test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
 
        }
 
        protected void RadButton1_Click(object sender, EventArgs e)
        {
            List<FillTest> testList = new List<FillTest>();
            testList.Add(new FillTest("wer", "ERterte", "ertert", "ertert"));
            testList.Add(new FillTest("ertert", "dfgdfg", "ertert", "ertert"));
            testList.Add(new FillTest("dgdfg", "rwer", "pfsd", "vfswe"));
            RadGrid1.DataSource = testList;
        }
    }
 
    public class FillTest
    {
        string _testProperty, _test, _description, _code;
 
        public string Code
        {
            get { return _code; }
            set { _code = value; }
        }
        public string Test
        {
            get { return _test; }
            set { _test = value; }
        }
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }
        public string TestProperty
        {
            get { return _testProperty; }
            set { _testProperty = value; }
        }
 
        public FillTest(string testProperty, string test, string description, string code)
        {
            _testProperty = testProperty;
            _test = test;
            _description = description;
            _code = code;
        }
    }
}
John
Top achievements
Rank 1
 answered on 09 Jun 2011
3 answers
110 views

Hello,

One of my current tasks is to modify the Image Editor(RadEditor) to allow the user to do some limited Image manipulations. On this task I've encountered some issues :

1) could Image Editor be modified to include a zoom control? For instance if the user has to take a crop from a 2000 x 3000 pixels image, he can't see the whole image fitted in the window.

2) Is there a way to have Image Editor open with Crop "Enabled" by default ? On careful inspection on the js code on the ascx, there are some props in the prototype init; ie. 

1.this._cropEnabled = true// this doesn't work ?
but none of the changed yield results.

How can the ascx ( or what are the caller parameters ) modified to have crop enabled, and the bounding boxes visible when the Image Editor inits ?

3) When setting the default width and height of the crop area

 

1.//Set initial position
2.this.setBounds({ x: 0, y: 0, width: 70, height: 70 });
All browsers behave and keep these settings, except IE ( which gives a weird value like 48x83 px ). Is this a know bug or I'm dealing with IE faulty box models ? And if there is a known limitation, is there a workaround ?

Thanks!

Rumen
Telerik team
 answered on 09 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?