Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
85 views
Team,

I get a weird issue in RadScheduler in Week View mode, 

I use WebService to bind the Scheduler, in scheduler i use only Read-Only functionality. No Appointment creation or edit or delete, only to render the events i use the scheduler. 

First when i load to Day View mode, everything shows fine. but once i move to Week view mode it throws a error message  
"Microsoft JScript runtime error: Unable to get value of the property 'cells': object is null or undefined" (Script Reference: Type.registerNamespace("Telerik.Web.UI.Scheduler"). 

This is not reproducible when I Set ShowFullTime="true" in page Load, but you click at show business hours this issue again resumes. 

Please help me to resolve the issue. 

Thanks,
Ilayaraja.C
Boyan Dimitrov
Telerik team
 answered on 24 Oct 2012
1 answer
49 views
Hello,

Congrats on the new release. The new demo section looks really nice!

I  just spotted a problem with this demo:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/pdfexport/defaultcs.aspx


Regards,
Peter
Plamen
Telerik team
 answered on 24 Oct 2012
1 answer
77 views
After update to latest control version, some of my ComboBoxes will not callback to get results for "load on demand" scenarios.  I have three load on demand combo boxes on one page.  One continues to work, two do not.  In the firefox debugger I can see the working control performing a postback when I type in the box.  The other two do nothing when type.

Works:
<telerik:RadComboBox ID="cboEvents" runat="server"
 AutoPostBack="false" DropDownWidth="675px" EmptyMessage=""
 Height="200px" HighlightTemplatedItems="true" EnableLoadOnDemand="True" AllowCustomText="True" EnableVirtualScrolling="True" ShowMoreResultsBox="True" OnItemsRequested="cboEvent_ItemsRequested"
 Skin="Windows7" Width="300px">

Doesn't work:
<telerik:RadComboBox ID="cboURL" runat="server" AllowCustomText="True"
                                AutoPostBack="false" DropDownWidth="675px" EmptyMessage=""
                                EnableLoadOnDemand="True" EnableVirtualScrolling="True" Height="200px"
                                HighlightTemplatedItems="true"
                                ShowMoreResultsBox="True" OnItemsRequested="cboURL_ItemsRequested"
                                Skin="Windows7" Width="500px"
                                EnableAutomaticLoadOnDemand="True">
Fred Taylor
Top achievements
Rank 1
 answered on 24 Oct 2012
1 answer
180 views
Hi everyone. 

I can bind 2 level grid from object datasource. but how can i bind 3 level grid from my object datasource?
My First ObjectDataSource take no parameter,
My second ObjectDatasource take orderId;
I want to my third objectdatasource take orderProductId from 2.level; 
My code is;
telerik:RadGrid ID="radGridOrderProduct" ShowStatusBar="True" DataSourceID="objDsCartProductList"
    runat="server" Width="100%" AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True"
    GridLines="None" CellSpacing="0">
    <PagerStyle Mode="NumericPages"></PagerStyle>
    <MasterTableView Width="100%" DataSourceID="objDsCartProductList" DataKeyNames="Id"
        AllowMultiColumnSorting="True">
        <NestedViewTemplate>
            <asp:Label ID="Label1" Text='<%#Eval("Id") %>' Visible="false" runat="server" />
            <telerik:RadGrid runat="server" ID="radGridOrderProductDetail" DataSourceID="objDsCartProductList"
                GridLines="None">
                <MasterTableView ShowHeader="true" AutoGenerateColumns="False" runat="server" HierarchyLoadMode="ServerOnDemand"
                    DataSourceID="objDsCartProductList">
                    <Columns>
                        <telerik:GridTemplateColumn>
                            <ItemTemplate>
                                <asp:Label ID="lblTotalPrice" runat="server" Font-Bold="true" Font-Size="14px" Text='<%#                (Eval("TotalPrice").ToString()) %>'></asp:Label>
                                <span>TL</span>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
            <asp:ObjectDataSource ID="objDsCartProductList" runat="server" SelectMethod="GetOrderProductListWithOrderId"
                TypeName="MatriksEshop.Web.UserControls.Order.Control.BaseUserControl">
                <SelectParameters>
                    <asp:ControlParameter ControlID="Label1" Name="orderId" PropertyName="Text" Type="String" />
                </SelectParameters>
            </asp:ObjectDataSource>
        </NestedViewTemplate>
        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
        </RowIndicatorColumn>
        <ExpandCollapseColumn Visible="True">
        </ExpandCollapseColumn>
        <Columns>
            <telerik:GridTemplateColumn>
                <HeaderTemplate>
                    <asp:Label ID="lblTotalPrices" runat="server" Text="<%$ Resources:Eshop, ProductTotal%>"></asp:Label>
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblTotalPrice" runat="server" Font-Bold="true" Font-Size="14px" Text='<%#(Eval("TotalPrice")) %>'></asp:Label>
                    <span>TL</span>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
            </EditColumn>
        </EditFormSettings>
    </MasterTableView>
    <FilterMenu EnableTheming="True">
        <CollapseAnimation Duration="200" Type="OutQuint" />
    </FilterMenu>
</telerik:RadGrid>
<asp:ObjectDataSource ID="objDsCartProductList" runat="server" SelectMethod="GetOrderListWithMemberId"
    TypeName="MatriksEshop.Web.UserControls.Order.Control.BaseUserControl"></asp:ObjectDataSource>

I want to 3.level grid objectDataSource SelectMethod = "GetOrderProductLicenseWithOrderProductId"
Parameter should be radGridOrderProductDetail datakeynames or "Id".
Can u help me for this point?

Best Regards
Angel Petrov
Telerik team
 answered on 24 Oct 2012
3 answers
261 views
How can I set the ReadOnly style on the inputbox for the RadDatePicker ?
Vasil
Telerik team
 answered on 24 Oct 2012
1 answer
192 views
When I Click on spell Check error Come Spell Check Handler Server Error 12030
How to fix
Rumen
Telerik team
 answered on 24 Oct 2012
1 answer
90 views
Hi,
I need to select RadGridRow and in-turn need to fire OnRowSelected event with button added to ClientItemTemplate of RadGrid.
Eyup
Telerik team
 answered on 24 Oct 2012
4 answers
183 views


Hi, I have a grid with some rows, for each row I have an radcombobox but this is showed with a bad visualization. I've attached how can I see this error and I pasted the code of this.
Could you help me? Thanks in advance

 

 

<telerik:RadGrid ID="grd" runat="server" OnItemDataBound="grd_ItemDataBound">

<MasterTableView CommandItemDisplay="Top" AutoGenerateColumns="False" >
<Columns>

 ....
<

telerik:GridTemplateColumn HeaderText="Status">

 <ItemTemplate>

 <telerik:RadComboBox ID="RadComboStatus" Width="90px" DataValueField="idStatus"

DataTextField="Description" runat="server" />

</ItemTemplate>

</telerik:GridTemplateColumn>

 ...

 

 

protected void grd_ItemDataBound(object sender, GridItemEventArgs e)

{

   RadComboBox combotaxStatus = (RadComboBox)e.Item.FindControl("RadComboStatus");

   combotaxStatus.DataSource =

TaxStatusFactory.getStatus();

   combotaxStatus.SelectedValue = _Status;

   combotaxStatus.Attributes.Add(

"txt", String.Concat("lblXXX", "XXX", idContrato));

   combotaxStatus.Attributes.Add(

"txt", String.Concat("lblXXX", "XXX", idContrato));

   combotaxStatus.Attributes.Add(

"txt", String.Concat("lblXXX", "XXX", idContrato));

 

   combotaxStatus.OnClientSelectedIndexChanged = 

"OnClientSelectedIndexChanged";
   combotaxStatus.DataBind();

}

Andrey
Telerik team
 answered on 24 Oct 2012
1 answer
202 views
Hi
I have a user control that contains some Rad-controls (RadComboBox, RadMenu, AjaxPanel, ...) and some javaScript methods and it works correctly.

In my web site I need to use it in a panel that must be invisible at first page load, but unfortunately this property (visible = false) cause that user control's javascript isn't rendered and there are some errors about not finding javascript methods in the code page.

My user control's javascript code is in RadCodeBlock.

What is my solution?

How can I have a user control that can be invisible at first and after showing, its scripts has no errors?


Eyup
Telerik team
 answered on 24 Oct 2012
5 answers
519 views
Hello,

I'm using the following RadEditor within the usercontrol of the Insert/Update/Delete RadGrid:
<telerik:RadEditor runat="server" ID="CntntRadEditor" Enabled="false" Height="500px" Width="100%" style="z-index:1000;" Content='<%# DataBinder.Eval( Container, "DataItem.Cntnt") %>' ToolsFile="~/Common/Controls/RadEditor/xml/CustomFullSetOfToolsForSecureTables.xml">
                            <Modules>
                                <telerik:EditorModule Visible="false" />
                            </Modules>
                            <ImageManager ViewPaths="~/Guide/Design/Contents" UploadPaths="~/Guide/Design/Contents" DeletePaths="~/Guide/Design/Contents" />
                            <DocumentManager ViewPaths="~/Guide/Design/Contents" UploadPaths="~/Guide/Design/Contents" DeletePaths="~/Guide/Design/Contents" SearchPatterns="*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.xml" />
                        </telerik:RadEditor>

The problem is that the RadEditor control is hidden by seeting the property Enabled=false.
If I remove that property, the RadEditor is displayed normally.
The requirements is to disable the RadEditor control in order to prevent the user from typing a text and from clicking any icon from the RadEditor toolbar.

Please, I need your help,
It is appreciated to send me the modified code.

Regards,
Bader
Rumen
Telerik team
 answered on 24 Oct 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?