Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
156 views
hi.. i'm new user for radschedular and i have questions some point.. i want to when the appointment is moved updated for database..
. js and. cs pages have only encode but I could not send my data OnClickAppointmentMoveEnd  to radschedular_appointmentUpdate..
i have tried for this "schedular.updateAppointment(appointment)" but not contact to radschedular_appointmentUpdate in .cs file..
Any help would be great.
Plamen
Telerik team
 answered on 28 Nov 2013
1 answer
124 views
Hi guys,

How can i set different increment setting step for hour field and minute field.

I mean i would like to increment/decrease one hour when pressing up/down arrows. But i would like to increment/decrease 15 minutes when pressing up/down arrows.

Thank you for your help.
Sonia.
Princy
Top achievements
Rank 2
 answered on 28 Nov 2013
6 answers
328 views
We're evaluating the trial version of the Telerik AJAX control suite, and we like it very much.

However, regarding the Grid we're wondering why we need to sort a column in ascending order first when we know upfront we want to sort descending.
The way it is now we need to fetch all data twice which costs extra time and is irritating as well.

Why not 2 sort arrows in the column header so we can trigger the sorting order we need right away?
Princy
Top achievements
Rank 2
 answered on 28 Nov 2013
3 answers
180 views
In my grid if I set the DataKeyName field ReadOnly to "true" so it cannot be edited when I click a row to enter edit mode I get this error,
Unhandled exception at line 885, column 13 in http://localhost:59512/ScriptResource.axd?d=j9g8KwFmyomCksH8Wgu8D921e69mOXBSgcRNM_TYTpo8fsl9bB8knaOk3eJy7i5Vsb6eNonPd3OAqh2MBYPCrNV52HuzPz2Aa-oyIrtDhXd-WOK9m-TImS6nd3inJNNp1xw6jnQGAvJnKfjurTJifqmDUI5njfi6aRYOERJTLDf7VE7Tms_H7Dr6lpjgTT2J0&t=6119e399

0x800a139e - JavaScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Value cannot be null.

Parameter name: g


If I do not set the DataKeyName field ReadOnly="true" I do not get this error, but the field is shown and editable in the edit popup.
Princy
Top achievements
Rank 2
 answered on 28 Nov 2013
0 answers
96 views
Nevermind. Its totally user error.
 
Beth
Top achievements
Rank 1
 asked on 27 Nov 2013
4 answers
153 views
I have a GridTemplateColumn that has a checkbox as a item template.
How can i update a column say "ClassNo" with a value in a textbox on a button click.
Any idea or work around
Thank you
Edd
Top achievements
Rank 1
 answered on 27 Nov 2013
2 answers
159 views
Hi,
I have a following problem. First code:
<telerik:RadPanelBar runat="server" ID="RadPanelBar2" ExpandMode="SingleExpandedItem" Width="100%">
            <Items>
                <telerik:RadPanelItem ImageUrl="~/Images/Att.png" Text="MojAtak" runat="server" Expanded="True">
                    <Items>
                        <telerik:RadPanelItem runat="server">
                            <ItemTemplate>
                                <asp:TextBox ID="ReportBox" class="text" runat="server" Style="height: 99%; width: 98%; font-size: 9px; border-style: none;" TextMode="MultiLine" onkeyup="javascript: czytaj();"></asp:TextBox>
                                <asp:TextBox ID="txtKto" runat="server" class="text" Height="14px" Style="width: 140px;" Font-Size="Small" BackColor="#CCFFFF" Font-Italic="True"></asp:TextBox>
                            </ItemTemplate>
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
 
                <telerik:RadPanelItem ImageUrl="~/Images/Cone.png" Text="Outbox" runat="server">
                    <Items>
                        <telerik:RadPanelItem runat="server">
                            <ItemTemplate>
                                <asp:TextBox ID="txtKogoS" runat="server" class="text" Height="14px" Style="width: 140px;" Font-Size="Small" ReadOnly="True" BackColor="#CCFFFF" Font-Italic="True"></asp:TextBox>
                                <asp:TextBox ID="txtDataS" runat="server" class="text" Height="14px" Style="width: 140px;" Font-Size="Small" ReadOnly="True" BackColor="#CCFFFF" Font-Italic="True"></asp:TextBox>
                            </ItemTemplate>
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>
 
        <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
            <script type="text/javascript">
                var ReportBox = '<%=((TextBox)RadPanelBar2.Items[0].Items[0].FindControl("ReportBox")).ClientID%>';
                var KtoBox = '<%=((TextBox)RadPanelBar2.Items[0].Items[0].FindControl("txtKto")).ClientID%>';
                function czytaj() {
 
                    alert($get(ReportBox).value);
 
                    var raport = $get(ReportBox).value;
                    if (raport.search("ygraÅ‚") > 0 || raport.search("z walki:") > 0 || raport.search("Remis") >= 0) {
                        alert("Kto");
                        //kto
                        var k1 = raport.indexOf("w.", 0);
                        var wynikS = raport.substring(k1 + 3);
                        var k2 = wynikS.indexOf("otrzyma", 0);
                        var kto = wynikS.substring(0, k2 - 1);
                        alert(kto);
                        alert(KtoBox);
 
                    } else {
                        alert("!!!!");
                    }
                }
            </script>
        </telerik:RadScriptBlock>

