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!
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.
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 Percentage
and 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);
}
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
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
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.
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
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?
<
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
>
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);
}