Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
109 views
Hi,
we are using telerik control latest version 2012.2.912.40 in our project.

We have RadEditor in ascx page and using ascx page to display in GridEditCommandColumn. When we use the same ascx control in separate webpage, radeditor is displaying without any issue. When we use in GridEditCommandColumn and check, there is extra spaces in both top tool bar and bottom. As per comments in "http://www.telerik.com/help/aspnet-ajax/editor_disablehidemodules.html" removed modules. Also used below code in master page (initially we had "width" problem but resolved after using below code). But still we can see the extra space in the RadEditor window. We also tried to add Editor.web20.css into our application. but no luck.
Please help us to resolve this issue.
Thanks

 

 

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">

 

 

 

<StyleSheets>

 

 

 

<Telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.Editor.css" />

 

 

 

<Telerik:StyleSheetReference Assembly="Telerik.Web.UI.Skins" Name="Telerik.Web.UI.Skins.Web20.Editor.Web20.css" />

 

 

 

<Telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.Window.css" />

 

 

 

<Telerik:StyleSheetReference Assembly="Telerik.Web.UI.Skins" Name="Telerik.Web.UI.Skins.Web20.Window.Web20.css" />

 

 

 

</StyleSheets>

 

 

 

</telerik:RadStyleSheetManager>

 

Dobromir
Telerik team
 answered on 07 Nov 2012
5 answers
126 views
  1. In the New AdvancedForm.acsx page I need the following changes for the recurrence section:
    1. Default the recurrence to weekly
    2. Default the “end after __ occurrences” to 10
    3. Change the “end by” to default to 10 weeks later than the selected date

I am using :

 

<telerik:RadSchedulerRecurrenceEditor runat="server" ID="AppointmentRecurrenceEditor" Height="100%" Style="padding-left: 25px;" />


for Recurrences.

Can U please help in resolving the issue

Thanks in Advance,
Chandu

 

Plamen
Telerik team
 answered on 07 Nov 2012
1 answer
281 views
Hi,

I am new to Organization chart. In am binding the OrgChart with Collection objects. After binding the chart i am having the following option in Org chart.
Create new node (using creating node item in the collection and rebind it to to chart).
Edit or Delete node (using contextmenu right click update the coloection and rebind it to OrgChart).

Please let me know how to change the background color in the chart node item.
While creating the new code it will be show with different color to highlight.
While edit or deleting the new code it will be show with different color to highlight.

Regards,
Kannan S


Plamen
Telerik team
 answered on 07 Nov 2012
4 answers
155 views
I have set AllowMultiRowEdit = true in order to put every item in the grid to edit mode, then edit and update them all at once.
However, it seem to me that if there is too many item that are editing at a time, then the update won't work.
For example, if I set the PageSize = 80, it will work perfectly, but if I set it to be 100, then it won't work. At first, I thought that 80 is the limit number of row that can be editing at a time, but then when I tested with another grid, It works when I set PageSize to 50, but it won't work if I set the PageSize to 55.

I guess that it's has something to do with the limit of amount of data that the grid can hold at a time or so.

Would you please explain?

Thanks

Lamk.

 

LamKhoa
Top achievements
Rank 1
 answered on 07 Nov 2012
2 answers
100 views
Hello

When clicking on add new record link, everything works alright. But when clicking on plus icon (just on the left of add new record link), not only new item overlay window pops up, but additionally new item row is shown in grid, as inline editing would have been enabled (which is not the case).

Thank you and best regards,
Roger
Tsvetoslav
Telerik team
 answered on 07 Nov 2012
4 answers
266 views
Hi There,

I have a repeater control that outputs two RadDatePickers per row as shown below.

