<
telerik:RadListView
runat
=
"server"
ID
=
"RadListView1"
BorderColor
=
"White"
onitemdatabound
=
"RadListView1_ItemDataBound"
BorderStyle
=
"None"
AllowPaging
=
"True"
>
<
ClientSettings
></
ClientSettings
>
<
ItemTemplate
>
<
div
style
=
"border-bottom:1px solid gray;padding-left:15px;"
>
<
table
cellpadding
=
"2px"
cellspacing
=
"2px"
border
=
"0"
>
<
tr
>
<
td
class
=
"LabelWidth"
style
=
"margin-left:2%; vertical-align:middle;font-family: Georgia,serif;"
>
<
asp:Label
ID
=
"Label4"
runat
=
"server"
Text='<%# (DataBinder.Eval(Container.DataItem,"PermissionItemName")) %>'></
asp:Label
>
</
td
>
<
td
> </
td
>
<
td
valign
=
"middle"
>
<
asp:CheckBoxList
ID
=
"Listbox_Permission"
CellSpacing
=
"10"
CellPadding
=
"5"
runat
=
"server"
RepeatDirection
=
"Horizontal"
CssClass
=
"CheckboxList"
AutoPostBack
=
"false"
>
</
asp:CheckBoxList
>
</
td
>
</
tr
>
</
table
>
</
div
>
</
ItemTemplate
>
</
telerik:RadListView
>
Thanks,
Rahul
I need to manually select the first list matching item and turn it into a token.
Reading the documentation I think that the way to go would be within the example below:
var
autoComplete = $find(
"<%= RadAutoCompleteBox1.ClientID %>"
);
var
newEntry = autoComplete.createEntry(
'Text'
,
'Value'
);
var
entries = autoComplete.get_entries();
entries.add(newEntry);
However instead to create newEntry manually I need to capture the first item in the list that matches user typing (text and value). Any idea?
Thanks!
Hello,
my Telerik license has been renewed however when I logged in and try to download latest version it showing that I do not have license and cannot download any new version.
Please advise.
Thanks.
Vitaly.
I found an issue with the context menu. I tried in the demo to right click on an empty area/on a word and expects that the default context menu should show up with copy/paste etc... Only the native browser (Chrome 83) menu shows up. Shouldn't this work by default?
In my code i have been using this to add a custom menu, but it doesnt work due to the above issue i guess.
Is there any documentation how to add items for all tags, in the code below I use *, and seen other examples with BODY
MyRadEditor.EnsureToolsFileLoaded();
var contextMenu = MyRadEditor.ContextMenus.FindByTagName(
"*"
);
var editorTool = new EditorTool("Toolname");
editorTool.ShowIcon = false;
contextMenu.Tools.Add(editorTool);
RadGridComparableAnalysis.MasterTableView.AutoGeneratedColumns[columnCounter].ItemStyle.BackColor =
Color.White;
var grdColumns = new Array(masterTable.get_columns().length);
//Get all columns
grdColumns = masterTable.get_columns();
//Navigate to all columns and chage background color for the required columns
for (var columnCounter = 0; columnCounter < masterTable.get_columns().length; columnCounter++) {
var remainder = (columnCounter % 2);
if (remainder == 0) {
var grdColumn = grdColumns[columnCounter];
//masterTable.getColumnByUniqueName(grdColumn.get_uniqueName()).backColor = "Blue";
//masterTable.autoGeneratedColumns[columnCounter].itemStyle.iackColor = "Blue";
}
}
Thanks
is there a way to show the lightbox from code behind.
e.g. RadLightBox1.Show()
Hello,
I am getting glitches trying to
connect AdventureWorks2012 db to Telerik UI webapp.
How can I connect some data to a chart?
I m readin the tutorials, but now sure how to synch
then grab data and drop evrything in the chart.
Hi Telerik,
We use buttons across the page as navigation. So all buttons are setup as follows:
<
telerik:RadPageLayout
runat
=
"server"
GridType
=
"Fluid"
ShowGrid
=
"false"
>
<
Rows
>
<
telerik:LayoutRow
CssClass
=
"LayoutRowStyle LayoutRowHamburger"
>
<
Columns
>
<
telerik:LayoutColumn
Span
=
"2"
SpanXs
=
"12"
SpanSm
=
"6"
SpanMd
=
"3"
>
<
div
class
=
"divStandard"
>
<
telerik:RadButton
runat
=
"server"
ID
=
"RadButtonBoardDetails"
CausesValidation
=
"false"
AutoPostBack
=
"false"
Text
=
"Details"
Width
=
"100%"
OnClientClicked
=
"OnClientClickedNavSubButton"
RenderMode
=
"Lightweight"
ToggleType
=
"CheckBox"
Checked
=
"true"
CommandArgument
=
"../boards/boarddetails.aspx"
>
</
telerik:RadButton
>
</
div
>
</
telerik:LayoutColumn
>
<
telerik:LayoutColumn
Span
=
"2"
SpanXs
=
"12"
SpanSm
=
"6"
SpanMd
=
"3"
>
<
div
class
=
"divStandard"
>
<
telerik:RadButton
runat
=
"server"
ID
=
"RadButtonCreate"
CausesValidation
=
"false"
AutoPostBack
=
"false"
Text
=
"New"
Width
=
"100%"
OnClientClicked
=
"OnClientClickedNavSubButton"
RenderMode
=
"Lightweight"
CommandArgument
=
"../boards/helper/boardcreate.aspx"
>
<
Icon
PrimaryIconCssClass
=
"rbAdd"
/>
</
telerik:RadButton
>
</
div
>
</
telerik:LayoutColumn
>
<
telerik:LayoutColumn
Span
=
"2"
SpanXs
=
"12"
SpanSm
=
"6"
SpanMd
=
"3"
>
<
div
class
=
"divStandard"
>
<
telerik:RadButton
runat
=
"server"
ID
=
"RadButtonBoardGroupLinks"
CausesValidation
=
"false"
AutoPostBack
=
"false"
Text
=
"Group Links"
Width
=
"100%"
OnClientClicked
=
"OnClientClickedNavSubButton"
RenderMode
=
"Lightweight"
CommandArgument
=
"../boards/boardgrouplinks.aspx"
>
</
telerik:RadButton
>
</
div
>
</
telerik:LayoutColumn
>
.....
</
Rows
>
</
telerik:RadPageLayout
>
So when the button is clicked we keep it "checked" and the theme looks like an "active" page for that button. This ONLY works with some themes. How can we change this in our Skin specific CSS, that would let us keep a checked state, like its being Hovered.
Ex: The first button is marked checked and if using the "Simple" theme, it looks nice when checked. If the "Web20" is used, the checked does nothing to the checked state CSS of the button.
As you can see from the attach files, the Web20 has the same CSS as checked and unchecked.
All of the Skins handle the checked state CSS differently. We would like to control is via stylesheets.
Thanks for the help!
We are attempting to update the drag handle text to match the current value. The basic technique is outlined here: https://www.telerik.com/forums/display-the-current-values
The problem is that the text is not updated when the page is loaded. We tried to access the drag handles (get_dragHandles()[0]) in the client load event, but the drag handles are null at that point. Looking at the state of the control at this point shows some interesting values such as "initialized internal" being false and not value being set the for the "drag handle element". If I retrieve the drag handles in another event such as value changed they exist and these values are set as expected.
_dragHandleElement: null
_initializedInternal: false
We simplified our example down to the following and the behavior is reproducible. We are using version 2019.1.215.45 of the controls.
<telerik:RadSlider ID=
"sldTest"
RenderMode=
"Lightweight"
BackColor=
"Red"
Value=
"50"
ForeColor=
"Blue"
MinimumValue=
"0"
MaximumValue=
"100"
Width=
"500"
ShowDragHandle=
"True"
OnClientLoad=
"sldTest_ClientLoad"
OnClientValueChanged=
"sldTest_ClientValueChanged"
runat=
"server"
/>
function sldTest_ClientLoad(slider, args) {
//alert(slider.get_dragHandles()[0]);
}
function sldTest_ClientValueChanged(slider, args) {
alert(slider.get_dragHandles()[0].firstChild.innerHTML);
}