Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
118 views
Hi telerik

Can I perform mathematical validation using radcaptcha? Ex. 3+2=? like this.

Any help appreciated
Lovella
Shinu
Top achievements
Rank 2
 answered on 19 Sep 2013
3 answers
408 views
how to increase the font size of text which we enter in the search box .
i tried font-size property but its not working for me..
Magdalena
Telerik team
 answered on 19 Sep 2013
2 answers
98 views
I guys, I´m new in telerik and I began to study the scheduler component, everything works fine with the database but I´m not using stored procedures, so I wanna know how can I use stored procedure with the scheduler component...
Vanilson
Top achievements
Rank 1
 answered on 19 Sep 2013
4 answers
146 views
Hi

Updated radcontrols to the latest release and noticed an usual behavior with radwindow title. Before updating the window title is automatically set to the title of its content by default and in the new release the title is null if no value is specified. Is this an expected modification?

Thanks
Damian
Shinu
Top achievements
Rank 2
 answered on 19 Sep 2013
21 answers
703 views
Documentation states:  

RadAsyncUpload's file handler can be inherited and extended to support custom functionality, for example, saving images directly to a database, without using temporary folder. 
(http://www.telerik.com/help/aspnet-ajax/asyncupload-extending-handler.html) 

I believe I've implemented a custom handler as described in the documentation, but when deployed to a test server running with limited permissions I am seeing: RadAsyncUpload could not create App_Data folder.

My custom handler writes files directly to the database, am I missing something or is the Temp directory always required for the async upload control?

I have DisablePlugins="true" and HttpHandlerUrl="~/Handlers/ImageUploadHandler.ashx"

Please advise.

Thanks,

Adam Nelson

Hristo Valyavicharski
Telerik team
 answered on 19 Sep 2013
12 answers
349 views
I have a RadComboBox following the Load-on-demand PageMethod example. http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx

I am getting an alert with the message 'Authentication Failed' when I click the drop down. The RadComboBox happens to be in a RadGrid and I tried calling the same method on the RadGrid DataItemBound event and the method completed successfully (removing any question of database connectivity issues).

<telerik:RadComboBox ID="uxService" runat="server" DropDownWidth="175px" EmptyMessage="Service:" Height="150px" Width="100px" EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" OnClientBlur="dropDownBlur">
   <WebServiceSettings Method="GetServices" Path="TimeCard.ascx" />
</telerik:RadComboBox>

[WebMethod]
public static RadComboBoxData GetServices(RadComboBoxContext context)
{
    DataView data = Website.BlueSkyFactory.Time.GetServices(context.Text + "%");
    RadComboBoxData serviceData = new RadComboBoxData();
    int itemOffset = context.NumberOfItems;
    int endOffset = Math.Min(itemOffset + ItemsPerRequest, data.Count);
    serviceData.EndOfItems = endOffset == data.Count;
    List<RadComboBoxItemData> result = new List<RadComboBoxItemData>(endOffset - itemOffset);
    RadComboBoxItemData itemData;
    for (int i = itemOffset; i < endOffset; i++)
    {
        itemData = new RadComboBoxItemData();
        itemData.Text = data[i]["FriendlyName"].ToString();
        itemData.Value = data[i]["ServiceId"].ToString();
        result.Add(itemData);
    }
    serviceData.Message = GetStatusMessage(endOffset, data.Count);
    serviceData.Items = result.ToArray();
    return serviceData;
}

Please advise.
Nencho
Telerik team
 answered on 19 Sep 2013
1 answer
134 views
I am attempting to display aggregates in the group header.

I am attempting to use the example from this link:
http://www.telerik.com/help/aspnet-ajax/grid-group-header-footer-templates.html

However I keep getting the following error:

Compiler Error Message: BC30108: 'GridGroupHeaderItem' is a type and cannot be used as an expression.

Source Error:

Line 130: <asp:Label ID="Label7" runat="server" Text='<%# Eval("IDIssueCategory") %>'>

Line 131: </asp:Label>

Line 132: <asp:Label runat="server" ID="Label2" Width="200px" Text='<%# "Number of units: "+ (((GridGroupHeaderItem)Container).AggregatesValues["Subject"]) %>'

Line 133: Visible='<%# ((((GridGroupHeaderItem)Container).AggregatesValues["Subject"]) != null)%>'>

Line 134: </asp:Label>


Here is my code.
<telerik:RadGrid ID="rgd_OpenTickets" runat="server" Skin="WebBlue" CellSpacing="0"
                                    DataSourceID="sds_OpenTickets" GridLines="None" ShowFooter="True" FooterStyle-HorizontalAlign="Left">
                                    <MasterTableView AutoGenerateColumns="False" ClientDataKeyNames="IDIssueCategory"
                                        DataKeyNames="IDIssueCategory" DataSourceID="sds_OpenTickets" HeaderStyle-HorizontalAlign="Center"
                                        ShowFooter="True" ShowGroupFooter="True">
                                        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                                        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                                        </RowIndicatorColumn>
                                        <GroupByExpressions>
                                            <telerik:GridGroupByExpression>
                                                <SelectFields>
                                                    <telerik:GridGroupByField FieldName="CategoryName" HeaderText=" " />
                                                </SelectFields>
                                                <GroupByFields>
                                                    <telerik:GridGroupByField FieldName="IDIssueCategory" />
                                                </GroupByFields>
                                            </telerik:GridGroupByExpression>
                                        </GroupByExpressions>
                                        <Columns>
                                            <telerik:GridBoundColumn DataField="IDIssueCategory" DataType="System.Int32" FilterControlAltText="Filter IDIssueCategory column"
                                                HeaderText="IDIssueCategory" SortExpression="IDIssueCategory" UniqueName="IDIssueCategory"
                                                Visible="False">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="CategoryName" DataType="System.Int32" FilterControlAltText="Filter CategoryName column"
                                                HeaderText="CategoryName" SortExpression="CategoryName" UniqueName="CategoryName"
                                                Visible="False">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="IDTicket" DataType="System.Int32" FilterControlAltText="Filter IDTicket column"
                                                HeaderText="ID" ReadOnly="True" SortExpression="IDTicket" UniqueName="IDTicket"
                                                ItemStyle-Width="20px" ItemStyle-HorizontalAlign="Center">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="RequestorUserName" FilterControlAltText="Filter RequestorUserName column"
                                                HeaderText="Requestor" SortExpression="RequestorUserName" UniqueName="RequestorUserName"
                                                ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="EnteredDate" HeaderText="Enter Date" ItemStyle-Width="65px"
                                                SortExpression="EnteredDate" UniqueName="EnteredDate" FilterControlAltText="Filter EnteredDate column"
                                                HeaderStyle-HorizontalAlign="Center" DataType="System.DateTime" DataFormatString="{0:MM/dd/yy}"
                                                ItemStyle-HorizontalAlign="Center">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Priority" FilterControlAltText="Filter Priority column"
                                                HeaderText="Priority" SortExpression="Priority" UniqueName="Priority" ItemStyle-Width="20px"
                                                ItemStyle-HorizontalAlign="Center" DataType="System.Decimal">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Status" FilterControlAltText="Filter Status column"
                                                HeaderText="Status" SortExpression="Status" UniqueName="Status" ReadOnly="True"
                                                ItemStyle-Width="70px">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Subject" FilterControlAltText="Filter Subject column"
                                                HeaderText="Subject" SortExpression="Subject" UniqueName="Subject" ItemStyle-HorizontalAlign="Left"
                                                FooterStyle-HorizontalAlign="Left" FooterText="Tickets " Aggregate="Count">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="AssignedTech" FilterControlAltText="Filter AssignedTech column"
                                                HeaderText="Tech" ReadOnly="True" SortExpression="AssignedTech" UniqueName="AssignedTech"
                                                ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Left" FooterStyle-HorizontalAlign="Right">
                                            </telerik:GridBoundColumn>
                                        </Columns>
                                        <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
                                        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                                        <GroupHeaderTemplate>
                                            <asp:Label ID="Label7" runat="server" Text='<%# Eval("IDIssueCategory") %>'>
                                            </asp:Label>
                                            <asp:Label runat="server" ID="Label1" Width="200px" Text='<%# "Total: "+ (((GridGroupHeaderItem)Container).AggregatesValues["Subject"]) %>'
                                                Visible='<%# ((((GridGroupHeaderItem)Container).AggregatesValues["Subject"]) != null)%>'>
                                            </asp:Label>
                                        </GroupHeaderTemplate>
                                    </MasterTableView>
                                    <FooterStyle BackColor="#CCFF99" Font-Bold="True"></FooterStyle>
                                    <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
                                    <FilterMenu EnableImageSprites="False">
                                    </FilterMenu>
                                </telerik:RadGrid>


Any help much appreciated.

Kostadin
Telerik team
 answered on 19 Sep 2013
3 answers
74 views
I have a very unusual problem.After adding the property ShowContentDuringLoad="False" at rad window a scroll bar appears at radgrid inside the rad window.Can you please help. My telerik version is Q2 2013. Please check the attached image.
Marin Bratanov
Telerik team
 answered on 19 Sep 2013
3 answers
64 views
Hello Telerik Team,

I'm using your scheduler, and found a problem when adding an appointment to the scheduler using context menu.
I was able to reproduce the same problem in your online example: http://demos.telerik.com/aspnet-ajax/scheduler/examples/contextmenu/defaultcs.aspx.
To debug the problem, please set the scheduler to "Month View" and "Group by Calendar", next select 2 or 3 days using dragging on the timeslot and click in context option "New Appointment", in your example I'm redirected to this page "http://demos.telerik.com/ErrorPageResources/error.aspx?aspxerrorpath=/aspnet-ajax/scheduler/examples/contextmenu/defaultcs.aspx", I'm my code I get the error:
Resource index out of range: 6
at Telerik.Web.UI.Scheduler.Views.Month.GroupedByResource.Model.GetSlotByIndex(String index)
   at Telerik.Web.UI.Scheduler.Views.SchedulerModel.ProcessPostBackCommand(SchedulerPostBackEvent postBack)
   at Telerik.Web.UI.Scheduler.Views.SchedulerModel.<GetTimeSlotContextMenuCommands>b__1(ISchedulerModel ActiveModel, SchedulerPostBackEvent postBack)
   at Telerik.Web.UI.RadScheduler.ProcessTimeSlotContextMenuItemCommand(SchedulerPostBackEvent postBack)
   at Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack)
   at Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument)
   at Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
.......

Is this a bug, or something I'm doing wrong?

Thanks for the fast reply.
Alexandre Pereira
Plamen
Telerik team
 answered on 19 Sep 2013
1 answer
100 views
Hi,

When using IE10 in compability mode the scheduler shrinks the days as you can see in attached file 1.jpg. In the 2.jpg file you can see how the scheduler is displayed compatibility mode disabled.

This scheduler is running as a client web part (provider hosted app) in a Sharepoint.

Telerik version: 2013.2.717.45
Plamen
Telerik team
 answered on 19 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?