Hi
I've noticed that the drag and drop functionality of the AsyncUpload control doesn't seem to work in Microsoft Edge (IE 11 replacement) on Windows 10.
It works fine in Chrome & Firefox.
I've confirmed this behaviour against the Telerik demo: http://demos.telerik.com/aspnet-ajax/asyncupload/examples/draganddrop/defaultcs.aspx
Anyone else able to confirm this? Any thoughts?
Hi,
I have a situation where I need to create a tree consisting of the following entities:
Organization Entity
---> Organization Account
--> Organization Account Record
Organization Entities can have sub-Organization entities, Accounts can have sub-Accounts and records can have sub-records.
As such I want to have different icons for the entity types, Different expand and click functionality based on the types and different context menu's for each type.
I have created custom "RadTreeNode" classes in the following way:
public class OrgNode: RadTreeNode
{
public OrgNode()
{
this.ExpandMode = TreeNodeExpandMode.ServerSideCallBack;
this.ImageUrl = "../Images/image01.png";
}
}
public class OrgAccountNode: RadTreeNode
{
public OrgAccountNode()
{
this.ExpandMode = TreeNodeExpandMode.ServerSideCallBack;
this.ImageUrl = "../Images/image02.png";
}
}
public class OrgAccountRecordNode: RadTreeNode
{
public OrgAccountRecordNode()
{
this.ExpandMode = TreeNodeExpandMode.ServerSideCallBack;
this.ImageUrl = "../Images/image03.png";
}
}
My problem exists when I use the "TreeView_NodeExpanded" method, because (as mentioned above) I want to do different things based on what type of node is expanded...
Using the following statements:
e.Node.GetType()
returns correctly for the top node (OrgNode - the only node on the page not created using the serversidecallback) but only returns "RadTreeNode" as the type for all other nodes which I have added using ServerSideCallback even though the nodes added are showing the correct images and text.
Has anyone got any thoughts on this?
Hello,
After unexpected restart of my system i got this error. Please any one can help me on this issue.
Could not load file or assembly 'Telerik.Web.UI, Version=2015.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
Thanks in Advance
Prakash A
Hello,
We have our employee photos as binary fields (VARBINARY(MAX)) in our SQL Server database. How to bind these Images to the indiviudal Org Chart boxes?
Do you have sample Code available?
Thanks in advance.
Thomas
<
telerik:RadTreeView
ID
=
"RadTreeView1"
runat
=
"server"
OnContextMenuItemClick
=
"RadTreeView1_ContextMenuItemClick"
OnClientContextMenuItemClicking
=
"onClientContextMenuItemClicking"
>
<
ContextMenus
>
<
telerik:RadTreeViewContextMenu
ID
=
"ctxMenuAddK1"
runat
=
"server"
>
<
Items
>
<
telerik:RadMenuItem
Value
=
"addNodeK1"
Text
=
"Add New K1 Node"
>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadTreeViewContextMenu
>
</
ContextMenus
>
</
telerik:RadTreeView
>
case
"addNodeK1"
:
var
windowResult = window.showModalDialog(
"Controls\\newNodeK1.htm"
,
"Enter Value"
,
"dialogHeight: 300px; dialogWidth: 400px;"
);
document.getElementById(
'<%=HiddenField1.ClientID %>'
).value = windowResult;
break
;
protected
void
RadTreeView1_ContextMenuItemClick(
object
sender, RadTreeViewContextMenuEventArgs e)
{
switch
(e.MenuItem.Value)
{
case
"addNodeK1"
:
// get node name and node value from the hidden field.
string
nameValue = HiddenField1.Value;
}
}
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
ShowContentDuringLoad
=
"false"
VisibleStatusbar
=
"false"
ReloadOnShow
=
"true"
runat
=
"server"
Skin
=
"Sunset"
EnableShadow
=
"true"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"RadWindow1"
runat
=
"server"
Behaviors
=
"Close"
OnClientClose
=
"OnClientClose"
NavigateUrl
=
"Controls\\newNodeK1.htm"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
var
oWnd = radopen(
"Controls\\newNodeK1.htm"
,
"RadWindow1"
);
Hello All,
Hopefully this has an easy solution. I'm using a RadGrid with an EditForm (EditFormType="Template"). In that form I have a dropdownlist and several other fields. Depending on the value selected in the ddl, I need to enable or disable certain validators. the following code for SelectedIndexChanged works when in edit mode, but does not when in insert mode. How do I get it to fire for Insert as well as Edit?
Protected Sub lstContactType_SelectedIndexChanged(sender As Object, e As EventArgs)
For Each item As GridDataItem In gridEmpContacts.EditItems
' Access your textbox here
Dim rfv1 As RequiredFieldValidator = TryCast(item.EditFormItem.FindControl("rfvSSN"), RequiredFieldValidator)
Dim rfv2 As RequiredFieldValidator = TryCast(item.EditFormItem.FindControl("rfvPctBene"), RequiredFieldValidator)
Dim rfv3 As RequiredFieldValidator = TryCast(item.EditFormItem.FindControl("rfvContactDoB"), RequiredFieldValidator)
Dim listbox As DropDownList = DirectCast(sender, DropDownList)
Select Case listbox.SelectedValue
Case "401K/Profitsharing - Primary", "401K/Profitsharing - Secondary", "Life - Primary", "Life - Secondary", "AD&D - Primary", "AD&D - Secondary"
rfv1.Enabled = True
rfv2.Enabled = True
rfv3.Enabled = True
Case Else
rfv1.Enabled = False
rfv2.Enabled = False
rfv3.Enabled = False
End Select
Next
End Sub
Hi there
I just startet my first RadGrid Project in ASP.Net.
My question is:
Can I display a large cell with long text in one or two lines and then make something like ". . ." to show that the text is longer than the cell.
Another question is:
How can change the "Update" and the "Cancel" text for the Editing Form.
Greetings and thx for your help :-)