I have a column chart with two series.
One is very important and the other is more just added information.
I would like to make column 2 with the extra information smaller in width than series 1.
This is so its visually obvious this is the main data.
How do you do this? If its not possible, do you have any suggestions?
Thanks,
RadAsyncUpload control works great when in debug mode.
When i deploy the same on my server, the documents always have the red dot next to the document.
They are not saved to the database.
Am i missing any property/setting here?
Thanks in Advance.
Hi, I have a RadListBox that is being populated on Page_Load through a DataTable that comes from the DB. Problem is: when I try to iterate the ItemCollection (via the Items Property) the List has Count=1 (the first item), when it was supposed to be 20+(I don't know the exact item count). Below are the relevant snippets:
Here the list is iterated to find out what items are selected in the db and move them from this list to another.
protected
void
ListaPaisExp_ItemDataBound(
object
sender, RadListBoxItemEventArgs e)
{
foreach
(DataRow dr
in
Empresa.Tables[1].Rows)
{
foreach
(RadListBoxItem item
in
ListaPaisExp.Items)
{
if
(item.Value == dr[
"tipopaisid"
].ToString())
{
ListaPaisExpSel.Items.Add(item);
item.Remove();
}
}
}
}
And this is the DataBind on Page_Load:
ListaPaisExp.DataSource = Tipos_DAL.GetTiposByArchtype(
"pais"
);
ListaPaisExp.DataValueField =
"ID"
;
ListaPaisExp.DataTextField =
"Descricao"
;
ListaPaisExp.DataBind();
Hello dear telerik-team,
we are facing a huge problem with your example from here: http://demos.telerik.com/aspnet-ajax/dropdowntree/examples/populatingwithdata/webserviceandclienttemplates/defaultcs.aspx , because we have like ~18000 Categories which we have to fill.
The problem we are now facing is, that we have created the exact copy of you webservice, but it isn't working like on your site.
We are using "Postman"-Extension for chrome and when we post something like
"{"node":{"Text":"Politics","Value":"2","Key":null,"ExpandMode":3,"NavigateUrl":null,"PostBack":true,"DisabledCssClass":null,"SelectedCssClass":null,"HoveredCssClass":null,"ImageUrl":null,"HoveredImageUrl":null,"DisabledImageUrl":null,"ExpandedImageUrl":null,"ContextMenuID":"","Checked":false},"context":[]}"
on your demo-Url : http://demos.telerik.com/aspnet-ajax/dropdowntree/examples/populatingwithdata/webserviceandclienttemplates/DropDownTreeWebService.svc/LoadData
We are getting a nice json which looks like this:{
"d": [
{
"__type": "DropDownNodeData:#Telerik.Web.UI",
"Attributes": [],
"ExpandMode": 0,
"Text": "CNN",
"Value": "5"
}, ........
But when we are doing the same thing to our webservice we get :
[
{
"Attributes": [],
"ExpandMode": 0,
"Text": "Sammeln & Seltenes",
"Value": "1"
}, ....
So we are wondering if you could tell us, which settings for the service you have done in the web.config file.
Dear all,
I use Radgrid with popup window. I want to implement specific scenario. My item has relations to different tables and I can add/modify them only when item is created (otherwise I don't have primary key). My idea is: when I insert new item I want to save it and automatically open the same item in edit mode. It means user can continue to create additional relations and it is not necessary to find new item in grid and start edit mode.
Can you help me if it is possible and how to implement it?
Thank you,
Petr
I am using the RadCloudUpload Control and after 24 hours the file is being deleted from the AmazonS3 Account. I thought it was because i am not doing a postback which i have corrected, however it is still doing it. I am doing a javascript postback. Any Help will be greatly recieved
Hello!
I am having a RadAutoCompleteBox in the edit template form of my RadGrid. I am trying to bind it to a string array in my code behind file. The control is rendered but when I try to type in it I get DataSource(or DataSourceID) is not set error. Here are some code snippets:
ASCX
<
EditFormSettings
EditFormType
=
"Template"
>
<
FormTemplate
>
<
telerik:RadAutoCompleteBox
ID
=
"RadAutoCompleteBox1"
runat
=
"server"
DataSource="<%#AutoCompleteBoxDataSource%>" InputType="Token" AllowCustomEntry="true"></
telerik:RadAutoCompleteBox
>
</
FormTemplate
>
</
EditFormSettings
>
ASCX.CS
public
string
[] AutoCompleteBoxDataSource;
protected
void
Page_Load(
object
sender, EventArgs e)
{
AutoCompleteBoxDataSource =
new
string
[] {
"value1"
,
"value2"
,
"value3"
,
"value4"
};
}
protected
void
RadGrid_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
((e.Item
is
GridEditFormItem) && (e.Item.IsInEditMode))
{
GridEditFormItem editform = (GridEditFormItem)e.Item;
RadAutoCompleteBox racEditForm= (RadAutoCompleteBox)editform.FindControl(
"RadAutoCompleteBox1"
);
if
(racEditForm= !=
null
)
{
racEditForm.DataSource = AutoCompleteBoxDataSource;
racEditForm.DataBind();
}
}
}
I've tried removing the DataSource from the .ascx file but it caused a server error saying DataSource not set. I have another RadAutoCompleteBox control outside of the RadGrid which is working without any issues.
Thanks in advance!
Regards,
T.Toncheva