Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
58 views
Hi,

When using IE9 the editor sometimes inserts html in the parent window.
Try the following in your demo (ContentAreaMode='Div'):
1. Select all text in the editor (Ctrl-A)
2. Press delete to clear all text
3. Press the "Numbered List" toolbar menu item.

When doing this, and other cases to but this was an easy way to demonstrate the problem, the "1. " text is inserted at the top of the entire page!!!
This breaks our entire application...

Regards
Caesar
Andreas
Top achievements
Rank 1
 answered on 10 Jan 2012
2 answers
468 views
Here is what I am doing:

RadGrid has a GridButtonColumn. When column hyperlink is clicked (OnItemCommand) I do among other things Response.Wirte and it blows up inside Telerik client code with famous error:

Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when ....

What is workaround for this? I believe it has to do something with making hyperlinks to do postback, right?

-Stan

Stan
Top achievements
Rank 1
 answered on 10 Jan 2012
4 answers
334 views

Once button on the form is clicked, the grid is groupped with something like:

GridGroupByExpression expression = new GridGroupByExpression();
            expression.SelectFields.Add(new GridGroupByField
            {
                FieldName = "orderNumber",
                HeaderText = "Order",
                FormatString = "<strong>{0}</strong>"
            });
            myGgrid.MasterTableView.GroupByExpressions.Add(expression);
        }

That works fine, but the groups cannot be collapsed or expanded (if I set GroupsDefaultExpanded="false" and they are collapsed by default). When group expand/collapse is clicked, the gird posts back  but that does not change grouping. Where would I look to fix it?
Stan
Top achievements
Rank 1
 answered on 10 Jan 2012
8 answers
129 views
We've got a scheduler that is inside of an ajax panel. People can hit next and previous to look at different schedule combinations. However, when a person clicks Print (which does an export), the next time they click Next or Previous to view another schedule, the scheduler changes it's width. It's like it goes to what it shrunk itself down to in order to fit on a page.

Here is a video: http://screencast.com/t/RiKad4nV4

Here is what I've got for the scheduler settings:
<telerik:RadScheduler ID="sched" SelectedDate="1/2/2000" runat="server" ShowHeader="false"
                    AllowDelete="false" AllowEdit="false" AllowInsert="false" FirstDayOfWeek="Sunday"
                    ReadOnly="true" SelectedView="WeekView" ShowAllDayRow="true" ShowViewTabs="false"
                    DataDescriptionField="Description" DataEndField="EndTime" DataStartField="StartTime"
                    DataSubjectField="Name" DataKeyField="Key" Height="100%" RowHeight="17px" ShowFooter="false"
                    OnClientNavigationCommand="NavigationCommand" Localization-AllDay="Online" Width="100%">
                    <WeekView ColumnHeaderDateFormat="ddd" ReadOnly="true" EnableExactTimeRendering="true" />
                    <ExportSettings OpenInNewWindow="true" FileName="Scheduler">
                        <Pdf PageTitle="Schedule" Author="Telerik" Creator="Telerik" Title="Schedule" PageHeight="8.5in"
                            PageWidth="11in" />
                    </ExportSettings>
                </telerik:RadScheduler>

Adam
Top achievements
Rank 1
 answered on 10 Jan 2012
1 answer
76 views
Hi,

I have copied the radRotator Pager Integration page from the examples. I have managed to get it to display my own images, but for some or other reason, the page numbers do not appear as they do in the example. In the example, they appear as numbers in little buttons, but mine show as plain text.

Please see the attached images.

Does anyone know what I am doing differently to the example? I also want the little buttons.


Thanks,
Pierre
Richard
Top achievements
Rank 1
 answered on 10 Jan 2012
5 answers
1.1K+ views
I tried the "borderstyle="none" but it didn't work. Thanks!
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
 answered on 10 Jan 2012
6 answers
176 views

When I try to switch between views on my scheduler I get the following Java error and the scheduler does not render, It works fine untill i switch between  day, week or month views.

as follows 

Microsoft JScript runtime error: '0._preInitialized' is null or not an object
Failes in the followin JS script

 

Telerik.Web.UI.RadScheduler._preInitialize=

function(_10d,_10e,_10f,_110,_111){

 

 

var _112=$("#"+_10d);

 

 

if(_112[0]._preInitialized==true&&!$telerik.isIE){

 

 

return;

 

}

 

line in bold is where the error happens.

I assume I must not have set somthing but just cant find it.

Julian

Plamen
Telerik team
 answered on 10 Jan 2012
8 answers
120 views
Hello,

I'm hoping to use the SocialShare control in a client-side setting where I could set the url from javascript.  Is this possible now?  I didn't see any documentation in that regard.  If not, is this something that is planned?

Thanks,
Chris
Alin
Top achievements
Rank 1
 answered on 10 Jan 2012
2 answers
70 views
Hello,

I have a scenario in which is necessary to set the url for social share control via client side! It's about a RadRotator which shows images ( I got the example from the demo section with ImageGallery) and since the rotator has client side events when changing item, I would like to set the url for the social share control on the OnClientItemShown event of the rotator control. Is this possible? Thx a lot. 
Svetlina Anati
Telerik team
 answered on 10 Jan 2012
6 answers
469 views
Hello!

I'm trying to use GridCalculatedColumn in order to show concatenated and formatted values.

I need to show StartTime and EndTime as 08:45 AM - 01:45 PM
Similarly, Rate and RatePlus as £15.50 + £14.00

Successfully doing this will help me eliminate two/four columns. However, formatting is utmost necessary. My web applications culture is set to UK in web.config. The data source being fed to the grid is coming through LINQ -> DataTable -> Grid. Commenting these two GridCalculatedColumn makes everything run just fine. However, with these two columns, I get the following error upon Databind():
Expression of type 'System.Nullable`1[System.DateTime]'
cannot be used for parameter of type 'System.Object'
of method 'System.String Concat(System.Object, System.Object)'

I have confirmed that no null value is present in the result of the query.

<telerik:GridCalculatedColumn
    UniqueName
="Timings"
    HeaderText
="Timings"
    DataType
="System.DateTime"
    DataFields="StartTime, EndTime"
    Expression
='{0} + "&nbsp;" + "-" + ";&nbsp;" + {1}'
    DataFormatString="{0:hh:mm tt}" />

<telerik:GridCalculatedColumn
    UniqueName
="Rates"
    HeaderText
="Rates"
    DataType
="System.Decimal"
    DataFields="Rate, RatePlus"
    Expression
='{0} + "&nbsp;" + "+" + ";&nbsp;" + {1}'
    DataFormatString="{0:C2}" />

Any help will be highly appreciated.

Regards.
Shinu
Top achievements
Rank 2
 answered on 10 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?