onkeyup - I can access whatever user entered in the ‘ReportBox’ but I can’t update ‘txtKto’.

If anyone have any suggestion please go ahead. Oh and please keep in mind I'm a rookie.

Thank you

John
Top achievements
Rank 1
 answered on 27 Nov 2013
1 answer
83 views
Hello Support,

We have been using Rad Async upload control for file uploading in ASP.NET Web application for one of our clients. Rad Async upload control works fine for Chrome, Firefox and IE10. But with IE9 or below a strange javascript error is encountered saying

"DOM Script bridge is disabled".


This happens while uploading the file to the server. Can you please guide me through this issue?


Thanks
Dimitar Terziev
Telerik team
 answered on 27 Nov 2013
2 answers
167 views
The load on demand for the combobox is not working once I move the page to the shared host. It works fine while testing it in Visual Studio.
Up on the shared host, when I click on the combobox, it drops down showing the items in the box. But, as soon as I type a single letter, the "Loading..." message appears and it just sits there. Even if I type the first letter of the first item in the box, it will show the loading message and then do nothing.

I tried both loading from server side, and also by setting the EnableAutomaticLoadOnDemand="true". The latter doesn't even load the list.

This will at least display the list:

<telerik:RadComboBox ID="CustomerSearch" runat="server" Width="180" Height="160"
    MarkFirstMatch="true"  AllowCustomText="true" CssClass="CustomerSearch"
    EnableLoadOnDemand="true" EnableVirtualScrolling="true" OnItemsRequested="CustomerSearch_ItemsRequested"
     OnClientSelectedIndexChanged="searchnav" EmptyMessage="Select a customer" DataSourceID="dsCustomer" DataTextField="CustomerName"
    DataValueField="NavPath" BackColor="White" Skin="Forest" />
  
<asp:SqlDataSource ID="dsCustomer" runat="server"
    SelectCommand="CustomerSearchName" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>
 
 
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
    <script type="text/javascript">
        function searchnav(sender, args) {
            var iframe = document.getElementById('ctl00_iMainPages');
            iframe.src = sender.get_value();
        }
 
    </script>
</telerik:RadScriptBlock>


This is the code-behind:

Protected Sub CustomerSearch_ItemsRequested(sender As Object, e As RadComboBoxItemsRequestedEventArgs)
    Dim dal As New Customer
 
    Dim data As DataTable = dal.CustomerSearchName(Session("StoreID"), e.Text).Tables(0)
 
    Dim itemOffset As Integer = e.NumberOfItems
    Dim endOffset As Integer = Math.Min(itemOffset + 10, data.Rows.Count)
    e.EndOfItems = endOffset = data.Rows.Count
 
    For i As Integer = itemOffset To endOffset - 1
        CustomerSearch.Items.Add(New RadComboBoxItem(data.Rows(i)("CustomerName").ToString(), data.Rows(i)("NavPath").ToString()))
    Next
 
    e.Message = GetStatusMessage(endOffset, data.Rows.Count)
End Sub
Private Shared Function GetStatusMessage(ByVal offset As Integer, ByVal total As Integer) As String
    If total <= 0 Then
        Return "No matches"
    End If
 
    Return [String].Format("Items <b>1</b>-<b>{0}</b> out of <b>{1}</b>", offset, total)
End Function
Steve
Top achievements
Rank 1
 answered on 27 Nov 2013
19 answers
1.0K+ views
Is it possible using RadFileExplorer to customize the upload window with controls to specify additional fields (i.e. description) to be passed to StoreFile(...)? The last parameter of this method is a string array called "arguments", which I assume is for this purpose.
G
Top achievements
Rank 1
 answered on 27 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?