Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
431 views
We have replaced the regular Sharepoint 2010 Global Nav menu with the Telerik RadMenu.  When a new link is added to the Global Nav and the "Open in new window" option is selected, clicking on that new link in the Global Nav does not open the link in a new window.  Is there a setting that I am missing or is this a bug?  Is there a workaround?

Thanks
BraydonCampbell
Top achievements
Rank 1
 answered on 17 Feb 2021
8 answers
558 views
Hi,

I have a custom edit form. I open it up by setting OnClientAppointmentEditing="OpenEditSchedulePopup".

In my page I have some dropdownlists which are used to filter the data in the RadSchedule. I use a RadAjaxManager so that when the dropdown selection is changed the RadSchedule is updated via Ajax.

I would like to get the same effect when the Custom Edit Popup is closed. I have noticed that when the standard edit form is closed it uses Ajax to rebind the RadScheduler. How do I get my custom Edit popup form to use ajax to update the radscheduler when it is closed?

The standard edit form is doing it so I am sure it is possible.
n/a
Top achievements
Rank 1
Veteran
 answered on 17 Feb 2021
5 answers
162 views
I have three resources added and when someone creates and saves an appointment I want the resource to be required, is there and easy way to do this? Is this functionality built in?
Peter Milchev
Telerik team
 answered on 16 Feb 2021
1 answer
319 views
Hi,

   I am responsible for a web forms applications which has  been working fine for quite  a while. We've gotten to IE 11 and we've started having problems. So we changed to edge and found other problems. IE 11 was sending an enter key on a save of screen which caused problems with the applications. Once we changed to Edge we encountered even weirder problems:
1. We have a number of telerik dropdowns (radComboBox). There are a few that, if they are changed to the non default  values, shift back to the default value when save button is clicked. The weird thing is that this is only happening on two of the dropdowns, always the same two. The other drop downs that are working fine (which is most of them, as many as fifty). So these two that aren't working are "random". This is the second time we've found something like this. This is happening on two web forms
2. We switched to the same web form and used IE 11. The problem went away. 

In both cases where this happened this has happened with random dropdowns. However it always happens with the same two dropdown. Just to clarify, all the dropdowns, the ones that work and the one's that don't,  have exactly the same two values in them:
"GO"
"No GO".

Any help would be appreciated.

Thanks,
Neil Newton
Doncho
Telerik team
 answered on 16 Feb 2021
11 answers
727 views
Hi

I'm a few days trying to solve a strange behavior with radmultiselect, but without success.

I have a page works fine for very years, but now I added a new control, the radmultiselect. When I use in production Redis with distributed session/cache provider, the page crash. Many strange behaviors occurs. When I use inproc, everything works fine. 

I added the radmultiselect dinamicaly like this example:

Telerik.Web.UI.RadMultiSelect rms;
rms = new RadMultiSelect();
rms.ID = "xyz";
rms.DataTextField = "text";
rms.DataValueField = "value";
rms.Filter = RadMultiSelectFilter.Contains;
rms.MinLength = 3;
rms.Font.Size = FontUnit.Small;
rms.Width = Unit.Percentage(70);
rms.AutoBind = false;
rms.AutoPostBack = true;
rms.WebServiceClientDataSource.PageSize = 20;
rms.WebServiceClientDataSource.AutoSync = true;
rms.WebServiceClientDataSource.AllowPaging = true;
rms.WebServiceClientDataSource.EnableServerPaging = true;
rms.WebServiceClientDataSource.EnableServerFiltering = true;
rms.WebServiceClientDataSource.EnableViewState = true;
rms.WebServiceClientDataSource.WebServiceSettings.Select.DataType = ClientDataSourceDataType.JSON;
rms.WebServiceClientDataSource.WebServiceSettings.Select.ContentType = "JSON";
rms.WebServiceClientDataSource.WebServiceSettings.Select.Url = f.FixupUrl("~/dal/webservices/service.asmx/getTags");
rms.Enable = true;
"name of placeholder".Controls.Add(rms);


The problem occurs when I try to add the database value.

I tried some formats:

1 - Dynamic list

List<dynamic> selected = new List<dynamic>();
 
foreach (DataRow dr_rms in dt_rms.Rows) {
    MultiSelectItem msi = new MultiSelectItem();
    msi.Value = dr_rms["value"].ToString();
    msi.Text = dr_rms["text"].ToString();
 
    rms.Items.Add(msi);
 
    var item = new {
        text = dr_rms["text"].ToString(),
        value = dr_rms["value"].ToString()
    };
    selected.Add(item);
}
 
rms.Value = selected;


2 - Fixed Class

public class RadMultiSelectClass {
    public int value { get; set; }
    public string text { get; set; }
}
 
List<RadMultiSelectClass> selected = new List<RadMultiSelectClass>();
 
foreach (DataRow dr_rms in dt_rms.Rows) {
    selected.Add(new RadMultiSelectClass { value = Convert.ToInt32(dr_rms["value"].ToString()), text = dr_rms["text"].ToString() });
}
 
rms.Value = selected;

webconfig:

Everything works fine: 
The radmultiselect get the value from database and the page flow are totaly normaly. With many postbacks, everything works fine.
<sessionState mode="InProc" cookieless="false" timeout="120" />


Page with strange behaviors, loosing sessions.
<sessionState mode="Custom" customProvider="MySessionStateStore">
  <providers>
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="xxx.cache.amazonaws.com" port="6379" accessKey="" ssl="false" retryTimeoutInMilliseconds="60" throwOnError="false" />
  </providers>
