Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
118 views
Hi,

How do I disable or remove the spell checker form the RadEditor?

I am using the editor with only very basic functionality and will not be using the spell checker, however, if I do not include the dictionaries in the App_Data folder it will not compile as it can not find the dictionary file.

Thank you.
Rumen
Telerik team
 answered on 31 Aug 2010
2 answers
128 views

Hello,

i have radgrid which is placed in radtab.
i have given fixed width of 965px to all my grids in radtab. i have 6-7 rad tab with diffrent grids.
i have 15 columns in my grid. 4 are template columns(design time created). 1 gridclient select column, 1 grid edit command column and rest of the are bound columns. in column created events i have given fixed width to headerstyle.width for every column.

my template columns have given fixed width of 80px. in my grid pre-render event i'm swapping my template columns with bound columns.

i'm able to see each column properly with scrollbar but some extra white space is displayed out of grid and in radtab pan.

if i'm removing my template columns then that white space is removed. but due to the functionality i can not remove my template columns. is there any way to remove that white space from radtab.
sweta
Top achievements
Rank 1
 answered on 31 Aug 2010
2 answers
145 views
Hi, 

I'm trying to use the radScheduler however i'm getting a javascript error whenever i return appointments (via wcf web service) back to the calendar.

In particular, the problem is happening in the radControls script.  (See below)  The problem appears to be because the object G is expected to have attributes called 'Subject', 'Start' ect, however, it only appears to contain them as '_start', '_subject'.

I do not have any idea how to fix this?  

I'm not sure if this is related, BUT i am unable to use the radScriptManager on this page because it wont load the MSAjax js library.  I can however use the normal ScriptManager ?

Any help would be much appreciated!

Edit: In addition, i have tried to implement my own version of IAppointmentData, however i've noticed that the 'description' property is not available to the interface, is this supposed to be the case?

I cant find very much documentation on these calendar components, there appears to be very little (if any) commenting on the help, it just lists the property and method names which is pretty useless.

g's values
__type: "AppointmentData:#Telerik.Web.UI"
    _attributes: {...}
    _description: "rar description"
    _encodedId: "abc"
    _end: Thu Aug 26 12:01:47 UTC+1000 2010
    _id: "abc"
    _recurrenceParentID: null
    _recurrenceRule: null
    _recurrenceState: 0
    _reminders: {...}
    _resources: {...}
    _start: Thu Aug 26 11:01:47 UTC+1000 2010
    _subject: "abc"
    _visible: true

Should this have a proper constructor ?
g.constructor.toString()
"
function Object() {
    [native code]
}
"


