Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
531 views
Hi all,
I have to display year in X axis . For each year there is more than 2 series(company names) and for each company their Appraisal in y Axis.
How can i implement multiple series.I tried "RadChart1.DataGroupColumn " But more than 2 companies not listing for each year..

Eg: Year: 2009 -------Comp:comp1,comp2,comp3---- Appraisal: comp1-->2,comp2-->5,comp3-->8
And for year 2010 ------Comp:comp1---- Appraisal: comp1-->2
etc...

Please reply,,,
Lekha
Peshito
Telerik team
 answered on 22 Jan 2013
4 answers
323 views
Hi ,

I am using telerik rad charts in my application. When the data values are 0 for Pie Chart. The Chart is not displayed instead Nan is displayed. I want to get rid of this Nan and show a friendly message like "No Data available". Please help me in this.


Thanks,
Nikolay
Telerik team
 answered on 22 Jan 2013
2 answers
63 views
Hi so I have a rad grid in a form where by the push of a button, it makes it visible and can input additional user of the form if wanted. It works when barely creating the form, and also when I open the form and there are alreadu sers added on that grid, but when I open an existing form that has not had any users added yet and I want to add them:
I click on Add New
insert the new user in the grid
and the page tells me it succesfully entered it
does not display on the grid
but does update on sql db
and when i reopen the form, the record i inserted is there.

Is there a reason why it does not display it right away...this only happens in these cirucmstances beacause when i barely create the form and add users right away it inserts them and i can see them, but when I do it under these circumstances, it does not.

HELP!
Eyup
Telerik team
 answered on 22 Jan 2013
5 answers
119 views
hi,
there is a way to set the slotduration in the weekview? i want 30 minutes slots. it's possible?
TT
Top achievements
Rank 1
 answered on 22 Jan 2013
5 answers
630 views
Hi,

I want to change the background color of Rad Button.I want to achieve this through code with out changing or creating any customized skins.

My requirement is to give button back ground as Green color.
Unfortunately Forest "skin" doesn't match with my design and when I applied "Hay" skin button is appearing in light green color.

I want to give solid green back ground to my Rad button.

Please help me its very urgent.

Thanks,
A2H
A2H
Top achievements
Rank 1
 answered on 22 Jan 2013
1 answer
110 views
Hi, I am currently doing a mock-up project and therefore, have no establish a database for it.  I am using this to currently bind data onto the RadGrid.

protected void LoadDataToGrid()
        {
            DataTable dt = new DataTable();
            //Set the datafield name
            DataColumn cl = new DataColumn("status");
            dt.Columns.Add(cl);
            cl = new DataColumn("Item_Code");
            dt.Columns.Add(cl);
            cl = new DataColumn("Item_Desc");
            dt.Columns.Add(cl);
            cl = new DataColumn("Vendor_Name");
            dt.Columns.Add(cl);
            cl = new DataColumn("Uom");
            dt.Columns.Add(cl);
            cl = new DataColumn("Moq");
            dt.Columns.Add(cl);
            cl = new DataColumn("Qty");
            dt.Columns.Add(cl);
            cl = new DataColumn("Cur");
            dt.Columns.Add(cl);
            cl = new DataColumn("Price");
            dt.Columns.Add(cl);
            cl = new DataColumn("Total");
            dt.Columns.Add(cl);
            cl = new DataColumn("Type");
            dt.Columns.Add(cl);
 
             
            //Set the static data for row 1
            DataRow dr = dt.NewRow();
            dr[0] = "";
            dr[1] = "07-11-017"
            dr[2] = "PAPER PUNCHER (3 HOLES)";
            dr[3] = "Internal";
            dr[4] = "PC";
            dr[5] = "1";
            dr[6] = "1";
            dr[7] = "SGD";
            dr[8] = "130.00";
            dr[9] = "130.00";
            dr[10] = "NS";
            dt.Rows.Add(dr);
 
 
            //Set the static data for row 2
            dr = dt.NewRow();
            dr[0] = "";
            dr[1] = "07-09-069";
            dr[2] = "BINDING STRIPS A4 (MULTI-COLOUR) (LOT OF 100/50PC) ";
            dr[3] = "Internal";
            dr[4] = "PC";
            dr[5] = "1";
            dr[6] = "1";
            dr[7] = "SGD";
            dr[8] = "60.00";
            dr[9] = "60.00";
            dr[10] = "NS";
            dt.Rows.Add(dr);
 
            //Set the static data for row 3
            dr = dt.NewRow();
            dr[0] = "";
            dr[1] = "01-38-002";
            dr[2] = "LAMINATING MACHINE A4, LMA400";
            dr[3] = "Internal";
            dr[4] = "PC";
            dr[5] = "1";
            dr[6] = "1";
            dr[7] = "SGD";
            dr[8] = "160.00";
            dr[9] = "160.00";
            dr[10] = "NS";
            dt.Rows.Add(dr);
 
            //Set the static data for row 4
            dr = dt.NewRow();
            dr[0] = "";
            dr[1] = "99-09-901";
            dr[2] = "BOLTED CONNECTOR";
            dr[3] = "Internal";
            dr[4] = "PC";
            dr[5] = "10";
            dr[6] = "10";
            dr[7] = "SGD";
            dr[8] = "1.50";
            dr[9] = "15.00";
            dr[10] = "ST";
            dt.Rows.Add(dr);
 
            //Set the static data for row 5
            dr = dt.NewRow();
            dr[0] = "";
            dr[1] = "99-07-905";
            dr[2] = "GUY STRAIN INSULATOR";
            dr[3] = "Internal";
            dr[4] = "PC";
            dr[5] = "100";
            dr[6] = "100";
            dr[7] = "SGD";
            dr[8] = "1.00";
            dr[9] = "100.00";
            dr[10] = "ST";
            dt.Rows.Add(dr);
 
            //Set the static data for row 6
            dr = dt.NewRow();
            dr[0] = "";
            dr[1] = "99-01-505";
            dr[2] = "HOT LINE CLAMP";
            dr[3] = "Internal";
            dr[4] = "PC";
            dr[5] = "500";
            dr[6] = "500";
            dr[7] = "SGD";
            dr[8] = "2.00";
            dr[9] = "1000.00";
            dr[10] = "ST";
            dt.Rows.Add(dr);
 
            RadGrid1.DataSource = dt;
            RadGrid1.DataBind();
            Session.Add("dtCart",  dt);
        }

