Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
151 views

I'd like to give the user a popup or tooltip of some sort that lets them know that, yes a search has been conducted with the text they've provided but there are no results with their input.

Unfortunately all the events I've tried are too early (the data source's OnSelected) or don't get triggered (the search box's Search). How can I achieve this?

Peter Milchev
Telerik team
 answered on 29 Jan 2018
8 answers
354 views
Hello,

I would like to use a slider to let the user select a range of the day in increments of 5 minutes.

So the range min value would be 00:00 and range max value would be 23:59 (or 00:00).

So using the slider, the user is able to select the range 06:25-22:20

Is that possible using your RadSlider?
sri
Top achievements
Rank 1
 answered on 29 Jan 2018
1 answer
196 views

Hi,

 I have a RadWindowManager on a page where I have a function assigned to the OnClientBeforeClose event.

<telerik:RadWindowManager ID="rwmManager"  runat="server"  DestroyOnClose="true"   ReloadOnShow="true"   CenterIfModal="true"  OnClientClose="RefreshGrid" OnClientBeforeClose="ChangeAlert"  />

 

The problem I am having is that the OnClientBeforeClose event only fires the first time I open the window.  If I close the window and then re-open and then subsequently close the window, the OnClientBeforeClose event doesn't fire.

 

If I change the DestroyOnClose = "false" then the event will fire every time, but the previous window I opened gets cached and flashes on the screen before the new window is opened.

How can I make this work without setting the DestroyOnClose to false.

Thank You

Tracy

 

 

Marin Bratanov
Telerik team
 answered on 29 Jan 2018
0 answers
194 views
'm using Telerik UI for ASP.NET AJAX R1 2018.  When I use the AntiXssEncoder as the default encoder...
 web.config 
    <httpRuntime encoderType="Microsoft.Security.Application.AntiXssEncoder, AntiXssLibrary"  maxRequestLength="102400"/>
ghd258 ghd258
Top achievements
Rank 1
 asked on 27 Jan 2018
1 answer
168 views

I have a RadDropDownList in a TemplateColumn of a RadGrid. The grid is using batch editing mode, and the drop-down list is loading its data from a web service.

This is all generally working, except for the fact that the DDL does not load it's items until the first time you click on the control. Unfortunately, that is a tad too late for the existing value to be retained the first time that it is used. Editing subsequent rows is fine.

So, I'd like to cause the DDL to load it's items earlier. Is there a way to trigger the RadDropDownList to dynamically load it's list on demand??


Marin Bratanov
Telerik team
 answered on 26 Jan 2018
1 answer
122 views

Hi,

How can I get the grid row type when looping through all rows in grid client side.

         

           var masterTable = $find("<%=rgvMainGrid.ClientID%>").get_masterTableView();
           var rowCount = masterTable.get_element().rows.length;
           for (var i = 0; i < rowCount; i += 1) {
//Get Type Of Row Here (ie. GroupHeader, Data Row, GroupFooter)
}

 

Also, is there a complete list of the Client API objects.  I found a Client Side Programming Overview document but it only has few of the objects listed. 

For example, the documentation lists the .get_masterTableView() but I don't see anything on 

.get_masterTableView().getCellByColumnUniqueName or .get_masterTableView().get_element().rows.length

 

Thank You

Tracy

 

 

 

 

Eyup
Telerik team
 answered on 26 Jan 2018
1 answer
70 views

I am using this example and would like to change the TimeView.StartTime to then radScheduler.DayStartTime.Hours and the TimeView.Interval to 15 minutes when the raddock displays as the appointment edit. I have tried numerous events but the changes do not apply.

Any help would be greatly appreciated, thanks in advanve . 

 Dim rtpStartTime As RadDateTimePicker = TryCast(rdAddEditAppointment.ContentContainer.FindControl("StartTime"), RadDateTimePicker)
            If Not IsNothing(rtpStartTime) Then
                rtpStartTime.TimeView.StartTime = New TimeSpan(rsScheduler.DayStartTime.Hours, 0, 0)
                rtpStartTime.TimeView.Interval = New TimeSpan(0, DefaultScheduleMinutes, 0)
           End If

            Dim rtpEndTime As RadDateTimePicker = TryCast(rdAddEditAppointment.ContentContainer.FindControl("EndTime"), RadDateTimePicker)
            If Not IsNothing(rtpEndTime) Then
                rtpEndTime.TimeView.EndTime = New TimeSpan(rsScheduler.DayEndTime.Hours, 0, 0)
                rtpEndTime.TimeView.Interval = New TimeSpan(0, DefaultScheduleMinutes, 0)
            End If

Dan
Top achievements
Rank 1
 answered on 25 Jan 2018
5 answers
207 views
Using Q2 2014.  If I receive the error:

uncaught TypeError: Cannot read property 'set_additionalQueryString' of null
WebResource.axd line 12175

The error occurs in the console (tested with Chrome and IE) when the DropDownList is changed (postback, but any postback will cause the problem).

Very specific case.  The following code will reproduce.  The failure appears to be related to RadEditor with shared toolbar (ToolProviderID). 
- Removing the shared toolbar resolves the issue.
- Disabling AJAX resolves the issue.
- Removing the Refresh button or removing it from AAX resolves the issue.

However, I need all of the above to be enabled.

<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID="AjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnRefresh">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="phFields" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<asp:placeholder id="phFields" runat="server">
                <telerik:RadEditor ID="RadEditor1" runat="server">
                </telerik:RadEditor>
                <telerik:RadEditor ID="RadEditor2" runat="server" ToolProviderID="RadEditor1">
                </telerik:RadEditor>
                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true">
                <asp:ListItem Text="a"></asp:ListItem>
                <asp:ListItem Text="b"></asp:ListItem>
                <asp:ListItem Text="c"></asp:ListItem>
                </asp:DropDownList>
            </asp:placeholder>
<asp:button id="btnRefresh" runat="server" />
</form>

Any help or direction would be greatful.  This error appears to be disabling pop-ups with RadWindow.
Alex
Top achievements
Rank 1
 answered on 25 Jan 2018
3 answers
1.4K+ views

I have a RadGrid which has a Detail link.  When this detail link is clicked, a RadWindow with a series of controls is displayed.  Among these controls is a RadGrid with an user control as its Edit Template.  I can open the edit template, but when I click Insert, Cancel or Update, the edit template will not close. 

 

This is the same template (and User Control) I use in a separate page that does not use a RadWindow but a normal ASPX page.  All of the functions (Insert, Cancel, Edit) work just fine in this page from the associated RadGrid.

Attila Antal
Telerik team
 answered on 25 Jan 2018
4 answers
195 views

Hi,

I am using this approach to show custom icon:

https://www.telerik.com/support/kb/aspnet-ajax/window/details/adding-a-custom-button-to-radwindow-titlebar

But with latest version 2017.3.913 it is not working, icon is shown, but tiny (in Lightweight mode)

Can you help?

 

Alex

 

Alex Dybenko
Top achievements
Rank 2
 answered on 25 Jan 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?