Menu is dinamically created in code behind:
Dim objMenu As Telerik.Web.UI.RadTreeView = CType(m.GetMasterMenu(), Telerik.Web.UI.RadTreeView)
Dim objUIService As New UIService(objUserSession)
Dim objMenuData = objUIService.GetMenus(0)
Dim XMLMenuItem = objMenuData.Item(0)
objMenu.LoadXml(XMLMenuItem.XMLMenu.ToString)
objMenu.Width = "220"
It creates following nodes on the page:
Node 1
Node2
Node3
Node4
Pointing to Node4, then clicking right mouse button displays menu with the following items :
"Open", "Open in New Tab","Open in New Window", "Save Target As", etc.
How to Not-show that menu on the right mouse button click on Node4 ?
Thank you
<telerik:GridButtonColumn ConfirmText="Unassign this contract?" ConfirmDialogType="RadWindow" ConfirmTitle="Unassign" ButtonType="ImageButton" CommandName="Delete" Text="Unassign" UniqueName="UnassignColumn"> <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton"></ItemStyle> </telerik:GridButtonColumn>protected void RadGridDetail_DeleteCommand(object source, GridCommandEventArgs e) { //Get the GridDataItem of the RadGrid GridDataItem item = (GridDataItem)e.Item; //Get the primary key value using the DataKeyValue. int locNbr = Convert.ToInt32(RadGridLOC.SelectedValues["in_loc"].ToString()); int locYr = Convert.ToInt32(RadGridLOC.SelectedValues["y_loc"].ToString()); int locVer = Convert.ToInt32(RadGridLOC.SelectedValues["in_loc_version"].ToString()); string CntNbr = item.OwnerTableView.DataKeyValues[item.ItemIndex]["ic_contract"].ToString(); int UwYr = Int32.Parse(item.OwnerTableView.DataKeyValues[item.ItemIndex]["y_underwriting"].ToString()); OleDbConnection dbCon = new OleDbConnection(rootWebConfig.ConnectionStrings.ConnectionStrings["ConnectionString"].ToString()); try { dbCon.Open(); OleDbCommand cmd = new OleDbCommand("sp_gloc_detail_del_1", dbCon); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("@in_loc", OleDbType.Integer).Value = locNbr; cmd.Parameters.Add("@y_loc", OleDbType.Integer).Value = locYr; cmd.Parameters.Add("@in_loc_version", OleDbType.Integer).Value = locVer; cmd.Parameters.Add("@ic_contract", OleDbType.Char, 11).Value = CntNbr; cmd.Parameters.Add("@y_underwriting", OleDbType.Integer).Value = UwYr; cmd.Parameters.Add("@ic_user", OleDbType.Char).Value = Session["GRSUserID"]; cmd.Parameters.Add("@f_mode", OleDbType.Integer).Value = Session["AuthMode"]; cmd.ExecuteNonQuery(); RadGridLOC.Rebind(); //RadGridLOC.MasterTableView.Items[0].Selected = true; //RadGridLOC.SelectedIndexes.Add(0); RadGridDetail.SelectedIndexes.Add(0); } catch (OleDbException ex) { ScriptManager.RegisterStartupScript(this, typeof(string), "Error", "alert('Unable to unassign contract. Please contact System Administrator.');", true); LogErrorClass errclass = new LogErrorClass(); int i = errclass.LogErrorMsg("Error", ex.Message, ex.StackTrace.ToString(), Session["GRSUserID"].ToString()); e.Canceled = true; } finally { dbCon.Close(); } }
Controls: RadEditor, RadTextBox. Version: 2012.3.1120.40
Device, o/s, browser. Ipad ios6 safari
Issue:
Using these controls:
-Enter some text 'hello world', press and hold for magnifying glass, move between words. Typing more text at this point doesn't work, you need to hide the keyboard and press the control again to start typing again.
-Tap a word. wait for pop up to select word then Select word. same issue again.
-Entering text just into the RadEditor appears quite slow in response
RadEditor.
<telerik:RadEditor runat='server' EnableResize="false" ToolsFile="~/ToolsFile.xml"
OnClientCommandExecuting="RichTextBoxOnClientCommandExecuting" ContentAreaMode="Div"
ID='radEditor' Width="400px" StripFormattingOptions="AllExceptNewLines" EditModes="All">
Hi!
We are developing an intranet application that uses Windows Authentication with impersonation. Everything works well when everything is on one server and of course in the development environment. (We are using Visual Studio 2012, .NET 4.0, Windows Server 2008 R2, SQL Server 2008 Enterprise.)
We did have some initial issues with this setup until we realized that we need to support delegation for the Network Service account via AD. When we check the user object on a test webpage, everything works fine:
AuthenticationType: Kerberos
ImpersonationLevel: Impersonation
IsAnonymous: False
IsAuthenticated: True
IsGuest: False
IsSystem: False
Name: [user]
Owner: S-1-5-32-544
Token: 2536
User: S-1-5-21-1292428093-1715567821-839522115-9372
Note: we want to use Kerberos in this environment, and this is an HTTPS site. The database server and the web server are two different servers and both are on the same domain.
When we add a Telerik Listview control…
<telerik:RadListView BackColor="Gray" runat="server" ID="radListViewTasks" OnNeedDataSource="radListViewTasks_NeedDataSource" Width="100%"> <ItemTemplate> <div class="listViewItem"> <asp:HyperLink ID="hyperLinkTask" NavigateUrl='<%# Eval("PageURL") %>' runat="server" Target="_self"> <asp:Image ID="imageTask" runat="server" ImageUrl='<%# Eval("FolderIcon") %>' /><br /> <span><%#Eval("TaskName")%></span> </asp:HyperLink> </div> </ItemTemplate> </telerik:RadListView>…the database call on the backend:
protected void radListViewPages_NeedDataSource(object sender, RadListViewNeedDataSourceEventArgs e) { radListViewPages.DataSource = GetPagesDataTable(); }
… is causing the impersonated account to revert back to IIS’s account: Exception of type 'System.Web.HttpUnhandledException' was thrown.. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
When we bypass the ASP.NET impersonation account and use a domain account, the error changes to: Exception of type 'System.Web.HttpUnhandledException' was thrown.. Login failed for user '[REDACTED]WEB1$'
Thinking we might have an ajax issue, we turned off the RadAjaxManager. No effect.
I will spare you all the database access code because we have tested both impersonation paths in other parts of the application. (We need to support two paths because we do some database work in the application_start in the Global.asax file, so that work is done under one specific domain account and all other session (user) activity is done through the impersonation via asp.net.)
I am not sure this is specifically a Telerik Listview issue, but more of the ‘need datasource’ call.
Before I take the time to build another test project for tech support, I thought I would go to the forum to see if anyone has banged their head against this issue.
Why would the Telerik datasource calls use the IIS account and not honor the web config settings? Do I need to set up something up in IIS for the Telerik modules to use? Or what?
Thanks for your help!
Michael
Hi
I want to change radalert style, I am using bellow code to change the style
1. Need to change default Ok button style
1. Need to change RadAlert Tiltle backgorun style
StyleSheet.cs
.RadWindow
.rwTitlebar
{
background-image: url('Images/pop_bg.gif');
}
.RadWindow
.rwTopLeft
{
background-image: url('Images/pop_left_curve.gif');
}
.RadWindow
.rwTopRight
{
background-image: url('Images/pop_right_curve.gif');
}
.rwDialogPopup .rwPopupButton
{
background-image: url('../save_btn.gif');
background-repeat: no-repeat;
}
<telerik:RadWindowManager ID="RadWindowManager1" runat="server"
EnableEmbeddedSkins="False" EnableTheming="True">
</telerik:RadWindowManager>