I have developed an application using site master page, where I set the MetroTouch skin which affects all content pages. What I need to do is to disable skin inheritance for ReportViewer control, as I want to set default skin type for ReportViewer. I have already tried to set EnableEmbeddedSkins="false".
Any ideas how can I achive that?
Hello!
I have scrolling radmenu, with few elements inside. Now for some reason I have to change it to not scroll, but creating second line if conains more elements than one line can handle.
Is it possible, to disable scrolling ability and set this menu height css property to auto?
Thanks for helping!
Hello!
Is there a possibility to scroll list od items inside radmenu by more elements than just 1? My goal is to move all visible elements.
eg: I have 30 elements, but window width allows me to show only 10, so after clicking on the arrow I would like elements from 11 to 20 to be shown.
Thanks for all the answers!
Hello,
When I use async upload with the image manager, the file is correctly uploaded to the folder but when it try to see the image, I have an error : "Unauthorized: Access is denied due to invalid credentials".
My folder has this permission :
IUSR
But the uploaded image has not IUSR in the security tab. If I add IUSR user with read permission, it works.
When I use classic upload, the image is correctly uploaded and I have no error.
And the uploaded image has IUSR in the security tab.
Any idea why I have this bug ?

Hello,
I am creating htmlCharts dynamically from server side and trying to put a tooltip which shows both x and y axis values in the tooltip label.
As everything is dynamic, I can only code from the server side. I tried using
areaSeries.TooltipsAppearance.DataFormatString = "{0}% FCI in {1}Year";
but it looks like that we can't use {1} for areaSeries.
Then I tried using clientTemplate following the demo:
http://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/clienttemplates/defaultcs.aspx
but none of these tell how to code purely from server side. I am pasting my concerned code for better insight
//To create chart
RadHtmlChart htmlChartACIOverStudyPeriod = CreateHtmlChart("Year", "FCI", "%");
htmlChartACIOverStudyPeriod.ChartTitle.Text = "FCI Over Study Period";
htmlChartACIOverStudyPeriod.ID = "rhcFCIOverStudyPeriod";
//To clear the plotarea and xaxis for the chart
htmlChartACIOverStudyPeriod.PlotArea.XAxis.Items.Clear();
htmlChartACIOverStudyPeriod.PlotArea.Series.Clear();
//To check if datatable has some value for selected agency and facility
if (dtCurEstTotalOverStudyPeriod.Rows.Count > 0)
{
int rowCount = 0;
ColumnSeries columnSeries = new ColumnSeries();
columnSeries.LabelsAppearance.Visible = false;
// columnSeries.TooltipsAppearance.DataFormatString = "{0}% FCI in {1}Year";
columnSeries.TooltipsAppearance.ClientTemplate = " #=dataItem.CurEstTotal# justForTest";
for (Int32 intCurrent = intFiscalYear; intCurrent <= intMaxYear; intCurrent++)
{
htmlChartACIOverStudyPeriod.PlotArea.XAxis.Items.Add(new AxisItem(intCurrent.ToString()));
decimal ACI = 0;
CategorySeriesItem categorySeriesItem = new CategorySeriesItem();
//to check if row in the table exists
if (rowCount < dtCurEstTotalOverStudyPeriod.Rows.Count)
{
if (dtCurEstTotalOverStudyPeriod.Rows[rowCount]["AnoFiscalYear"].Equals(intCurrent))
{
//To plot the y-axis
ACI = (Convert.ToDecimal(dtCurEstTotalOverStudyPeriod.Rows[rowCount]["CurEstTotal"]) / CurEstReplOverStudyPeriod) * 100;
rowCount++;
}
else
{
ACI = 0;
}
categorySeriesItem.Y = Math.Round(ACI, 3);
columnSeries.SeriesItems.Add(categorySeriesItem);
}
}
htmlChartACIOverStudyPeriod.PlotArea.Series.Add(columnSeries);
}
dockA2.ContentContainer.Controls.Add(htmlChartACIOverStudyPeriod);
this results into attached snapshot. Please help me to get x-axis value in the tooltip of ColumnChart.
Thnaks,
Somya
Hi,
I have a radgrid with a lazy load method to handle the binding. The binding is done via a button's CustomParameter that, when it's clicked, provides the parameters for the query that populates the grid. Problem is: the Grid's NeedDataSource is triggered before the rebind call on the button's click event and messes up the whole thing.
Here is the grid NeedDataSource, where the 'bind' variable is to prevent the call when first accessing the page
protected void Quotas_Table_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e) { if (bind && Session["SessionId"] != null) { Quotas_Table.DataSource = Empresas_DAL.GetQuotasList((string)Session["TP_QT_" + (string)Session["SessionId"]], int.Parse((string)Session["PRD_QT_" + (string)Session["SessionId"]]), DateTime.Now.Year); } }
and here is the button's event, where all variables here are strings:
protected void Compilar_Click(object sender, EventArgs e) { LinkButton lnk = sender as LinkButton; string param = lnk.Attributes["CustomParameter"]; tipo = param.Substring(0, 1); periodo = param.Substring(1); Session["TP_QT_" + (string)Session["SessionId"]] = tipo; Session["PRD_QT_" + (string)Session["SessionId"]] = periodo; bind = true; Quotas_Table.Rebind(); }
Hi
Is it possible to change in the code behind the order for statically created panels?
The only way I can think of doing it is to create each panel as a user control, and dynamically add them.
Andy

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" VisibleStatusbar="false" > <Windows > <telerik:RadWindow ID="TaskList" runat="server" Title="TaskList" modal="true" OnClientClose="OnClientClose"></telerik:RadWindow> </Windows> </telerik:RadWindowManager>
//Call a javacript code <script type="text/javascript"> function OnClientClose(oWnd, args) { oWnd.setUrl("XYZ.aspx"); } </script>
