Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
132 views

Hi,

 

I'm using RadConfirm and initiating it from a C# method. The confirm window pops up just fine, but in my JavaScript  is always returning false. Here is an example of what I have:

C#

protected void txtUserName_DupValidator_ServerValidate(object source, ServerValidateEventArgs args)
{
    if (hfUserName.Value != txtUserName.TextWithPromptAndLiterals)
    {
        if (!(Controller).IsUsernameUnique(txtUserName.TextWithPromptAndLiterals))
        {
            args.IsValid = false;
            rwmDialogs.RadConfirm("This is an existing user, do you want to edit the existing user or cancel?", "confirmCallBackFn", 300, 250, null, "Verify User");
        }
    }
}

JavaScript

function confirmCallBackFn(arg) {
    //radalert("<strong>radconfirm</strong> returned the following result: <h3 style='color: #ff0000;'>" + arg + "</h3>", 350, 250, "Result");
    if (arg = "false") {
        newWindow = openAdminPage("../../../Users");
        return false;
    }
    else {
        PageMethods.DisplayUser(document.getElementById("<%=txtUserName%>".value))
    }
}

 

Markup

<telerik:RadWindowManager ID="rwmDialogs" runat="server" RenderMode="Lightweight" EnableShadow="true"></telerik:RadWindowManager>

Rodney
Top achievements
Rank 2
 answered on 22 Feb 2016
2 answers
70 views
Setting the DisplayNavigationButtons property to false in the Wizard declaration doesn't appear to work. Setting it server-side does. I am using version 2016.1.113.40
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
 answered on 22 Feb 2016
1 answer
64 views

It can be reproduced by creating some columns, then clear and then add less columns that the initial numbers of columns.

Then the control throws an exception in SaveViewState saying the index is out of range.

Regards

Ole Oscar Johnsen

Viktor Tachev
Telerik team
 answered on 22 Feb 2016
1 answer
175 views

Hi,

I am using RadComboBox with checkbox as in http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkboxes/defaultcs.aspx

Is there a way to change the separator comma (,) to dash (-).

Regards,

Lars

Nencho
Telerik team
 answered on 22 Feb 2016
5 answers
292 views

Hi, 

We are using Rad Update control with Rad progress for uploading documents in one of the UIs of our website. This functionality works fine with IE 5.5 version and above but the files are not uploaded in Chrome and MS Edge browser. Browsed through this page http://docs.telerik.com/devtools/aspnet-ajax/controls/upload/overview and got know the Chrome is not listed in the supported browser list. However, MS Edge is a new release and I am curios to know if these controls are supported in edge or not?

Right now, the functionality is not working and it will be great if we get some pointers related to work-around for this kind of a challenge faced in MS edge browser and alternatives that can be used to make the page that is using Telerik upload control compatible with both IE and MS Edge.

Thanks in advance,

Kishan

 

Nencho
Telerik team
 answered on 22 Feb 2016
3 answers
90 views
I have the following grid:
<telerik:RadGrid ID="RGSearch"
    runat="server"
    CssClass="grid-mobileResponsive"
    GridLines="none"
    PageSize="20"
    AutoGenerateColumns="false"
    AllowSorting="True"
    AllowPaging="True"
    AllowFilteringByColumn="False"
    AllowMultiRowSelection="False">
 
    <MasterTableView DataKeyNames="Id" AllowMultiColumnSorting="true">
        <Columns>
            <telerik:GridBoundColumn HeaderText="Id" DataField="Id" Display="false" />
            <telerik:GridBoundColumn HeaderText="Val 1" DataField="val1" />
            <telerik:GridBoundColumn HeaderText="Val 2" DataField="val2" />
            <telerik:GridBoundColumn HeaderText="Val 3" DataField="val3" />
        </Columns>
    </MasterTableView>
 
    <PagerStyle Mode="NextPrevAndNumeric" PagerTextFormat="{4} Page {0} of {1} | Displaying rows {2}-{3} of {5}" />
 
    <ClientSettings Selecting-AllowRowSelect="true">
        <Resizing AllowColumnResize="true" ResizeGridOnColumnResize="true" AllowResizeToFit="true" />
        <ClientEvents OnRowDblClick="RowDblClick" OnRowClick="RowSnglClick" />
    </ClientSettings>
</telerik:RadGrid>


When viewing the website on an iphone or windows phone device, it behaves as expected and the RowSnglClick javascript function is called. But on android, with Chrome 33.0 nothing happens. But note that the double click event is firing.

I also noticed that you can't scroll over the grids. Scrolling and drag and drop are not enabled on the grid, so I figured that you should be able to scroll over it on the page, but if you touch it and move, again nothing happens.

I'm using v2013.3.1324.45 of the controls.

Are there any simple fixes that I'm missing for everything to work on Android?
Marin
Telerik team
 answered on 22 Feb 2016
7 answers
279 views

As per our requirement highlighting the current date in radscheduler. For this we are assigning selecteddate property to current datetime, its working fine. But sometimes, its highlighting the next day.

We are always converting the usertime to EST and assigning it to SelectedDate property. 

Please check the enclosed screenshot,  when we run the sample code enclosed here, its displaying current date time as 10/22/2015 20:00:15 EST but in radscheduler its highlighting 10/23/2015. 

This is observed when user time greater than 8PM EST.

Please download the sample code from below link:

[link]

Please let us know if there are any solution to fix this issue. Thank you.

Ivan Danchev
Telerik team
 answered on 22 Feb 2016
1 answer
97 views

I have the resourceType 

<telerik:ResourceType DataSourceID="dsUsers" ForeignKeyField="UserID"       KeyField="ID" Name="Users" TextField="UserName" />

 

I need that, when I create a new appointment, to pre-set the dropdownlist with the current user of my plataform.
How can I do this?

Plamen
Telerik team
 answered on 22 Feb 2016
2 answers
94 views

Hi,

in attach my problem.

After minimize/expand all.

 

i used 2016 Q1.

 

 

Thanks.

Dario.

Danail Vasilev
Telerik team
 answered on 22 Feb 2016
3 answers
135 views

Hello all,

for my project I need to combine multiple stacked ColumnSeries and a LineSeries in one single chart:

When I just have the four ColumnSeries and I do set the GroupName property everything works fine for the ColumnSeries.

When I add a addtional LineSeries to the chart, the grouping does not work anymore and the control breaks down the stacking of the ColumnSeries.

 

I am using the 2015.3.1111 Release of the controls in combination with Visual Studio 2008.

 

Any ideas?

 

 Thanks in advance and kind regards,

Thomas

Stamo Gochev
Telerik team
 answered on 22 Feb 2016
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?