Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
136 views
Is it possible to using a RadFlowDocument to build a Word document with several sections from various html files, and then also to build a table of contents with the page numbers of each section? 
Petya
Telerik team
 answered on 23 Mar 2015
1 answer
70 views
Is telerik:RadAutoCompleteBox compatible Width telerik:gridbatch. There are no examples on any forum using the radautocompletebox inside a telerik grid batch.
I cant seem to get it to Work. Does anyone have an example in asp.net?
Kostadin
Telerik team
 answered on 23 Mar 2015
3 answers
118 views
Hello Team,

I am having one Radhtmlchart which is binded with Data on client side through WebApi controller.

The function that we are using to bind RadHtmlChart is as follows:

function chartDataBind(sender, args) {
       var ID = sender.ClientId;
       var widmapID = <%= WidMapID %>;
       var Cultureinfo='<%= CommonTools.GetUserDetails().Localization %>';
       var url = '/api/TestVolumeWidget?WidMapID=' + widmapID + "&CultureInfo=" + Cultureinfo;
        
       $.get(url, function (jsonResult) {    
           debugger
           var kendoChart  = sender;
            
           //Set the new datasource to the RadHtmlChart
           kendoChart.set_dataSource(jsonResult);
           kendoChart.set_transitions(true);
           kendoChart._dataBind();
           //Add the new series and repaint the chart, so that the new changes can take effect           
           kendoChart.repaint();
        });
        }

I am declaring this function on <ClientEvents OnLoad="chartDataBind" /> in RadHtmlChart,

Now the issue is in Navigator section, 
Navigator is working properly in Firefox and Google Chrome, But its not working in IE(Its not even Visible).

<telerik:RadHtmlChart runat="server" ID="TestVolumeChart" Layout="Stock"  CssClass="myChart" >
        <ClientEvents OnLoad="chartDataBind" />
        <Navigator Visible="true">
            <RangeSelector From="2014/08/25" To="2014/09/02" />
             
            <SelectionHint Visible="true" DataFormatString="{0:d}" />
            <Series>
                <telerik:AreaSeries Visible="true"  DataFieldY="TestDataDate">
                </telerik:AreaSeries>
            </Series>
            <XAxis Color="#aaaaaa">
                <LabelsAppearance>
                    <TextStyle Color="#666666" />
                </LabelsAppearance>
            </XAxis>
        </Navigator>
 
        <PlotArea>
            <XAxis AxisCrossingValue="0" Color="#333333" MajorTickType="Outside" MinorTickType="Outside"
                Reversed="false" DataLabelsField="TestDataVerifyDate">
                <LabelsAppearance DataFormatString="{0:d}" RotationAngle="90" Skip="0" Step="1"></LabelsAppearance>
                <TitleAppearance Position="Center" RotationAngle="0" Text="Date of Test Verified">
                </TitleAppearance>
            </XAxis>
            <YAxis AxisCrossingValue="0" Color="#333333" MajorTickSize="1" MajorTickType="Outside"
                MinorTickSize="1" MinorTickType="Outside" Reversed="false">
                <LabelsAppearance DataFormatString="{0}" RotationAngle="0" Skip="0" Step="1"></LabelsAppearance>
                <TitleAppearance Position="Center" RotationAngle="0" Text="Ordered Test Count">
                </TitleAppearance>
            </YAxis>
            <Series>
                <telerik:ColumnSeries Name="Test Volume" DataFieldY="TestDataCount">
                    <LabelsAppearance DataFormatString="{0}" Position="OutsideEnd"></LabelsAppearance>
                    <TooltipsAppearance DataFormatString="{0}" Color="White"></TooltipsAppearance>
                </telerik:ColumnSeries>
            </Series>
        </PlotArea>
 
        <ChartTitle Text="Daily Test Volume">
        </ChartTitle>
         
    </telerik:RadHtmlChart>


Is there anything i am missing out in my code?

It would be great if anyone can help me out.

Thanks,
Ruchi
Danail Vasilev
Telerik team
 answered on 23 Mar 2015
1 answer
93 views
I am having troubles retrieving cmbbackground data in radscheduler to the database.

It already saves to the database using Background ID such as 1,2,,3,4,5.

The trouble is when you try and retrieve the data from the database. 

The different Colour ID's are not remembered/ retrieved.

I have tried databinding but it does not work.

Any help will be appreciated. 

Many thanks





Plamen
Telerik team
 answered on 23 Mar 2015