<asp:Repeater ID="rep_mediaassetbursts" runat="server" DataSourceID="ods_mediaassetbursts" OnItemDataBound="rep_mediaassetbursts_ItemDataBound"
            <HeaderTemplate> 
                <table> 
                <tr> 
                <th>Bursts</th> 
                <th>Value</th> 
                <th>Start Date</th> 
                <th>End Date</th> 
                </tr> 
            </HeaderTemplate> 
            <ItemTemplate> 
                <tr> 
                <td><asp:Label ID="burstNumber" runat="server" Visible='true' ></asp:Label></td
                <td><telerik:RadNumericTextBox ID="MediaAssetBurstValue" runat="server"  DbValue='<%# Bind("investment") %>'  MinValue='0' Width="75px" DataType="System.Int32" Type="Currency"  ><NumberFormat DecimalDigits="0"  /><EnabledStyle HorizontalAlign="Right" /></telerik:RadNumericTextBox></td
                <td><telerik:RadDatePicker ID="BurstStartDate" runat="server"
                    </telerik:RadDatePicker><asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="BurstStartDate" 
                ErrorMessage="Enter a date!" Display="Dynamic"></asp:RequiredFieldValidator></td
                <td><telerik:RadDatePicker ID="BurstEndDate" runat="server"   ></telerik:RadDatePicker><asp:RequiredFieldValidator runat="server" ID="Requiredfieldvalidator2" ControlToValidate="BurstEndDate" 
                ErrorMessage="Enter a date!" Display="Dynamic"></asp:RequiredFieldValidator><asp:CompareValidator ID="dateCompareValidator" runat="server" ControlToValidate="BurstEndDate" 
                ControlToCompare="BurstStartDate" Operator="GreaterThanEqual" Type="Date" ErrorMessage="The second date must be after the first one." Display="Dynamic"></asp:CompareValidator> 
                <asp:Label runat="server" ID="datevalue"></asp:Label> 
                </td> 
                </tr> 
            </ItemTemplate> 
            <FooterTemplate> 
                <tr> 
                <td></td
                <td> 
                <telerik:RadNumericTextBox ID="burstTotalValue" Type="Currency" runat="server"  Value='0'  MinValue='0' Width="75px" DataType="System.Int32" ReadOnly="true"  > 
                <NumberFormat DecimalDigits="0"  /> 
                <ReadOnlyStyle BorderStyle="none" HorizontalAlign="Right" /> 
                </telerik:RadNumericTextBox></td
                <td colspan="2"><asp:CompareValidator ID="burstTotalValueCheck" runat="server" 
                    ErrorMessage="Burst Totals must match the total investment for the assset" ControlToValidate="burstTotalValue" Type="Integer"></asp:CompareValidator></td
                </tr> 
                </table> 
            </FooterTemplate> 
            </asp:Repeater> 

I want to associate a javascript function to the OnDateSelected event for each of the RadDatePickers so that i can work out the number of weeks between the dates and display the value in the "datevalue" label. 

I am aware of the standard paramaters that get passed to the javascript function that you assign to the OnDataSelected property, but my problem is from within that function how can I access the other RadDatePicker and also the label.

If I was able to make OnDateSelected take extra paramaters i could pass into it the client id for the other RadDatePicker and the label.

I am looking for any suggested approaches.

Thanks in advance
Jason
Mahtab
Top achievements
Rank 1
 answered on 07 Nov 2012
1 answer
122 views
I am using Telerik ajax controls in VS2010 asp.net web project.
I am only targetting IE v8 browser.

When I encounter server side code exception, I get an error dialog box "There was an error in the call back."

When I click okay, nothing happens at the server side and code stops executing.

In this web application, there is no try catch exception handling any where. All the exception bubble up to Application_Error in global.asax.
In this specific case, how can I bubble up the exception to Global.asax?

Please help.

Thanks
Slav
Telerik team
 answered on 07 Nov 2012
2 answers
226 views
Hi All,

After installing the new version of editor (Telerik.Web.UI, Version=2012.2.912.40) hoping to fix some of the formatting issues I seem to have introduced more formatting issues. The problem is that if I type some text and try to change the font it does not change at all. When switching to HTML view I see following which appears to be properly formatted and all:
<span style="font-family: Courier New;">dfasdf asdf asdf asdf</span>

I have defined the editor as following:
<telerik:RadEditor runat="server" ID="richText" EditModes="Design" ToolsFile="EditorTools.xml" ContentAreaMode="Div" ContentFilters="ConvertFontToSpan,ConvertToXhtml,ConvertCharactersToEntities,IndentHTMLContent" StripFormattingOptions="All" Width="935px">
</telerik:RadEditor>

When inspecting html code using F12 Developer Tools I noticed that the content is still using FONT tag:
<FONT face="Courier New">dfasdf asdf asdf asdf</FONT>

Can anyone advise on this behavior? Has anything changed or have I missed anything?

Thanks

PS: I am on Win7 and IE9. Also see code discrepancy in the screenshot of the F12 tools
Aleksey
Top achievements
Rank 1
 answered on 07 Nov 2012
1 answer
61 views
Hi to all,
It's first time to use RadUpload control, I followed tutorial.
And now I would use this control in "insert form":

Insert several information and I attach 2 files (for example) then I submit my informations, it may be upload 2 files and then send my information.

How can I intercept "All Uploaded File event"?

Plamen
Telerik team
 answered on 07 Nov 2012
3 answers
63 views
Hi,

I use RadDock panels to give me a panel with a title bar.  Worked fine till Q3 now they all seem to float to the left.  Before they sat where they were put on the page.

Please could you advise me on any changes made between Q2 and Q3 so that I can get a work around for this problem.

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 07 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?