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
>
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
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
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
<
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
>
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:
Please let us know if there are any solution to fix this issue. Thank you.
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?
Hi,
in attach my problem.
After minimize/expand all.
i used 2016 Q1.
Thanks.
Dario.
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