_loadAppointment:function(g){var f=new b.SchedulerAppointment();
f._id=g.ID;
f._internalID=g.EncodedID;
f.set_subject(g.Subject);
f.set_description(g.Description);
----->f.set_start(this._toClientDate(g.Start));<----
f.set_end(this._toClientDate(g.End));
f._setOwner(this._owner);
f._recurrenceRule=g.RecurrenceRule;
f._recurrenceParentID=g.RecurrenceParentID;
f._recurrenceState=g.RecurrenceState;
f._visible=g.Visible;
f.set_toolTip(g.Subject);
T. Tsonev
Telerik team
 answered on 31 Aug 2010
1 answer
93 views
How to apply telerik themes for ajax modalpopup extender control.
Prangadj
Top achievements
Rank 1
 answered on 31 Aug 2010
1 answer
104 views
Hi,
I've the following problem I can't solve alone (I'm using 2010Q2).
I've a menu with EnableRootItemScroll="true", that is, I'd like to have the menu on only one line and if there is not enough space I'd like to see the scrolling arrows.
Everything was working perfectly until I started to work client side with item texts and visibility.
I explain: in the menu I've a button that must work as a warning label, that is, if something is wrong I change client side its text (and image) to show a warning message to the user.
The problem is that when I do so the menu starts to be shown on multiple line.
I've debugged a bit the JS and I've found out that you calculate the width of all the root items when the page is rendered and assign the total to the <UL> container. Changing the text, the width should change.

I've already tried this:
function recalculateWidth()
{
var menu1 = $find("<%= Menu1.ClientID %>");
var menuItems = menu1.get_items();
var newWidth = 0;
for (var i = 0; i < menuItems.get_count(); i++)
newWidth += menuItems.getItem(i).get_element().offsetWidth;
menu1.get_childListElement().style.width = newWidth;
}
and apparently it works, that is, the menu no longer is displayed on more than one line, but the scrolling arrows behave weirdly: the rightmost buttons are being cut off. It is like you are setting the width also into the scrolling arrows mechanism, but I can't find it.
May you help me with this?

Best regards, Andrea Pirola
Yana
Telerik team
 answered on 31 Aug 2010
1 answer
154 views
Hello

I'm using a birthdate control with RadDatePicker. As you know its default minDate is 1980. In a normal condition when I change the mindate there's no problem. But in my repeater which creates multiple date pickers can't modify the mindate. Here's my code part

<asp:Repeater runat="server" ID="rptChildren">
<ItemTemplate>
    <div class="passenger">
        <div class="info">
            <span class="inputTitle">Birthdate</span>
            <telerik:RadDatePicker ID="dtChildBirthDate" runat="server" Width="150px" MinDate="1/1/1910"></telerik:RadDatePicker>
        </div>
    </div>
</ItemTemplate>
</asp:Repeater>
 
Mira
Telerik team
 answered on 31 Aug 2010
1 answer
144 views
I have been following the examples for a binary image column inside the rad grid. The examples use sql update, insert, delete commands.
I am using ado.net entity framework, and do not understand how to make the RadBinaryImage work in this scenario. Is there an example for this on the website? I have not been able to find one. Thanks.
Rosen
Telerik team
 answered on 31 Aug 2010
11 answers
582 views
OK, After reading around for a bit, I can use
<AlternatingItemStyle BackColor="#CCFFCC" Height="1px" 
Font-Size="XX-Small" ForeColor="#339933" /> 
 
<ItemStyle Height="50px" /> 




 

To set the height of my rows.
However, they are still way too tall for my needs.

It looks as though the text / checkboxes are being padded both top and bottom.
Is there any way to force the rows so they will be shorter?

By the way, the height=50 is just there as a test to see if it works on every other row.  I'll make them both the same once I find a way to make them short.

Dimo
Telerik team
 answered on 31 Aug 2010
2 answers
70 views

I've tried using the following code to change the colour of one of the series areas and it doesn't work.

ChartSeriesType

 

chartType = aPercentage ? ChartSeriesType.StackedArea100 : ChartSeriesType.Area;

ChartSeries

 

freeSeries = new ChartSeries("Series 1", chartType);

 

freeSeries.Appearance.LegendDisplayMode =

ChartSeriesLegendDisplayMode.SeriesName;

 

freeSeries.Appearance.FillStyle.MainColor =

Color.Green;

I've also tried doing the following, and this doesn't work either:

 

ChartSeriesItem

 

free = new ChartSeriesItem(cd.FreeEntry);

 

free.Label.Visible =

false;

 

free.Appearance.FillStyle.MainColor =

Color.Green;

 

freeSeries.AddItem(free);

Please could someone point me in the right direction.

Many thanks, Craig.

Craig
Top achievements
Rank 1
 answered on 31 Aug 2010
1 answer
65 views
We have a requirement for managing user annotations.  We need to manage private annotations and public ones through a gatekeeper.  The client has a requirement to render documents exactly as the original document displays (currently MSWord and PDF).  Is there a way to use RadEditor to display a "page description language" like xps that the client can annotate?  Or can we generate an image like BMP or JPEG that the user can annotate with radeditor?
Rumen
Telerik team
 answered on 31 Aug 2010
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?