</sessionState>

If I comment the "// rms.Value = selected;" The page works fine, with or without redis. The problem only occurs when I put some value to rms.value.

The RadMultiSelect.Value have any problem with Redis or distributed session provider?

 

Thanks

Peter Milchev
Telerik team
 answered on 16 Feb 2021
2 answers
256 views

Hi I am trying change to change the color of the bar chart and databinded using sql datasource. the 

Here's the code behind

Page load code behind

Dim barColors As Color() = New Color(7) {Color.Purple, Color.SteelBlue, Color.Aqua, Color.Yellow, Color.Navy, Color.Green, Color.Blue, Color.Red}
        GraphIncoming.ChartTitle.Text = "Number of Incoming request per Area for the Year " + dpdYearWKPerArea.SelectedValue.ToString + ""
        GraphIncoming.DataBind()
        Dim k As Integer = 0
        GraphIncoming.PlotArea.Series(0).Name = "Value"
        For Each item As ChartSeriesItem In GraphIncoming.PlotArea.Series(0).Items
            item.Appearance.FillStyle.MainColor = barColors(System.Math.Max(System.Threading.Interlocked.Increment(k), k - 1))
        Next
######

aspx Page

 <telerik:RadHtmlChart ID="GraphIncoming" runat="server" DataSourceID="SqlDataSource2" Font-Underline="False" Skin="Office2010Blue" Width="100%">
                                                        <PlotArea>
                                                            <Series >
                                                                <telerik:ColumnSeries DataFieldY="Value"  >
                                                                    <Appearance FillStyle-BackgroundColor="#337ab7"></Appearance>
                                                                    <TooltipsAppearance Color="White" />
                                                                </telerik:ColumnSeries>
                                                            </Series>
                                                            <XAxis DataLabelsField="Area">
                                                                <LabelsAppearance RotationAngle="45">
                                                                </LabelsAppearance>
                                                                <TitleAppearance Text="">
                                                                    <TextStyle Bold="true" Color="Red" FontFamily="Verdana" FontSize="12px" Italic="true" />
                                                                </TitleAppearance>
                                                            </XAxis>
                                                            <YAxis>
                                                                <TitleAppearance Text="Number of Incoming request">
                                                                    <TextStyle Bold="true" Color="Red" FontFamily="Verdana" FontSize="12px" Italic="true" />
                                                                </TitleAppearance>
                                                            </YAxis>
                                                        </PlotArea>
                                                        <Legend>
                                                            <Appearance Visible="True">
                                                            </Appearance>
                                                        </Legend>
                                                        <ChartTitle >
                                                            <Appearance Visible="True">
                                                                <TextStyle Bold="true" Color="Blue" FontFamily="Verdana" FontSize="12px" Italic="true" />
                                                            </Appearance>
                                                        </ChartTitle>

                                                        <Zoom Enabled="False"></Zoom>
                                                    </telerik:RadHtmlChart>

 

 

 

Vessy
Telerik team
 answered on 15 Feb 2021
1 answer
351 views
Hi,

Wound like to check whether Telerik.Web.UI.dll 2009 version is affected by CVE-2019-18935 or CVE-2017-11317?

Our application is using Telerik.Web.UI.dll 2009 version and please let us know if any vulnerabilities with this version?

Please advise.
Vessy
Telerik team
 answered on 15 Feb 2021
1 answer
142 views

Users reported a problem in a very old application using Telerik RadComboBox v2017.2.711.45 and I'm trying to find a solution for it, without having to upgrade the telerik controls (we don't have any active subscription or support):

 

Problem is, that when the user selects some text on a page, and releases the left mouse button over a RadComboBox control, then the dropdown opens. E.g:

- user presses left mouse button in a textbox for example
- user moves the mouse to select text
- while the left button is still pressed, the mouse is moved out of the textbox and over a RadComboBox
- user releases the left mouse button (while over the RadComboBox)

--> the dropdown list opens/expands, which is not desired (since the mouse-button down was not over that control)

 

Does anyone have an idea how to approach and fix this problem globally?

Is there for example a way to find a RadComboBox at the current mouse position, so that I could do something in the mousedown/up events?

 

Thanks a lot for any help

Doncho
Telerik team
 answered on 15 Feb 2021
3 answers
236 views
Team,

  Can anybody let me know if how can I set my paging to the right alignment in the RadGrid. Currently with this code below the grid is not diaplsying the pager with right alignment.

in Code-Behind i wrote

 

this.RadGrid1.MasterTableView.PagerStyle.AlwaysVisible = true;

 

 

this.RadGrid1.MasterTableView.PagerStyle.ShowPagerText = false;

 

 

this.RadGrid1.MasterTableView.PagerStyle.HorizontalAlign = HorizontalAlign.Center;

 

 

this.RadGrid1.MasterTableView.PagerStyle.PrevPageText = "Previous";

 

 

this.RadGrid1.MasterTableView.PagerStyle.NextPageText = "Next";

 

 

this.RadGrid1.MasterTableView.PagerStyle.Mode = Telerik.Web.UI.GridPagerMode.NextPrevAndNumeric;

 



Thanks
Vijay
Doncho
Telerik team
 answered on 12 Feb 2021
5 answers
165 views
Is there a way to reorder a LayoutRow, in a RadPageLayout, depending on device?  In my scenario I have multiple rows (each containing a DIV with various other controls), and when the page is being viewed by a mobile device, I'd like to have the 1st and 2nd row switch positions.
Rumen
Telerik team
 answered on 12 Feb 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?