<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"RadAsyncUpload1"
OnClientFileUploaded
=
"OnFileUploaded"
OnClientFileUploadRemoved
=
"OnClientValidationFailed"
OnClientFileDropped
=
"OnClientValidationFailed"
OnClientValidationFailed
=
"OnClientValidationFailed"
ManualUpload
=
"false"
MultipleFileSelection
=
"Disabled"
MaxFileInputsCount
=
"1"
MaxFileSize
=
"5000000"
width
=
"220px"
>
<
FileFilters
>
<
telerik:FileFilter
Description
=
"Documents(pdf;tiff;tif)"
Extensions
=
"pdf,tiff,tif"
/>
</
FileFilters
>
<
Localization
Select
=
"Browse"
/>
</
telerik:RadAsyncUpload
>
Hi
I have used fitler in Telerik Radgrid.My telerik Version is 2015.1.401.40 . But the filter is not showing any items.
Below is the code which is rendered in browser. As you can text span text is empty.
<ul class="rmActive rmVertical rmGroup rmLevel1" style="transition:none; top: 0px; float: left; display: block; visibility: visible;">
<li class="rmItem rmFirst"><a class="rmLink rmImageOnly rmFocused" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem "><a class="rmLink rmImageOnly" style="width: 86px;" href="#"><span class="rmText"></span></a></li><li class="rmItem rmLast" style="margin: 0px; padding: 0px; height: 0px; overflow: hidden;"><a class="rmLink" style="width: 86px; display: none;" href="#"><span class="rmText"></span></a></li>
</ul>
Can you kindly help me out what may be the issue.
I have used Bootstarp Theme .
Hi,
As you can also see from the following Demo page, space doesn't work in the search box within RadNavigation. The search box doesn't allow space to be entered and this is a problem as it doesn't let me search using a combination of keywords (ex: "telerik controls"). Please help as we are using the search box in RadNavigation control.
http://demos.telerik.com/aspnet-ajax/navigation/functionality/server-side-templates/defaultcs.aspx?product=navigation
Thanks,
Suresh
I have two RadPanelItems in a RadPanelBar.
The First RadPanelItem has list of Controls and it goes up to 20 lines of controls. But when it is viewed in the browser all the 20 lines of controls are not visible due to the height which is set as AUTO is not reflected. Vertical scroll bar is shown to view the all the lines. I don't want to have the scroll bar, Instead i need to show all the lines of code at a single page.
I get the following error when not using embedded scripts for the RadListBox
Uncaught TypeError: Cannot read property 'Classic' of undefined.
I'm using Telerik version 2015.1.225.40.
Sample code
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
<
Scripts
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQueryPlugins.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Navigation.NavigationScripts.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.ListBox.RadListBoxScripts.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.TouchScrollExtender.js"
/>
</
Scripts
>
</
telerik:RadScriptManager
>
<
div
>
<
telerik:RadListBox
ID
=
"lstPermitStatuses"
Width
=
"313px"
Height
=
"100px"
runat
=
"server"
EnableEmbeddedScripts
=
"False"
>
<
Items
>
<
telerik:RadListBoxItem
Text
=
"Item1"
runat
=
"server"
/>
<
telerik:RadListBoxItem
Text
=
"Item2"
runat
=
"server"
/>
<
telerik:RadListBoxItem
Text
=
"Item3"
runat
=
"server"
/>
<
telerik:RadListBoxItem
Text
=
"Item4"
runat
=
"server"
/>
<
telerik:RadListBoxItem
Text
=
"Item5"
runat
=
"server"
/>
</
Items
>
</
telerik:RadListBox
>
</
div
>
</
form
>
Hello,
I have a datagrid1 which contains another datagrid2 inside a nestedviewtemplate. With datagrid2 I insert, update and delete records with the help of the different command events.
How is it possible to get the parent item inside the OnItemCommandEvent, if I click on "Add new record" or on the button inside my GridEditCommandColumn. I tried e.Item.OwnerTableView.ParentItem inside the OnItemCommand-event, but the ParentItem is always null. Thanks in advance.
Kind regards,
Felix
This is one strange bug. I have a simple RadGrid with a couple of columns, I use a GridTemplateColumn with a checkbox control for deletion, heres the markup.
<
telerik:GridTemplateColumn
ItemStyle-HorizontalAlign
=
"Center"
UniqueName
=
"chkItem"
ItemStyle-Width
=
"1%"
>
<
HeaderTemplate
>
<
asp:CheckBox
runat
=
"server"
onclick
=
"$('.chk-locations2 input').prop('checked', this.checked).trigger('change');"
ID
=
"chkSelectAll"
/>
</
HeaderTemplate
>
<
ItemTemplate
>
<
asp:CheckBox
CssClass
=
"chk chk-locations2"
data-value='<%#Eval("LocationID")%>' text='<%#Eval("LocationID")%>'
runat="server" ID="chkItem" Checked="false" />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
Anyway, I have a button that does a full postback that checks for .Checked checkboxes and executes the delete operation, like this.
For
Each
Item
As
Telerik.Web.UI.GridItem
In
Input.Items
If
Item.ItemType = GridItemType.Item
Or
Item.ItemType = GridItemType.AlternatingItem
Then
Dim
Chk
As
CheckBox =
CType
(Item.FindControl(
"chkItem"
), CheckBox)
If
Chk.Checked
Then
Dim
ID
As
String
= Chk.Text
If
IsNumeric(ID)
Then
CallBack.Invoke(ID, Argument)
End
If
End
If
End
If
Next
All works as expected, only the checked rows are deleted and since I reload the grid again, no items are checked once the page has reloaded, it all looks ok until you refresh the page again. If your grid had say 10 items and you ticked the first item and deleted it, as expected the grid now would have 9 items. If you refresh the page, a full postback is done as expected however, the first item is marked as "Checked" when it was not, so the item is then deleted and how you have 8 items despite the fact that you had not explicitly checked any item.
This seems to be a bug in the radgrid, the checkbox is shown as Checked when nobody checked it. The only solution I can see for now is to prevent a postback with Javascript by check for the no. of checked checkboxes.
Hey
where can i find the latest CDN package as i would like to try hosting my own as we are having some issues due to security settings.
Peter.
I have Updated Telerik From 2013 to 2015,but facing some issues now.
I have radTooltiptip with checkbox on it, whenever i check the box, instead of updating Radtootip at same location, it update itself in the background. and I get Two tooltip at same time. One as in Popup form and second in background. while i am using only one in code. It was working perfect in telerik2013.
<
telerik:AjaxSetting
AjaxControlID
=
"rbcasestatus"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"Panel1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
-----------------------------------------------------------------------------
<
telerik:RadToolTip
ID
=
"RadToolTip1"
Animation
=
"Slide"
AnimationDuration
=
"190"
runat
=
"server"
Modal
=
"true"
HideEvent
=
"ManualClose"
Style
=
"z-index: 6990"
Position
=
"Center"
Width
=
"751px"
>
<
asp:Panel
ID
=
"Panel1"
DefaultButton
=
"btndispatch"
BackColor
=
"White"
runat
=
"server"
Height
=
"250px"
Width
=
"813px"
>
<
table
style
=
"width: 782px"
>
<
tr
>
<
td
style
=
"margin-left: 10px;"
class
=
"auto-style23"
></
td
>
<
td
class
=
"auto-style24"
style
=
"margin-left: 10px;"
>
<
asp:Label
ID
=
"Label17"
runat
=
"server"
CssClass
=
"label"
Text
=
"Dispatch To"
></
asp:Label
>
</
td
>
<
td
class
=
"auto-style25"
>
<
asp:RadioButtonList
ID
=
"rbcasestatus"
runat
=
"server"
Height
=
"16px"
AutoPostBack
=
"true"
OnSelectedIndexChanged
=
"rbcasestatus_SelectedIndexChanged"
RepeatDirection
=
"Horizontal"
Width
=
"172px"
>
<
asp:ListItem
Value
=
"0"
>Client</
asp:ListItem
>
<
asp:ListItem
Value
=
"1"
>Vendor</
asp:ListItem
>
</
asp:RadioButtonList
>
</
td
>
<
td
class
=
"auto-style26"
>
<
asp:Label
ID
=
"lblVendorName"
runat
=
"server"
CssClass
=
"label"
Text
=
"Vendor Name"
></
asp:Label
>
</
td
>
<
td
class
=
"auto-style27"
>
<
asp:RadioButtonList
ID
=
"rbVendorName"
runat
=
"server"
Height
=
"16px"
RepeatDirection
=
"Horizontal"
Width
=
"172px"
>
<
asp:ListItem
Value
=
"0"
>Huawei</
asp:ListItem
>
<
asp:ListItem
Value
=
"1"
>ZTE</
asp:ListItem
>
</
asp:RadioButtonList
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"auto-style19"
style
=
"margin-left: 10px;"
> </
td
>
<
td
class
=
"auto-style3"
style
=
"margin-left: 10px;"
> </
td
>
<
td
class
=
"auto-style14"
>
<
asp:Button
ID
=
"btndispatch"
runat
=
"server"
BorderColor
=
"#0099CC"
BorderStyle
=
"Solid"
class
=
"customButton"
Height
=
"31px"
OnClick
=
"btndispatch_Click"
Style
=
"float: left; margin-right: 10px; margin-left: 1px;"
Text
=
"Dispatch"
ValidationGroup
=
"SaveActivity"
Width
=
"114px"
/>
</
td
>
<
td
class
=
"auto-style17"
> </
td
>
<
td
> </
td
>
</
tr
>
<
tr
>
<
td
class
=
"auto-style19"
> </
td
>
<
td
colspan
=
"4"
>
<
asp:Label
ID
=
"lblMessage"
runat
=
"server"
ForeColor
=
"Green"
></
asp:Label
>
</
td
>
</
tr
>
</
table
>
<
br
/>
<
br
/>
</
asp:Panel
>
</
telerik:RadToolTip
>
------------------------------------------------------------------------------
protected void rbcasestatus_SelectedIndexChanged(object sender, EventArgs e)
{
if (rbcasestatus.SelectedIndex==1)
{
lblVendorName.Visible = true;
rbVendorName.Visible = true;
}
else
{
lblVendorName.Visible = false;
rbVendorName.Visible = false;
}
}