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

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,

Stamo Gochev
Telerik team
 answered on 26 Jan 2017
4 answers
400 views
Hi Telerik Team,

We are using rad chart for drawing Bar and Line Series graphs.
When the Y axis value is 1 or 2 the Y axis shows decimal points. Need to eliminate the decimal points. Please refer the screen shot.
At any point of time my Y axis should not contain the decimal, as our result data will not have such decimal data.

Thanks and regards.
Al
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 26 Jan 2017
2 answers
310 views

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.

 

Ivan Danchev
Telerik team
 answered on 26 Jan 2017
2 answers
176 views

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();
Pedro
Top achievements
Rank 1
 answered on 26 Jan 2017
1 answer
33 views

it is possible get table html from radgrid side client.

Example

var grid = $find("<%=GrdCobros.ClientID %>");

var table = grid.innerHtml  //get <table><tr><td>...

Milena
Telerik team
 answered on 26 Jan 2017
1 answer
97 views

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.

 

 

 

Chris
Top achievements
Rank 1
 answered on 26 Jan 2017
4 answers
126 views

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

Petr
Top achievements
Rank 1
Iron
Iron
 answered on 26 Jan 2017
1 answer
84 views

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

 

Veselin Tsvetanov
Telerik team
 answered on 26 Jan 2017
6 answers
777 views
Hi,

I've got the cloud uploader configured using the custom azure provider so that I can dynamically switch containers and the http handler setup so that I can set a custom file name for files that I upload. This seems to all be working, the file gets uploaded with the correct file name to the correct container (and the cloud upload control has the green tick next to the file - no errors), but after a second (or so) it gets deleted. I can't figure out why.

I checked the azure blob log and can see the following sequence of events:
(time - command)
03:16:20.25 - PutBlob
03:16:30.17 - SetBlobMetadata
03:16:32.48 - DeleteBlob

All of these commands are for the custom container/file name I've set, originate from the same IP address (which is my IP address) and all result in a success.

Does anyone have any idea as to why the cloud uploader would be sending a delete command?

I'm not, knowingly, telling the cloud control to delete the file. I'm certainly not clicking the delete (trash can) image next to the uploaded file.

Thanks,
Pete
Veselin Tsvetanov
Telerik team
 answered on 26 Jan 2017
2 answers
266 views

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

Teodora
Top achievements
Rank 1
 answered on 26 Jan 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?