Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
204 views

Hi

I have a hierarchical grid with RetainExpandStateOnRebind="true" and allow sorting activated for some columns.

Problem:

On sorting the wrong DetailTable is expanded: always the same index of the MasterTable and not the Id.

Anyone knows a solution without having to post code? It's a huge grid with a lot of code...

Thanks!

Eyup
Telerik team
 answered on 04 Apr 2017
1 answer
33 views

Hi ,

we are having some issues...while upgrading to 2017 version from older version.Mainly it's related UI.Some pages rad window is not opening...some pages extra scroll bar is coming...some pages...colour is getting darker...some pages..grid view boarder is extended..some pages...calendar popup direction is changed to bottomright instead of bottomleft.....in some pages..extra boarder is coming in header...it seems like having not properly upgraded .may be some reference and compatability issue...we have followed this link to upgrade....: http://blogs.telerik.com/aspnet-ajax/posts/12-12-21/upgrade-the-version-of-your-telerik-asp.net-controls-in-6-easy-steps.   

Please guide us in this regards.

 

 

Priya Mohan
Top achievements
Rank 1
 answered on 04 Apr 2017
5 answers
504 views
Hello,

I understand that the Q1 2014 version of the radHTMLChart allows the location of an additional Y axis can be specified.

The documentation describes how to specify the AxisCrossingPoint through aspx, but my chart is created programmatically.

Attached is a screen shot of how the graph currently looks. I would like to move the additional Y axis (the one that runs 0 - 6) to the right hand side of the graph.
My code is below.

Thanks to anybody who can assist.

Daniel

public void SetupSlotsReleasedChart(RadHtmlChart radChart)
{
    DataTable dtDataTable = new DataTable();
    ResultData oResultData = new ResultData();
    InternetHomeController oController = new InternetHomeController();
 
    // Get Tenant KPI Data for a specific Tenant KPI ID (for Homepage Graph)
    oResultData = oController.GetKPIGraphData(ref dtDataTable);
 
    // Set the Chart Title and Set the X Axis and Y Axis Labels
    radChart.ChartTitle.Text = "Slots Released";
    radChart.PlotArea.XAxis.TitleAppearance.Text = "Month";
    radChart.PlotArea.YAxis.TitleAppearance.Text = "No. Hourly Slots";
 
    // The "Total Slots Value" will be the bar graph
    ColumnSeries totalSlotsValueColumnSeries = new ColumnSeries();
 
    // The "Total Slots Failed Value" will be the bar graph
    ColumnSeries totalSlotsFailedValueColumnSeries = new ColumnSeries();
 
    // Add and additional Y axis to be used for the Slots Released Percentageand Slots Released Target value series
    AxisY axisY = new AxisY();
    axisY.Name = "Percentage_Axis";
    radChart.PlotArea.AdditionalYAxes.Add(axisY);
 
    // The "Slots Released Percentage Value" will be a line graph
    LineSeries slotsValueLineSeries = new LineSeries();
    // This series will use the additional Y axis created above
    slotsValueLineSeries.AxisName = "Percentage_Axis";
     
    // The "Slots Released Target Value" will be a line graph
    LineSeries slotsTargetValueLineSeries = new LineSeries();
    // This series will use the additional Y axis created above
    slotsTargetValueLineSeries.AxisName = "Percentage_Axis";
     
    // Do not show the number values on the line graphs
    slotsValueLineSeries.LabelsAppearance.Visible = false;
    slotsTargetValueLineSeries.LabelsAppearance.Visible = false;
 
    // Display Legend on graph for the Value and Target series
    slotsValueLineSeries.Name = "Slots Released %";
    slotsTargetValueLineSeries.Name = "Target";
 
    // Display Legend on graph for the Total Slots and Total Slots Failed values (bar chart)
    totalSlotsValueColumnSeries.Name = "Total Slots";
    totalSlotsFailedValueColumnSeries.Name = "Total Slots Failed";
 
    foreach (DataRow row in dtDataTable.Rows)
    {
        // Populate the Total Slots Value bar graph series
        totalSlotsValueColumnSeries.SeriesItems.Add(Decimal.Parse(row["SRTotalSlotsValue"].ToString()));
 
        // Populate the Total Slots Failed Value bar graph series
        totalSlotsFailedValueColumnSeries.SeriesItems.Add(Decimal.Parse(row["SRTotalSlotsFailedValue"].ToString()));
 
        // Populate the Slots Released Percentage Value line graph series
        slotsValueLineSeries.SeriesItems.Add(Decimal.Parse(row["SRValue"].ToString()));
 
        // Populate the Slots Released Target line graph series
        slotsTargetValueLineSeries.SeriesItems.Add(Int32.Parse(row["SRTargetValue"].ToString()));
 
        // Set the labels on the X Axis
        AxisItem xAxisItem = new AxisItem(row["MonthDesc"].ToString());
        radChart.PlotArea.XAxis.Items.Add(xAxisItem);
    }
 
    // Add the Total Slots Value bar graph to the plot area
    radChart.PlotArea.Series.Add(totalSlotsValueColumnSeries);
 
    // Add the Total Slots Failed Value bar graph to the plot area
    radChart.PlotArea.Series.Add(totalSlotsFailedValueColumnSeries);
 
    // Add the Slots Released Percentage Value line graph to the plot area
    radChart.PlotArea.Series.Add(slotsValueLineSeries);
 
    // Add the Delay in Communication Target line graph series to the plot area
    radChart.PlotArea.Series.Add(slotsTargetValueLineSeries);
}
VINIT
Top achievements
Rank 1
 answered on 04 Apr 2017
