Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
540 views
Hi,

I'm using RadChart to display the graphical notation.
How to avoid the decimal values in Y Axis label value.

Please find the Screenshot and Give me a solution.

Thanks in advance
Barry
Top achievements
Rank 1
 answered on 12 Jul 2013
2 answers
55 views
hi,
I am using telerik rad grid .
I am using editform mode and when I insert a new record my Editform is not being close as it is showing open.while i want to clear this in all case as Insert and Update.
Ashish
Top achievements
Rank 1
 answered on 12 Jul 2013
1 answer
117 views
I'm using radgrid with auto generated columns. there is a date column (Rev Date) in the data source. When binding to the grid, the grid column structure and column widths become a mess because of this date column.

when i convert the date column (Rev Date) into an varchar and bind the column as a string then the grid binding works fine with column widths.


How does the datepicker affect the column widths and mess up the grid structure? its fine if i could remove the calendar control to make the column widths looks good. I really need to use the date column in grid in order to get column sorting to work
Pavlina
Telerik team
 answered on 12 Jul 2013
2 answers
403 views
Hello,
I have a requirement in which, I need to show the calendar week for the date selected from Rad date picker. 
Is there any inbuilt property for rad date picker to show the calendar week? or how can I do this?
Kothai
Top achievements
Rank 1
 answered on 12 Jul 2013
1 answer
104 views
Hi,
look at:
http://demos.telerik.com/aspnet-ajax/editor/examples/editorinradwindow/defaultvb.aspx

can you tell me  what is the name of the skin that is used in Editor that opens in radwindow?
Thank you
Shinu
Top achievements
Rank 2
 answered on 12 Jul 2013
4 answers
218 views
Hello,

I am having several issues with ImageEditor.
Here is how I have configured it,
  • External Dialogs
  • CustomContentProvider
  • Uploading Images in directory instead of saving them in database.

Issues:
  • Can not save to target directory
  • Images are not refreshed in image manager after image is saved.

Scenario:
After editing some image when I click the save button, it gives the alert ("Can not save to target directory.") and after clicking the save button fourth time the message doesn't appear and image is saved, but now the Image is not refreshed in ImageManager. If I clear the browser cache then the edited image is displayed in image manager!!

Note:
My target folder is configured as a separate virtual directory. 
Reason for making it a separate virtual directory is that we have some other modules who manipulate files (upload/delete) which leads to user session time outs when they delete some file. We also want to keep user files away from our actual web due to the size of the project. But this virtual directory is under same domain as a sub domain.
e.g www.domain.com and files folder is www.domain.com/files/images


I am fighting with these issue now from last one month, explored several forum posts and tried what I have figured out... Can you please help me to fix these issues???



Thank you all.  
shadow
Top achievements
Rank 2
 answered on 12 Jul 2013
0 answers
156 views
SOLVED:


I am get the following error:

  1. Uncaught TypeError: Cannot call method 'get_selected' of undefined Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&comp…e21a%3a650fdad%3aa960fda2%3aca44ff11%3a29e4ab07%3a59462f1%3aa51ee93e:27811
    1. b

I am removing all of the items of a listbox and then adding new items.  It works the first time but when i call the JavaScript function the second time I get an error.


//rangeitems looks like: "25|1.25,50|1.00,100|.85,125|.70"
var
items = listbox.get_items();
        items.forEach(function (item) {
            items.remove(item);
            listbox.trackChanges();
            listbox.get_items().remove(item);
            listbox.commitChanges();
        });
 
        for (i = 0; i < rangeitems.length; i++) {
            var items = rangeitems[i].split("|");
            var item = new Telerik.Web.UI.RadListBoxItem();
            item.set_text(items[1]);
            item.set_value(items[0]);
            listbox.trackChanges();
            listbox.get_items().add(item);
            listbox.commitChanges();
        }

I have a drop down that is loading the array as an attribute and I call this function using  onSelectedIndexChanged.

Any ideas?

Marty

Not sure what part fixed this issue but here is the new code if anyone has the same issue.

var items = listbox.get_items();
        items.clear();
        items.forEach(function (item) {
            items.remove(item);
            listbox.trackChanges();
            listbox.get_items().remove(item);
            listbox.commitChanges();
        });
        for (i = 0; i < rangeitems.length; i++) {
            listbox.trackChanges();
            var items = rangeitems[i].split("|");
            var item = new Telerik.Web.UI.RadListBoxItem();
            item.set_text(items[1]);
            item.set_value(items[0]);
            listbox.trackChanges();
            listbox.get_items().add(item);
            listbox.commitChanges();
        }



moegal
Top achievements
Rank 1
 asked on 12 Jul 2013
