Hi,
We want to enable batch editing in three level hierarchical grid for only the last level child grid. First and second level grid will be readonly. Do Rad Grid support this functionality? if yes is there any sample code which implement this or implements the batch editing in hierarchical grid?
We tried setting Edit mode as batch for all grid but not able to get the client side changed values of last level grid at server side in Batch Edit Command event handler.
Awaiting your quick response, thanks for you help.
--Himanshu
Not sure what I'm doing wrong. I cannot databind a RangeBarSeries.
In the below test I took the Demo binding example and added a RangeBarSeries. The Area and Line series show fine but the RangeBar does not show. ( See Attached)
Here is the code:
protected void Page_Load(object sender, EventArgs e)
{
string[] tempTitles = { "In the Heart of the Sea", "The Hunger Games: Mockingjay - Part 2", "Krampus", "The Good Dinosaur", "Creed", "Spectre", "The Night Before", "The Peanuts Movie", "Spotlight", "Brooklyn" };
foreach (string one in tempTitles)
{
RangeBarChart.PlotArea.XAxis.Items.Add(one);
}
List<
MarketShareData
> chromeData = new List<
MarketShareData
>();
chromeData.Add(new MarketShareData(10.8, 23.8));
chromeData.Add(new MarketShareData(11.6, 24.1));
chromeData.Add(new MarketShareData(12.3, 25.0));
chromeData.Add(new MarketShareData(13.6, 25.6));
chromeData.Add(new MarketShareData(14.5, 25.9));
chromeData.Add(new MarketShareData(15.9, 27.9));
chromeData.Add(new MarketShareData(16.7, 29.4));
chromeData.Add(new MarketShareData(17.0, 30.3));
chromeData.Add(new MarketShareData(17.3, 30.5));
chromeData.Add(new MarketShareData(19.2, 32.3));
chromeData.Add(new MarketShareData(20.5, 33.4));
chromeData.Add(new MarketShareData(22.4, 34.6));
RangeBarChart.DataSource = chromeData;
RangeBarChart.DataBind();
}
public class MarketShareData
{
public MarketShareData(double marketShare2010, double marketShare2011)
{
_marketShare2010 = marketShare2010;
_marketShare2011 = marketShare2011;
}
private double _marketShare2010;
public double MarketShare2010
{
get { return _marketShare2010; }
set { _marketShare2010 = value; }
}
private double _marketShare2011;
public double MarketShare2011
{
get { return _marketShare2011; }
set { _marketShare2011 = value; }
}
}
<
telerik:RadHtmlChart
runat
=
"server"
ID
=
"RangeBarChart"
Width
=
"800"
Height
=
"600"
>
<
ChartTitle
Text
=
"All Predictions"
>
<
Appearance
Align
=
"Center"
Position
=
"Top"
></
Appearance
>
</
ChartTitle
>
<
Legend
>
<
Appearance
Position
=
"Bottom"
></
Appearance
>
</
Legend
>
<
PlotArea
>
<
YAxis
>
<
LabelsAppearance
DataFormatString
=
"${0}M"
></
LabelsAppearance
>
<
MinorGridLines
Visible
=
"false"
/>
</
YAxis
>
<
Series
>
<
telerik:RangeBarSeries
Name
=
"Prediction"
DataFromField
=
"MarketShare2010"
DataToField
=
"marketShare2011"
>
</
telerik:RangeBarSeries
>
<
telerik:AreaSeries
Name
=
"Market share in 2010"
DataFieldY
=
"MarketShare2010"
>
</
telerik:AreaSeries
>
<
telerik:LineSeries
Name
=
"Market share in 2011"
DataFieldY
=
"MarketShare2011"
>
</
telerik:LineSeries
>
</
Series
>
</
PlotArea
>
</
telerik:RadHtmlChart
>
Hi,
I am trying to bind radmenu but it gives me error "This constraint cannot be enabled as not all values have corresponding parent values."
<telerik:RadMenu ID="RadMenu1" Runat="server" DataFieldID="menuid"
DataFieldParentID="parentid" DataSourceID="SqlDataSource1"
DataTextField="menuname">
</telerik:RadMenu>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT menuid,parentid,menuname FROM menu"></asp:SqlDataSource>
Menu Table
-------------------------------------
menuid parentid menuname
------------------------------------
1 0 Products
2 1 Servers
3 1 Desktops
4 1 Notebooks
Hi Telerik team,
I want to know how to get the DataKeyNames of source and the destination on the server side.
Please help how to get this.
Thanks in advance.
Regards,
Alex
Hello,
I have an application that uses the load balancer (F5) and I get this error when I run the application. Please let me know how to fix this. This is very urgent. Thank you so much.
Mixed Content: The page at 'https://ag-qa.sdcoe.net/Default.aspx?' was loaded over HTTPS, but requested an insecure stylesheet 'http://aspnet-skins.telerikstatic.com/ajaxz/2015.3.1111/FormDecorator.css'. This request has been blocked; the content must be served over HTTPS.
Hello,
I have an application which deliver data from a SQL query in the form of a RadGrid. I have business rules that require me to high cells red or green. Whether the cells are red or green is stored in the DB. I also need to hyperlink from cells to a URL.
But each cell will have it own URL and it own color. So the formatting either needs to be done after the RadGrid is populated by iterating through each cells, or we need to pass more data than just what values are displayed in the Grid, so that the Grid has the information to do the formatting.
I hope that is clear. TIA.
Denis Burke
Hi,
In our application we have already implemented leagcy calendar popup mechanism, now I'm planning to replace them with Rad Calendar. we have a combination of textbox followed by a calendar control to pick the dates and assign it to the textbox. I just want to replace my calendar with the Rad datapicker calendar and upon slecting the date it should assign to my existing textbox. I tried with some samples in this site by using Rad calendar control as Datapicker, but it is not showing as similar like a Rad datepicker calendar, (it doesn't show like a floating calendar). Please let me know in detail (I'm not that good at UI) on how to achieve this functionality. Thank you!