1 answer
68 views
Hi,
I have a RadEditor (with several tools including FontName - code below) in my WebUserControl.
When I try to change the FontName the RadAjaxLoadingPanel displays forever.
Is this a bug or am I doing something wrong.



Thanks
Sangeetha
Sangeetha
Top achievements
Rank 1
 answered on 22 Mar 2015
5 answers
142 views
Hi,

I want to know how to prevent the user from entering alphabets in a textbox and show a warning symbol if user attempt to enter alphabets.

Thanks,
Tia.
Shivam
Top achievements
Rank 1
 answered on 21 Mar 2015
4 answers
257 views
In my radEditor I am using the image, media, flash, and document managers. I have a custom file handler, and content provider that puts the files onto my server, and allows me to view them. The media manager allows me to upload files, see the files in the file structure, insert, but I can't preview the media or play the media once inserted into the rad editor.  I also am using this in my email system tool. When I send the email it shows an X where the media player should be. I believe that the email is recognizing it as a media file because it shows me the WMPlayer.OCX.7.Object.
<object width="150" height="150" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" type="application/x-oleobject">
<param name="URL" value="/FileHandlers/FileSystemHandler.ashx?path=mediaUploads/chord.wav&amp;DealerSiteID=1"/>
<param name="AutoStart" value="true"/>
<embed width="150" height="150" pluginspage="http://www.microsoft.com/Windows/MediaPlayer" src="http://localhost:53316/FileHandlers/FileSystemHandler.ashx?path=mediaUploads/chord.wav&amp;DealerSiteID=1" type="application/x-mplayer2" autostart="true"></object>

is it because of the src path and the URL value? I have looked at a few forum threads but most of those issues were because of the classid missing or the object not being complete. Neither of those issues are happening here.
Misho
Telerik team
 answered on 21 Mar 2015
10 answers
253 views
My problem is changing an auto-generated column editor type..

I want to change from a textbox control to a dropdownlist control using AutoGenerateColumns = true

Is there a different way to do what I'm doing below? I really hate deriving from GridTextBoxColumnEditor just to expose a DropDownList.


<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="true" AllowAutomaticUpdates="true" OnNeedDataSource="RadGrid1_NeedDataSource"  OnCreateColumnEditor="RadGrid1_CreateColumnEditor">

protected void RadGrid1_CreateColumnEditor(object sender, GridCreateColumnEditorEventArgs e) 
    { 
        if (e.Column is GridBoundColumn) 
        { 
            if ((e.Column as GridBoundColumn).DataField == "Code"
            { 
                DropDownList ddl = new DropDownList(); 
                e.ColumnEditor = new CustomDropDownList(ddl); 
            } 
        } 
    } 
// Derived class used to expose a dropdownlist
// (Notice i'm deriving from GridTextBoxColumnEditor)
public class CustomDropDownList : GridTextBoxColumnEditor 
    private DropDownList _ddl; 
 
    public CustomDropDownList(DropDownList ddl) 
    { 
        this._ddl = ddl; 
    } 
 
    protected override void LoadControlsFromContainer() 
    { 
        this._ddl = this.ContainerControl.Controls[0] as DropDownList; 
    } 
 
    public override bool IsInitialized 
    { 
        get 
        { 
            return this._ddl != null
        } 
    } 
 
    public override string Text 
    { 
        get 
        { 
            return this._ddl.SelectedValue; 
        } 
        set 
        { 
            this._ddl.SelectedIndex = this._ddl.Items.IndexOf(this._ddl.Items.FindByValue(value)); 
        } 
    } 
 
    protected override void AddControlsToContainer() 
    { 
        this.ContainerControl.Controls.Add(this._ddl); 
    } 

Jeff
Top achievements
Rank 2
 answered on 20 Mar 2015
11 answers
2.4K+ views
Hello,

How do you clear the RadDatePicker date on the client?  I want to set the value to null, but how do I do that because set_selectedDate(null) throws an exception.  I want the textbox to be blank.  I tried getting the textbox and setting the value to null, but that doesn't produce the desired result too...

Thanks.
JAVIER
Top achievements
Rank 1
 answered on 20 Mar 2015
4 answers
177 views
I'm running a script on window.onbeforeunload to check to see if the form is 'dirty'

this works for asp controls:

$('select').bind('change', function (event) { dataChanged = 1 })
$('input').bind('input', function (event) { dataChanged = 1 })

but I can't find an equivalent for a radComboBox or radDatePicker.
Anybody running this check?

Thanks
Bill
Top achievements
Rank 1
 answered on 20 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?