1 answer
96 views
We are looking for a way to display the filtered values from all the columns in our RadGrid and don't see an easy way to do that.  I see the MasterTableView.FilterExpression option but it displays a bunch of junk that isn't easily parsed.  Is there a solution I'm not seeing somewhere in the settings?
CalebH
Top achievements
Rank 1
 answered on 03 Apr 2017
1 answer
104 views

Hello,

Can you please take a look at this problem?
In the editor the listBox is not on the position where I set it.It has to be below the black border.
 When I runt the site it is ok.

It is not a big problem but it is annoying when you have to use more listBoxes on one page.

What is this blue rectangle beside the listBox?
If i click on it, it changes the position of the listBox.

 

Im using VS 2012 pro, Win 7, IE 11.

 

Sincerely

Gunther Wagner

Rumen
Telerik team
 answered on 03 Apr 2017
3 answers
102 views

Is there a tool to take photographs and or videos using telerik?

At the image field of my table to browse in images and documents, we are looking at possibilities of being able to take photos

Rumen
Telerik team
 answered on 03 Apr 2017
3 answers
207 views

Hello,

I noticed that both the command items "Cancel changes" and "Refresh" fire an event with the name "RebindGrid".
This is happening for both the client side (ClientEvents.OnCommand) and the server side (onItemCommand). And we can't add an argument for those native commands.

So we have a way to intercept those actions (the 2 events I mentionned above) but we can't know if the user has clicked on the "Cancel changes" button or the "Refresh" Button. That's too bad !
I note that we don't have this issue with the "Save changes" button and the "Add new record" button which have their own command names.

Is this something that could be changed in a future release ?

Thank you.

Eyup
Telerik team
 answered on 03 Apr 2017
0 answers
97 views

 

Hi,

Could I achieve to set image to  full width of the browser, and it scale up or down on zoom in or out?

 

Cheers,

 

Duy

 

Duy
Top achievements
Rank 1
 asked on 03 Apr 2017
0 answers
71 views

We need to edit the menu/submenu names that are displaying in attachment by double clicking on it.

Is there any possibility to achieve that goal? 

Abu
Top achievements
Rank 1
 asked on 03 Apr 2017
8 answers
524 views
I am working with the RadTabStrip and the RadMultiPage controls in a SharePoint web part and am running into a strange issue. The controls are loading properly and everything is working as expected, but after clicking a couple of tags the tab strip stops working. The click is being registered by the page because I can step into javascript debug statements, but none of the RAD code is executed. Below is my code but it pretty much matches the Load On Demand example.

Web Form:

 

 

 

 

<telerik:RadAjaxLoadingPanel runat="server" ID="radLoadingPanel" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="radTabStrip">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="radTabStrip" />
                <telerik:AjaxUpdatedControl ControlID="radCenterFrame" LoadingPanelID="radLoadingPanel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="radCenterFrame">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="radCenterFrame" LoadingPanelID="radLoadingPanel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<script type="text/javascript">
  
    //function radTabStrip_OnClientSelecting(sender, args) {
    //    if (args.get_tab().get_pageViewID()) {
    //        alert(args.get_tab().get_test());
    //        args.get_tab().set_postBack(false);
    //    }
    //}
              
</script>
<div>
    <telerik:RadTabStrip ID="radTabStrip" runat="server" 
        SelectedIndex="0" MultiPageID="radCenterFrame" OnTabClick="radTabStrip_TabClick"
        Orientation="HorizontalTop">
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="radCenterFrame" runat="server" SelectedIndex="0" OnPageViewCreated="radCenterFrame_PageViewCreated" />
</div>

 

 

 

 

 



Code Behind:

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                RadTab skillTab = new RadTab();
                skillTab.Text = "Tab1";
                radTabStrip.Tabs.Add(skillTab);

                RadTab certTab = new RadTab();
                certTab.Text = "Tab2";
                radTabStrip.Tabs.Add(certTab);

                RadTab aspTab = new RadTab();
                aspTab.Text = "Tab3";
                radTabStrip.Tabs.Add(aspTab);

                RadTab tpTab = new RadTab();
                tpTab.Text = "Tab4";
                radTabStrip.Tabs.Add(tpTab);

                RadPageView pageView = new RadPageView();
                pageView.ID = skillTab.Text;
                radCenterFrame.PageViews.Add(pageView);
                skillTab.PageViewID = pageView.ID;
            }
        }

        protected void radCenterFrame_PageViewCreated(object sender, RadMultiPageEventArgs e)
        {
            string page = e.PageView.ID;

            switch (page)
            {
                case "Tab1":
                    AddControl("~/_ControlTemplates/Proj/Tab1Control.ascx", e);
                    break;
                case "Tab2":
                    AddControl("~/_ControlTemplates/Proj/Tab2Control.ascx", e);
                    break;
                case "Tab3":
                    AddControl("~/_ControlTemplates/Proj/Tab3Control.ascx", e);
                    break;
                case "Tab4":
                    AddControl("~/_ControlTemplates/Proj/Tab4Control.ascx", e);
                    break;
            }
        }

        protected void radTabStrip_TabClick(object sender, RadTabStripEventArgs e)
        {
            AddPageView(e.Tab);
            e.Tab.PageView.Selected = true;
        }
        private void AddPageView(RadTab tab)
        {
            RadPageView pageView = new RadPageView();
            pageView.ID = tab.Text;
            radCenterFrame.PageViews.Add(pageView);
            tab.PageViewID = pageView.ID;
        }
        private void AddControl(string Path, RadMultiPageEventArgs e)
        {
            Control userControl = Page.LoadControl(Path);
            userControl.ID = e.PageView.ID + "_usercontrol";
            e.PageView.Controls.Add(userControl);
        }

Marin Bratanov
Telerik team
 answered on 03 Apr 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?