Hello Team,
Am using PivotGrid control for displaying pivot data.
but the issue is, when I open pivot in IE browser in that case empty line is being added whereas this issue does not occur in case of Chrome browser. Kindly refer screenshot attached.
Let me know how can this be fixed in IE browser.
Good afternoon,
My RadGrid does not need horizontal scroll until it goes into in-place edit mode - then there are text boxes to the right of the box containing the grid, but no scroll bar.
Any suggestions?
<telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" AutoGenerateColumns="false" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemDataBound="RadGrid1_ItemDataBound"
OnUpdateCommand="RadGrid1_UpdateCommand" OnInsertCommand="RadGrid1_InsertCommand" AllowSorting="True" AllowMultiRowSelection="True" ClientSettings-Scrolling-AllowScroll="true">
<ClientSettings >
<Selecting AllowRowSelect="true" /></ClientSettings>
<MasterTableView AutoGenerateColumns="False" DataKeyNames="HorseKey" ClientDataKeyNames="HorseKey" EditMode="InPlace"
CommandItemDisplay="Top" >
Hey,
So I downloaded the telerik toolkit trial first and then I downloaded visual studio 2017. I followed the link below to add the toolkit into visual studio, but I'm getting a message that says "There are no usuable controls in this group. Drag an item onto this text to add it to the toolbox." Is there another method to try for adding the toolkit?
http://docs.telerik.com/devtools/aspnet-ajax/general-information/integration-with-visual-studio/adding-the-telerik-controls-to-the-visual-studio-toolbox
I'm assuming the update is the root cause of this issue. This code worked previously and now causes an error "You need to have a DynamicManager control on the page and register your data control with it in order to use a DynamicControlParameter". The RadListView is not compatible with a DynamicManager control.
The code causing this error:
Private
Sub
rbtnAddLocation_Click(sender
As
Object
, e
As
EventArgs)
Handles
rbtnAddLocation.Click
rlvLocations.InsertItemPosition = RadListViewInsertItemPosition.FirstItem
rlvLocations.ShowInsertItem()
rbtnAddLocation.CommandArgument = rdlMembers.SelectedValue
rbtnAddLocation.Enabled =
False
End
Sub
The offending lines are the two with rlvLocations.
Updates are really getting frustrating to new Telerik user here.
Hi,
I am witnessing some strange behaviour in my HtmlChart.
When displaying unstacked data everything looks fine (first attched file).
But when turning staking on, for some reason some of the columns parts look 1000 times bigger than they should (second attached file).
The data is strictly the same in these 2 examples, the only difference is turning line.Stacked true or false, nowhere in the code do we multiply any value by 1000.
Telerik Web UI is version 2017.1.118.45.
The same page works perfectly with Telerik Web UI 2014.1.403.40.
Is it a known issue? Is there any known solution?
Here is the ascx code:
<
radS:RadHtmlChart
runat
=
"server"
ID
=
"RadHtmlChart1"
Width
=
"1000px"
Height
=
"500px"
>
<
PlotArea
>
<
XAxis
DataLabelsField
=
"day"
>
<
TitleAppearance
Text
=
"Days"
Visible
=
"true"
></
TitleAppearance
>
<
LabelsAppearance
DataFormatString
=
"{0}"
/>
<
MinorGridLines
Visible
=
"false"
></
MinorGridLines
>
<
MajorGridLines
Visible
=
"false"
></
MajorGridLines
>
</
XAxis
>
<
YAxis
>
<
TitleAppearance
Text
=
"Count"
Visible
=
"true"
></
TitleAppearance
>
<
LabelsAppearance
DataFormatString
=
"{0}"
></
LabelsAppearance
>
<
MinorGridLines
Visible
=
"false"
></
MinorGridLines
>
</
YAxis
>
</
PlotArea
>
<
Legend
>
<
Appearance
Visible
=
"true"
></
Appearance
>
</
Legend
>
</
radS:RadHtmlChart
>
The binding part in the C#:
RadHtmlChart1.PlotArea.Series.Clear();
for
(
int
i=1; i<dtTemp.Columns.Count;i++)
{
Telerik.Web.UI.ColumnSeries line =
new
Telerik.Web.UI.ColumnSeries();
line.Name =
string
.Format(
"{0} ({1})"
,Names[i],Totals[i]);
line.Stacked =
true
;
//line.Stacked = false;
line.LabelsAppearance.Visible =
false
;
line.LabelsAppearance.DataFormatString =
"{0}"
;
line.DataFieldX =
"day"
;
line.DataFieldY = dtTemp.Columns[i].ColumnName;
RadHtmlChart1.PlotArea.Series.Add(line);
}
RadHtmlChart1.DataSource = dtTemp;
RadHtmlChart1.DataBind();
Thank you.
I've got a theme set for my entire project in the App_Themes folder. Within this folder I have a style sheet which, among other things, specifies the style for all radGrids. I now have a requirement to completely change the style on one particular grid within one user control. There are other grids in this user control that shouldn't change.
What's the best way to override the style on one grid on one user control?
Thanks.
<
telerik:RadListView
ID
=
"rlvApproval"
runat
=
"server"
>
<
LayoutTemplate
>
<
table
>
<
tr
>
<
td
style
=
"width: 250px;"
>
</
td
>
<
td
style
=
"width: 200px; font-weight: bold;"
>
</
td
>
</
tr
>
</
table
>
<
asp:PlaceHolder
ID
=
"itemplaceholder"
runat
=
"server"
/>
<
table
>
<
tr
>
<
td
style
=
"width: 250px;"
>
<
asp:Label
ID
=
"lblName"
runat
=
"server"
Text
=
"Total"
Font-Bold
=
"true"
/>
</
td
>
<
td
style
=
"width: 200px; font-weight: bold;"
>
<
telerik:RadNumericTextBox
ID
=
"txtTotalValue"
runat
=
"server"
ReadOnly
=
"true"
DataType
=
"System.Decimal"
Skin
=
"Web20"
>
<
NumberFormat
DecimalDigits
=
"0"
/>
</
telerik:RadNumericTextBox
>
</
td
>
</
tr
>
</
table
>
</
LayoutTemplate
>
<
ItemTemplate
>
<
table
>
<
tr
>
<
td
style
=
"width: 250px;"
>
<
asp:Label
ID
=
"lblName"
runat
=
"server"
Text='<%# Eval("name") %>' />
</
td
>
<
td
style
=
"width: 250px;"
>
<
telerik:RadNumericTextBox
ID
=
"txtValue"
runat
=
"server"
DataType
=
"System.Decimal"
Skin
=
"Web20"
DbValue='<%# DataBinder.Eval(Container.DataItem, "value") %>' MaxValue="100"
MinValue="0" AutoPostBack="false" >
<
NumberFormat
DecimalDigits
=
"0"
/>
<
ClientEvents
OnValueChanged
=
"ValidateWeighting"
/>
</
telerik:RadNumericTextBox
>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
<
EmptyDataTemplate
>
<
div
class
=
"message"
>
<
asp:Label
ID
=
"lblEmptyMessage"
runat
=
"server"
SkinID
=
"messageBig"
Text
=
"Error loading approval information..."
/>
</
div
>
</
EmptyDataTemplate
>
</
telerik:RadListView
>
function ValidateWeighting(sender, eventArgs) {
var object = document.getElementById('ctl00_ContentPlaceHolder1_Weighting1_rlvApproval_txtTotalValue_text');
var object2 = document.getElementById('<%= rlvApproval.ClientID %>');
var current = eval(object.value);
var old = eventArgs.get_oldValue();
var newval = eventArgs.get_newValue();
var tmp = current + (newval - old);
if (tmp == 100) {
document.getElementById('<%= btnSave.ClientID %>').disabled = false;
}
else {
document.getElementById('<%= btnSave.ClientID %>').disabled = true;
}
object.value = tmp;
}