how can we search the items list like a regualar dropdown :
ddl.SelectedIndex = ddl.Items.IndexOf(cbxPractitionerList.Items.FindByValue("X");
Hi to all,
it is possible to get the clicked button of a radprompt?
I try to check if the OK Button is clicked and the Textbox left blank to call another Alert with an error message.
My problem is that when i clicked the CANCEL Button i get the NULL Value and when i left blank the textbox and click the OK Button then i also geht the NULL Value.
| <script type="text/javascript"> |
| function openPrompt(TitleText, Text, IText, IIndex) { |
| document.getElementById("<%= hdnIIndex.ClientID %>").value = IIndex; |
| radprompt(Text + '<br style="clear:both" /><strong>' + IText + '</strong>', promptCallBackFn, 330, 100, null, TitleText, null); |
| } |
| function promptCallBackFn(arg) { |
| document.getElementById("<%= hdnText.ClientID %>").value = arg; |
| if (arg != null && arg != '') { |
| document.getElementById("Refresh").click(); |
| } |
| else { |
| radalert('You have clicked OK, but the text is blank', 330, 100, 'Error Msg'); return false; |
| } |
| } |
| </script> |

Hello,
I manually enter the text to be filtered in the textbox and click on the filter icon.
However, the same records are still displayed.
What is going wrong with my grid?
Here is the GridBoundColumn for the Lastname:
<telerik:GridBoundColumn DataField="Driver.LastName" DataType="System.String" HeaderText="Fahrer" UniqueName="DriverLastName" AutoPostBackOnFilter="true" ShowFilterIcon="true" AllowFiltering="true" > </telerik:GridBoundColumn>
And here is the whole Radgrid:
<telerik:RadGrid Height="100%" runat="server" ID="RadGrid1" OnNeedDataSource="RadGrid1_NeedDataSource" AllowPaging="true" PageSize="12" Font-Size="Small" AutoGenerateColumns="False" Culture="de-DE" MasterTableView-CommandItemSettings-AddNewRecordText="Reisekostenerfassung" OnPreRender="RadGrid1_PreRender" OnUpdateCommand="RadGrid1_UpdateCommand" OnInsertCommand="RadGrid1_InsertCommand" OnDeleteCommand="RadGrid1_DeleteCommand" AllowFilteringByColumn="True" AllowSorting="True" > <MasterTableView DataKeyNames="OperationalTravelingExpensesId" runat="server" EditMode="PopUp" CommandItemDisplay="Top" ShowHeadersWhenNoRecords="true" AllowFilteringByColumn="True"> <Columns> <telerik:GridEditCommandColumn UniqueName="EditCommandColumn"></telerik:GridEditCommandColumn> <telerik:GridBoundColumn DataField="OperationalTravelingExpensesId" HeaderText="sdf" UniqueName="OperationalTravelingExpensesId" Display="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Driver.LastName" DataType="System.String" HeaderText="Fahrer" UniqueName="DriverLastName" AutoPostBackOnFilter="true" ShowFilterIcon="true" AllowFiltering="true" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Driver.DriverNumber" HeaderText="Personalnr." UniqueName="DriverPersonalNumber" > </telerik:GridBoundColumn> <%--<telerik:GridBoundColumn DataField="TravelingDate" HeaderText="Datum" UniqueName="TravelingDate" DataFormatString="{0:D}" > </telerik:GridBoundColumn>--%> <telerik:GridDateTimeColumn DataField="TravelingDate" HeaderText="Datum" FilterControlWidth="110px" SortExpression="Datum" PickerType="DatePicker" EnableTimeIndependentFiltering="true" DataFormatString="{0:D}"> </telerik:GridDateTimeColumn> <telerik:GridBoundColumn DataField="StartTime" HeaderText="Beginn" UniqueName="StartTime" DataFormatString="{0:HH:mm}" AllowFiltering="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="EndTime" HeaderText="Ende" UniqueName="EndTime" DataFormatString="{0:HH:mm}" AllowFiltering="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Vehicle.LicencePlateNumber" HeaderText="Fahrzeug" UniqueName="VehicleLicencePlateNumber" AllowFiltering="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Tour.TourNumber" HeaderText="Tour" UniqueName="TourTourNumber"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Destination" HeaderText="Reiseziel" UniqueName="Destination" AllowFiltering="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Subject" HeaderText="Anlass" UniqueName="Subject" AllowFiltering="false"> </telerik:GridBoundColumn> </Columns> <EditFormSettings UserControlName="TravelExpenses.ascx" EditFormType="WebUserControl"> <EditColumn UniqueName="EditCommandColumn1"/> </EditFormSettings> </MasterTableView> <ClientSettings> <ClientEvents OnRowDblClick="RowDblClick" OnPopUpShowing="onPopUpShowing" /> </ClientSettings> </telerik:RadGrid>

Hi again all. Another small issue. My small player (in a raddockzone) all looks ok except for the slider, which looks strange and does not respond to mouse click/drag. I will attach what it looks like. Seems to be on all skins I have tried. Any suggestions on what to look at? The slider works on mobile view but the volume is not accessible through the desktop and also fullscreen looks fine.
Thanks for any suggestions.


Hello!
I am working on a site that is using version 2016.2.607.40 of Telerik.Web.UI and I would like to customize the dialogs for the RadEdior control. I do not have access to the installer for this version so I cannot get a copy of the EditorDialogs folder.
Could you link to the installer or a copy of the folder for me?
Thank you!

Hi!
I am looking for a way to add custom attributes to RadToolbarButton to be rendered in html
When I use following snippet
RadToolBarButton button =newRadToolBarButton();button.Attributes["data-attr"] ="CustomText";button.CssClass +="tipsylink";
I expect to see<aclass="tipsylnk ..."data-attr="CustomText"...>
But unfortunately I can see onlywithout data-attr attribute.<aclass="tipsylnk rtbWrap"...>
I do use jquery to read such attributes from web controls for my custom needs.
And that works for all standard asp.net controls but unfortunately
radtoolbar implementation is different - as I understand it stores
custom attributes in another place.
I know that it is possible to read such attributes on client side using
but actually I'd like to use standard jquery $('.tipsylnk'). selectorvartoolBar = $find("<%=RadToolBar1.ClientID %>");varbutton = toolBar.findItemByText("Button 1");alert(button.get_attributes().getAttribute("DisplayName"));
and process all items in the same way.
So is it possible to render custom attributes to html element attribute
for RadToolbarButtons?


