Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
117 views
Hello

Fields of type URL are not shown as normal links (with URL description as display text and URL address as href), but in form of http://www.xxx.com, URL description. When you click on the link, the view item properties window is opening instead of target address.

How can you control the rendering of URL values in the grid?

In the normal view of corresponding list in SharePoint the links are shown correctly.

Thank you and best regards,
Roger
Tsvetoslav
Telerik team
 answered on 24 Oct 2012
4 answers
72 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
40 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
59 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
148 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
232 views
How can I set the ReadOnly style on the inputbox for the RadDatePicker ?
Vasil
Telerik team
 answered on 24 Oct 2012
1 answer
162 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
64 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
163 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
168 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?