<
MasterTableView
>
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"Usuario.Login"
/>
</
GroupByFields
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"Usuario.Login"
/>
</
SelectFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
</
MasterTableView
>
Hi,
There is an issue with Rad Upload control not loading File Open dialog box in Fire Fix. Please find belwo Rad Upload markup and Javascript function. This javascript function working perfectly in IE but not in Fire Fox because it doesn't allow File Input control to be clicked. Please provide a workaround for this issue.
Thanks in advance.
Rad Upload markup:
<telerik:RadUpload id="fileUploadImport" OnClientAdded="MakeKeyBoardAccessible" OnClientFileSelected="validateBrowse" ReadOnlyFileInputs="true" EnableEmbeddedSkins="false" Skin="Default" AllowedFileExtensions=".txt" ControlObjectsVisibility="None" ToolTip="Browse" runat="server">
<Localization Select = "Browse"/>
</telerik:RadUpload>
function MakeKeyBoardAccessible(radUplaod, args) {
args._row.all[3].onkeydown = function(e) {
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;
if (keycode == 13) {
args._row.all[1].click();
}
}
}
<
telerik:RadTreeView
ID
=
"RadTreeView1"
Runat
=
"server"
>
<
ContextMenus
>
<
telerik:RadTreeViewContextMenu
OnContextMenuItemClick
=
"RadTreeView1_ContextMenuItemClick"
runat
=
"server"
ID
=
"HelpDeskMenu"
ClickToOpen
=
"True"
Skin
=
"Vista"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Add Lesson Component"
Value
=
"xyz"
></
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadTreeViewContextMenu
>
</
ContextMenus
>
</
telerik:RadTreeView
>
// CODE TO POPULATE TREE
RadTreeNode node = new RadTreeNode("Test Google");
RadTreeNode node2 = new RadTreeNode("Test Google 2");
RadTreeView1.Nodes.Add(node);
RadTreeView1.Nodes.Add(node2);
string strID = string.Empty;
string UnderLicenseeID = string.Empty;
string StrType = string.Empty;
string msg = string.Empty;
//RadTextBox Users = ((RadTextBox)e.Item.FindControl("txtUsers")).Text;
ViewState["bound"] = "1";
if(e.Item is GridDataItem)
{
GridDataItem Item = e.Item as GridDataItem;
if(ViewState["bound"].ToString() == "1")
{
foreach (GridDataItem item in RadGrid1.Items)
{
if(item["Users"].Text != null)
{
strID = item["ClientID"].Text;
UnderLicenseeID = item["UnderLicense"].Text;
StrType = item["Type"].Text;
msg = item["Name"].Text;
RadGrid2.Visible = false;
}
}
}
}
<
asp:HyperLink
runat
=
"server"
ID
=
"hlkRunLM"
Text
=
"RunLM"
Font-Size
=
"Small"
>
</
asp:HyperLink
>