However, I couldn't find any way to use the same way to bind this datasource for the <NestedViewSettings> DataSourceID.
Eyup
Telerik team
 answered on 22 Jan 2013
0 answers
121 views
I have two requirements like :-

I) I have a RadGrid and it is having a RadToorBar as its CommantTemplate which contains a particular command button.
The grid is being populated on client-side through WCF service. Now i need this command toolbar button to be visible or hidden as per the filterexpression. If no filter expression for the grid is set then make the command tool bar button to be hidden.

II) For the client-side bounded RadGrid the header style does not change for the sorted columns as it works for the server-side bounded grids.

Please help me out in these two scenarios.
How to achieve these requirements for the client-side bounded RadGrid.

Thanks in advance.
Smruti Ranjan
Top achievements
Rank 1
 asked on 22 Jan 2013
1 answer
62 views
Hello,

I'm attempting to click a link Button from within my asp.net application page which is part of a master page.  Upon clicking the link, I want a radWindow to pop-up, modal.  This all works.  But when I attempt to close the radWindow, it will refresh the parent page, which causes me to lose any changes made to the screen before I popped up the dialog.

I've followed the demo at: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

I just can't seem to get this working.  I basically want to call the dialog, and upon exiting it, update a widget on the form that called the radWindow. 
Question:
1.  Should I pop up the radWindow from javascript or from code-behind? 

Any help would be appriciecated
Princy
Top achievements
Rank 2
 answered on 22 Jan 2013
10 answers
372 views
I've configured an ajax manager so that a button inside a radwindow would update the radwindow in which it resides. Instead of working properly the button caused a full pledged postback. Any help would be much appreciated. 
John
Top achievements
Rank 1
 answered on 21 Jan 2013
3 answers
1.1K+ views
I'm trying to get the last position of the cursor when the user clicks outside of the RadTextbox, but I'm not quite sure it's working how I was hoping. I added an OnBlur client event in the mark-up:

<telerik:RadTextBox ID="rtxtTemplateContent" Runat="server" Height="100px" TextMode="MultiLine" Width="250px">  
    <ClientEvents OnBlur="setCursorPosition" /> 
</telerik:RadTextBox> 

Next I have my JavaScript:

function setCursorPosition(sender) {  
    var cursorPosition = sender.get_caretPosition()  
    document.getElementById("hdnCursorPosition").value = cursorPosition;  

My goal is to trap the last cursor position and save it in a hidden field on the page for use w/ drag'n'drop functionality from a RadListBox to the RadTextBox. It seems like it's working correctly except the numbers come out really random. For instance, I put 10 characters in the textbox and then put the cursor in the middle and clicked out of the textbox, but the number returned by get_caretPosition() was 80? Doesn't make sense to me... any ideas or suggestions? Is what I'm doing possible or has the cursor position been lost by the time the OnBlur event is fired?
Darwin
Top achievements
Rank 1
 answered on 21 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?