Hi,
this Telerik support page claims that I can enable WAI-ARIA support by using the EnableAriaSupport property.
But I cannot find this property on my radPanelBar ASP.NET control (see attachment).
How can I enable WAI-ARIA support for all Telerik ASP.NET controls? (I particularly need it for the TreeView control, too.)
Hi Telerik support
I want my radlistbox scoll to selected item as code bellow
I test this code , it was working fire when i click the btnRefresh, pls tell me how to force the radlistbox scroll to selected item after searching finish on RadSearchBox RadIPSearch, after searching, the radlistbox will select the item found, but i want to scroll to it also
Thanks very much
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableScriptCombine="false"></telerik:RadScriptManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
<div>
<telerik:RadSearchBox ID="RadIPSearch" runat="server"
EmptyMessage="Search..." Width="135" OnSearch="RadIPSearch_Search">
<DropDownSettings Height="400" Width="200" />
</telerik:RadSearchBox>
<telerik:RadButton ID="btnRefresh" runat="server" Text="Refresh"
OnClientClicked="OnClientClicked"
ButtonType="SkinnedButton" AutoPostBack="false" OnClick="btnRefresh_Click">
</telerik:RadButton>
</div>
<div>
<telerik:RadListBox ID="lstIPAddress" runat="server"
Height="510px" Width="200px" AutoPostBack="True"
OnSelectedIndexChanged="lstIPAddress_SelectedIndexChanged">
<ButtonSettings TransferButtons="All" />
</telerik:RadListBox>
</div>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function OnClientClicked(sender, args) {
var listbox = $find("<%=lstIPAddress.ClientID %>");
listbox.get_selectedItem().scrollIntoView();
}
</script>
</telerik:RadCodeBlock>
</telerik:RadAjaxPanel>
</telerik:RadAjaxPanel>
protected void RadIPSearch_Search(object sender, SearchBoxEventArgs e)
{
if (lstIPAddress.Items.Select(x => x.Text).ToList().Contains(e.Text))
{
lstIPAddress.SelectedIndex = lstIPAddress.Items.Where(x => x.Text == e.Text).FirstOrDefault().Index;
// how to fire radlistbox to scroll to selected item here
}
}
protected
void
imgBtnExportCSV_Click(
object
sender, EventArgs e)
{
foreach
(GridDataItem item
in
grdLeadList.MasterTableView.Items)
//loop through each grid item
{
if
(item.Selected)
{
selectedItems.Add(item.ItemIndex);
}
}
foreach
(GridDataItem item
in
grdLeadList.MasterTableView.Items)
{
// for particuler item
item[
"CompanyName"
].Font.Name =
"Calibri"
;
item[
"CompanyName"
].Style[
"font-size"
] =
"8pt"
;
item[
"CompanyName"
].Style[
"background-color"
] =
"#FFF"
;
item[
"CompanyName"
].Style[
"vertical-align"
] =
"middle"
;
}
grdLeadList.ExportSettings.ExportOnlyData =
true
;
grdLeadList.ExportSettings.OpenInNewWindow =
true
;
grdLeadList.MasterTableView.Columns.FindByUniqueName(
"ClientSelectColumn"
).Visible =
false
;
grdLeadList.MasterTableView.Columns.FindByUniqueName(
"EditCommandColumn1"
).Visible =
false
;
grdLeadList.ExportSettings.FileName =
"ColderLeads"
;
grdLeadList.MasterTableView.ExportToCSV();
}
Is it possible to format CSV export from radGrid?
Thanks!
hi all
im working on HIS system and i see its great idea to work with Scheduler to manage doctor's calendar with this perfect tool ,
our doctor calendar build on days in week and it repeated and we have to be able to disable calendar if doctor gone with holidays , there is a duration time for each appointment , its not important to view patients name or id on this calendar all requirement is to view available time line in available days in week and vacant time
look forward to hearing from you
Hi
We have "datarow" in class and "dataset" is from ObservableCollection. There are normal set and get for public properties. We use ObjectDataSource to get "dataset" and there are also insert, update and delete commands. All other things seems to work but we have problems with DateTime type properties. Those are tested in GridBoundColumn and GridDateTimeColumn and always same problem. Those are shown correctly with user date format or given datastringformat but when updating or inserting it always crash before our own codes to conversion from "System.String" to "System.DateTime". Only way we have got it work properly is use ISO standard type format "yyyy-MM-dd HH:mm:ss" when setting the value which is not acceptable way to work. So how these datetimes should be set to columns that those are shown and editable in user format and not crash somewhere before it even get to our own code?
Hello,
We do specify separate color for Important rows having note field. It was normally in "green" color when row with "note" data is loaded and other rows remain "white". While selecting multiple rows using shift key+mouse click the row with "note" data will be "yellow" color and other remaining rows will be default select color("blue").
This was working fine in IE browser. But in chrome or edge browser I cannot able to select multiple columns. Even though I select multiple rows using the property (EnableDragToSelectRows="true") and (AllowMultiRowSelection="True") I found that I cannot able to make color change that I have written in the function (OnRowSelected="gdUnassigned_RowSelected").
The problem is If i give the property (EnableDragToSelectRows="true") then (OnRowSelected="gdUnassigned_RowSelected") won't be working.
In IE11 I have not specify the property (EnableDragToSelectRows="true") without this IE11 worked fine.
Please respond for my post and give me a solution though because it is very important feature for our project.
Thanks,
Antelson
Hi Team,
When I try renaming a folder in treeview pane, I am getting following error:
Stack Trace:
at System.String.Substring(Int32 startIndex, Int32 length)
at Telerik.Web.UI.RadFileExplorer.RenameTreeNode(RadTreeNode node, String newName)
at Telerik.Web.UI.RadFileExplorer.RadTreeView1_NodeEdit(Object sender, RadTreeNodeEditEventArgs e)
at Telerik.Web.UI.RadTreeView.OnNodeEdit(RadTreeNodeEditEventArgs e)
at Telerik.Web.UI.RadTreeView.RaisePostBackEvent(String eventArgument)
at Telerik.Web.UI.RadTreeView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
However, file rename operation works fine. Can you please investigate the issue?