Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
108 views

Hi,

I have a web service bound scheduler in which click  of a navigation button (previous/next/today) does not update   Scheduler's popup calendar. 

Scheduler shows 10/31/2016 as selected date and on click of next button it navigates to 11/1/2016 .

Scheduler  shows 11/1/2016 7:30 AM - 1/2/2016 5:00 PM, however pop up calendar does not highlight 11/1/2016 as selected date.

How can I match scheduler's selected date with highlighted date  in scheduler's pop up calendar?

Regards,

Prava

 

Anton
Telerik team
 answered on 04 Nov 2016
1 answer
372 views
I came across a performance issue with the RadGrid. I dynamically create buttons for every row in the grid when they are expanded. Every buttons opens up a modal and it doesn't use any information from the grid. My issue is that postback happens and the whole grid is reloaded, even though I add the buttons to RadAjax manager programatically on ItemDataBound and assign them to only update the modal Panel. Has anyone encountered something similar to this? This is hindering my applications performance greatly. Any advice?
Viktor Tachev
Telerik team
 answered on 04 Nov 2016
2 answers
631 views

Has anyone else experienced any issues with using the dialog windows (RadAlert, RadConfirm and RadPrompt).  I have a project that I have been working on where I am using these dialog windows, and even though I have a RadWindowManager on the page in question I keep getting a "d is undefined" error when the following code gets called from Telerik.Web.UI.Window.RadWindowManager.js.

 

window.radalert=

function(e,c,a,b){var d=GetRadWindowManager();

 

 

return d.radalert(e,c,a,b);

 

};

Thanks,
Eric

Alfredo
Top achievements
Rank 1
 answered on 03 Nov 2016
10 answers
892 views
We have a very strange problem, our site is working perfectly fine with RadConfirm/RadAlerts on one server, running Windows 7 and IIS7.5, but when we move the entire site to a Windows Server 2008 with IIS7, and run the site again (in the same webbrowser on the same computer), it will give as a javascript error "radconfirm is not defined" and then simply continue running without getting any confirm.

Any idea why this would be happening? It is the exactly same site moved to a different server, so naturally, the Telerik DLLs etc should be the same.

Here is the code we use:

    function OnClientClicking_confirm(sender, args)
    {
        debugger;
        var callBackFunction = Function.createDelegate(sender, function (argument)
        {
            if (argument)
            {
                this.click();
            }
        });
        var text = "Are you sure?";
        radconfirm(text, callBackFunction, 300, 100, null, "");
        args.set_cancel(true);
    }
Alfredo
Top achievements
Rank 1
 answered on 03 Nov 2016
14 answers
266 views
I have the following RadSlider which is in a UserControl:
        <telerik:RadSlider runat="server" ID="rsVery" EnableViewState="false" Orientation="Horizontal" Width="500" Height="50" TrackPosition="TopLeft" Skin="Inox" ItemType="Item" MinimumValue="-10" MaximumValue="10" SmallChange="1" ShowDecreaseHandle="true" ShowIncreaseHandle="true" Visible="true" AnimationDuration="250">
            <Items>
                <telerik:RadSliderItem Text="Very Slow" Value="-3" ToolTip="Very Slow" runat="server"></telerik:RadSliderItem>
                <telerik:RadSliderItem Text="Slow" Value="-2" runat="server"></telerik:RadSliderItem>
                <telerik:RadSliderItem Text="Normal" Value="0" runat="server"></telerik:RadSliderItem>
                <telerik:RadSliderItem Text="Fast" Value="2" runat="server"></telerik:RadSliderItem>
                <telerik:RadSliderItem Text="Very Fast" Value="3" runat="server"></telerik:RadSliderItem>
            </Items>
        </telerik:RadSlider>        


The .Value just returns the position index.

can you tell me what I'm doing wrong..

thanks



Josh
Top achievements
Rank 1
Veteran
 answered on 03 Nov 2016
1 answer
119 views