1 answer
135 views
I have used XAxis steps to ensure that ticks are placed every 1 step.

ChartSeries serieIndicator = new ChartSeries("Indicator") { Type = ChartSeriesType.Line };
 
serieIndicator.Items.Add(new ChartSeriesItem(0, 47));
serieIndicator.Items.Add(new ChartSeriesItem(1, 35));           
serieIndicator.Appearance.PointMark.Visible = true;
serieIndicator.Appearance.PointMark.Border.Width = 2;
serieIndicator.Appearance.PointMark.Border.Color = Color.RoyalBlue;
serieIndicator.Appearance.PointMark.Dimensions.AutoSize = true;
serieIndicator.Appearance.PointMark.Dimensions.SetDimensions(new Dimensions(6, 6));
serieIndicator.Appearance.PointMark.Dimensions.AutoSize = false;
serieIndicator.Appearance.PointMark.FillStyle.MainColor = Color.White;
serieIndicator.Appearance.PointMark.FillStyle.FillType = FillType.Solid;
 
RadChart1.Series.Add(serieIndicator);
 
RadChart1.PlotArea.XAxis.AutoScale = false;
RadChart1.PlotArea.XAxis.Step = 1;
 
ChartSeries serieObjective = new ChartSeries("Objective") { Type = ChartSeriesType.Line };
serieObjective.Appearance.PointMark.Visible = true;
serieObjective.Appearance.PointMark.Border.Width = 2;
serieObjective.Appearance.PointMark.Border.Color = Color.RoyalBlue;
serieObjective.Appearance.PointMark.Dimensions.AutoSize = true;
serieObjective.Appearance.PointMark.Dimensions.SetDimensions(new Dimensions(6, 6));
serieObjective.Appearance.PointMark.Dimensions.AutoSize = false;
serieObjective.Appearance.PointMark.FillStyle.MainColor = Color.White;
serieObjective.Appearance.PointMark.FillStyle.FillType = FillType.Solid;
serieObjective.Items.Add(new ChartSeriesItem(0, 20));
serieObjective.Items.Add(new ChartSeriesItem(1, 40));
serieObjective.Items.Add(new ChartSeriesItem(2, 60));
serieObjective.Items.Add(new ChartSeriesItem(3, 80));
 
RadChart1.Series.Add(serieObjective);

However I cannot understand the resulting chart.
Why seven steps if i only created chartseriesitem from 0 to 3?

Thanks for your help,
Sonia.
Sonia
Top achievements
Rank 1
 answered on 12 Jul 2013
2 answers
225 views
  Hi,

    I am using a radgrid with two detail tables. I wrote come code in InsertCommand of RadGrid.
But when i insert a detail record, InsertCommand fires.
I dont want that InsertCommand fires, when i insert detail record.

Could you suggest any solution for this?
Thanks.
Yunus
YUNUS EMRE
Top achievements
Rank 1
 answered on 12 Jul 2013
2 answers
287 views
Hello,

After upgrade my code to use with the latest version, 2013.2.611.40, the server-side code that updates the page's title in the pop-up window doesn't work any more. Could you take a look and let me know what I can do to make it happen. Thanks.

Tri

 

Partial Class PopWin
    Inherits System.Web.UI.Page
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Me.Title = Now.ToString
 
    End Sub
End Class
 
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="PopWin.aspx.vb" Inherits="PopWin" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
     
    </div>
    </form>
</body>
</html>
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
        <script type="text/javascript">
            //Put your JavaScript code here.
            function ShowEditForm(pageUrl, id, iWidth, iHeight) {
                var nWindow = window.radopen(pageUrl + ".aspx?id=" + id, "UserListDialog");
                nWindow.setSize(iWidth, iHeight);
                nWindow.center();
                nWindow.modal = true;
                nWindow.set_behaviors(Telerik.Web.UI.WindowBehaviors.Resize + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close);
                nWindow.show();
                return false;
            }
        </script>
    <telerik:RadScriptBlock runat="server" >
    </telerik:RadScriptBlock>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
        <asp:Button ID="btn" runat="server" Text="Pop Window" OnClientClick="return ShowEditForm('PopWin', 0, 400, 300);" />
    </div>
    <telerik:RadWindowManager ID="WinMgr" runat="server" KeepInScreenBounds="true" Style="z-index: 7100;">
        <Windows>
            <telerik:RadWindow ID="UserListDialog" runat="server" Behaviors="Close, Move" Height="300px"
                Left="10px" Modal="true" ReloadOnShow="true" Opacity="100" Title="User List Dialog"
                Top="10px" Width="500px" KeepInScreenBounds="true">
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
    </form>
</body>
</html>

 

 

 

Michael
Top achievements
Rank 1
 answered on 12 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?