Hi,
the project, in which I’m working, have a performance issue in IE, when the page is loading in IE11, it takes between 2.5-4.5 seconds, while in chrome it takes less than a second to load (firefox/Edge load in less than 2 seconds);  Resize is also a problem, but my main concern is Loading the pages… the master page has multiple nested splitters (rad panes), I debug it and server’s time is less than a second, using dynatrace, fiddler, and dev tools, I find that the time is related to the Resizing of panes…
(See images  https://screenshot.net/7o1dgcn  ,   https://screenshot.net/jd9qgud )
I’ve looked at multiple forums (both telerik’s and otanother sources) for similar problems, and optimizing tricks… I tried some of them, but the resizing is still the main issue...
I include a link to a video showing the problem http://screencast.com/t/LQNCaVFD (ie vs chrome) with a simple project, one with one single radsplitter (RadPanelSingleSplitter.aspx) the other one with multiple nested radsplitters (RadPanelNesting.aspx, which is similar to my project), the nesting page takes at least double the time to load, and also the more html I include, the more time it takes to render (resize)…

Has anyone else have similar issues?

Best Regards,
JC 

Vessy
Telerik team
 answered on 03 Nov 2016
1 answer
197 views

Hi,
the project, in which I’m working, have a performance issue in IE, when the page is loading in IE11, it takes between 2.5-4.5 seconds, while in chrome it takes less than a second to load (firefox/Edge load in less than 2 seconds);  Resize is also a problem, but my main concern is Loading the pages… the master page has multiple nested splitters (rad panes), I debug it and server’s time is less than a second, using dynatrace, fiddler, and dev tools, I find that the time is related to the Resizing of panes…
(See images  https://screenshot.net/7o1dgcn  ,   https://screenshot.net/jd9qgud )
I’ve looked at multiple forums (both telerik’s and otanother sources) for similar problems, and optimizing tricks… I tried some of them, but the resizing is still the main issue...
I include a link to a video showing the problem http://screencast.com/t/LQNCaVFD (ie vs chrome) with a simple project, one with one single radsplitter (RadPanelSingleSplitter.aspx) the other one with multiple nested radsplitters (RadPanelNesting.aspx, which is similar to my project), the nesting page takes at least double the time to load, and also the more html I include, the more time it takes to render (resize)…

Has anyone else have similar issues?

Best Regards,
JC 

Vessy
Telerik team
 answered on 03 Nov 2016
6 answers
632 views
Hello,
I have a form that has a radcombobox and a textarea. When the user selects an item from the radcombobox, I want to insert the selected text into the textarea at the cursor position in the textarea. Here is what I have.

 function insertText(sender, eventArgs) { 
         
        var txtPlainText = document.getElementById("<%= txtPlainText.ClientID %>"); 
        var DropDownList1 = $find("<%= ddlMergeFields.ClientID %>"); 
             
        if (document.selection) { 
                          
            txtPlainText.focus(); 
            sel = document.selection.createRange(); 
            sel.text = DropDownList1.get_value(); 
        } 
        //MOZILLA/NETSCAPE support 
        else if (txtPlainText.selectionStart || txtPlainText.selectionStart == '0') { 
         
            var startPos = txtPlainText.selectionStart; 
            var endPos = txtPlainText.selectionEnd; 
            txtPlainTexttxtPlainText.value = txtPlainText.value.substring(0, startPos) + DropDownList1.get_value() +  
            txtPlainText.value.substring(endPos, txtPlainText.value.length); 
        }  
        else  
        { 
          txtPlainText.value += DropDownList1.get_value(); 
        } 
        DropDownList1.set_value();         
    } 
     

and the combobox is defined as:
<telerik:RadComboBox runat="Server" OnClientSelectedIndexChanged="insertText" ID="ddlMergeFields" Skin="Office2007"
    <Items> 
         <telerik:RadComboBoxItem Text="Merge Fields" Value="test2" /> 
         <telerik:RadComboBoxItem Text="test1" Value="test1" /> 
    </Items> 
</telerik:RadComboBox> 

The javascript works with a normal dropdownlist, but when i switch it to a radcombobox, it always inserts the text at the top of the textarea, not at the cursor position. Am I doing something wrong?

Also, after inserting the text, i need the combobox selected item to be reset to the first item in the box. How do I do that? I have tried set_value and clearSelection, but neither work.

Please Help.

Patrick
Peter Milchev
Telerik team
 answered on 03 Nov 2016
3 answers
218 views

I've read several threads on this, but still cannot seem to get this to work.

I have a LogIn button on a RadGrid that I only want to have a confirmation on in a specific situation. I've tried several different ways, this seems to get the closest, but I am still not seeing the popup confirmation dialog. Any help is greatly appreciated.

Relevant code below.

 

    Protected Sub grdAccounts_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles grdAccounts.ItemDataBound

      If TypeOf e.Item Is Telerik.Web.UI.GridDataItem Then
            Dim item As Telerik.Web.UI.GridDataItem = DirectCast(e.Item, Telerik.Web.UI.GridDataItem)

            If ddlSiteType.SelectedValue.StartsWith("LIVE") Or ddlSiteType.SelectedValue.StartsWith("DR") Then
                Dim btnLogin As Button = CType(item("LogIn").Controls(0), Button)
                If btnLogin IsNot Nothing Then
                    btnLogin.Attributes.Add("ConfirmTitle", "Continue?")
                    btnLogin.Attributes.Add("ConfirmText", "You are entering a LIVE production site. Continue?")
                    btnLogin.Attributes.Add("ConfirmDialogType", "Classic")
                End If
            End If

...

End If

End Sub

 

Richard
Top achievements
Rank 1
 answered on 02 Nov 2016
1 answer
174 views

I see the following error message popup when trying to upload a file that is not a supported type:

"The size of the uploaded file exceeds max size allowed

The extension of the uploaded file is not valid. Please, provide a valid file!"

 

We find this text confusing and would like to change it. Is there a way to change this text?

Rumen
Telerik team
 answered on 02 Nov 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?