Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
471 views
<telerik:ChartSeries DataXColumn="Date" DataYColumn="pct" Name="pct" Type="Line">

my data looks like
pct     reportDate
54      2012-09-01 00:00:00.000
65      2012-10-01 00:00:00.000  
57      2012-11-01 00:00:00.000   

when I put DataXColumn="reportDate"
I get an error saying column is not in numeric
when I put "Date" it shows chart but has 1900 dates.

do I just need to have the reportDate formatted in a specific format for it to know to use them as type dates?
do I have to have code behind that sets the dates in the databind?
Doug
Top achievements
Rank 1
 answered on 13 Jan 2015
3 answers
132 views
Hi,

Our application is facing issues in when its trying to render a page with telerik controls in ie11. We have also performed few solutions but still the window blanks out in ie11. 

Please find the Document attached with the screenshots for detailed explanation. Looking forward to the solution soon.
Ianko
Telerik team
 answered on 13 Jan 2015
5 answers
726 views
Hi!

How do I implement the collapsing/burger menu that is used at www.Telerik.com (re-size the screen width to make it smaller and you get a burger menu) ?

Code snippet would be nice. Sample web page even nicer.

Thanks
Ivan Zhekov
Telerik team
 answered on 13 Jan 2015
1 answer
116 views
Hi there,

I am able to bind a datatable to a radmenu.

I want to show images to the rad items and use a column in the datatable for this.
I cannot find the right property to the radmenu.

Anybody any idea??


Regards,

Marcel


Ivan Danchev
Telerik team
 answered on 13 Jan 2015
1 answer
117 views
Good day.   

I want to delete the Appointment inside the AdvancedEditForm of RadScheduler. So I added a Button in the form with the following attributes. 

<asp:Button ID="btnDeleteShift" runat="server" Text="Delete " Enabled="true" CommandName ="Delete" OnClientClick="return confirm('Are you sure you want to delete this appointment?')" OnClick="btnDeleteShift_Click" CausesValidation="false" />

 So when the User clicks OK in the javascript confirmation box, I will execute the code to delete: 

protected void RadScheduler1_AppointmentCommand(object sender, AppointmentCommandEventArgs e) { if (e.CommandName == "Delete") {  RadScheduler1.DeleteAppointment(e.Container.Appointment, false);  } }

The Problem with this is that when the appointment is deleted, the advancedEditForm will still be shown on screen with the values of the Appointment that have been deleted.  

1.  What  code should I use that I can execute that closes that advancedEditForm ? I should execute that one under the AppointmentDelete Event.  

2. Or, is there a code of the advanceeditform where can I use the existing Delete Confirmation Message Window of the appointment to be fired when I click My custom button, then afterwards closes the AdvancedEditForm?  

3. Or, is there a built in Delete function of the AdvanceEditForm to show a delete button and provides the delete functionality?

From what I see, the appointment can be deleted only when I click the X button on the appointment in the radscheduler.   

Hoping for your help and support. 
Thank you very much,  
Rommel 
Boyan Dimitrov
Telerik team
 answered on 13 Jan 2015
4 answers
334 views
Hey all.

I have this problem, when i resize the browser and the searchboxs parent div has display:none; When i display the searchbox again, position of the buttons, and the textfield is pushed in.

i've created a small snippet, to show you what i mean.

The problem first occurred when i was implemented the searchbox into a bootstrap navigation.

Any help would be appreciated!

<
div class="testClass">
    <telerik:RadSearchBox ID="RadSearchWebTimetable" runat="server" SearchContext-ShowDefaultItem="false" HighlightFirstMatch="True" OnSearch="SearchBox_OnSelected" MinFilterLength="2" Width="100%" EmptyMessage="Søgetekst">
        <DropDownSettings Height="300" Width="400">
            <ClientTemplate>
                <div class="#= DataItem.cssClass #">
                    #= Text #
                    <p style="margin-bottom: 0px; margin-top: -15px;">
                        <small class="text-muted text-small">
                            #= DataItem.Description #
                        </small>
                    </p>
                </div>
            </ClientTemplate>
        </DropDownSettings>
        <WebServiceSettings Method="UMS_Search" path="WebServices/Search.asmx" />                               
    </telerik:RadSearchBox>
</div>
 
<asp:Button runat="server" OnClientClick=" $('.testClass').hide();return false; " Text="Hide"/>
<asp:Button runat="server" OnClientClick=" $('.testClass').show();return false; " Text="Show"/>
Dimitar
Telerik team
 answered on 13 Jan 2015
6 answers
324 views
I am attempting to use the manual CRUD processing of data in my RadGrid via the DataForm.  I am using .net 4.5 and Visual Studo 2013, language VB.net. For the insert, I am able to display the insert form and enter data, the question I have is how to retrieve the entered values from the form in the code behind.  I want to interrogate the entered values and take some additional action before using a SQL stored procedure to insert the data.  The code from the _ItemInserting routine is:

        Dim sCatName as string
        Dim insertedItem As RadDataFormEditableItem = TryCast(e.DataFormItem, RadDataFormEditableItem)
        Dim newValues As New Hashtable()

        insertedItem.ExtractValues(newValues)

        For Each entry As DictionaryEntry In newValues

            sCatName = entry.Value

        Next

In this case the entry.value is NULL.

How do I get to the data?

Thanks 
Viktor Tachev
Telerik team
 answered on 13 Jan 2015
1 answer
365 views
hi,
i have a rad wizard with previous and next button and I made cancel button as save as draft . When I click next button and if there are any required field validators it shows the message to fill required field validators. When I cancel after having validation mesSages on the screen it's not firing cancel event because there are validations on the page . How to bypass the validations and on click of save as draft the event needs to be fired without checking any validations . Can you please help me in resolving this
Boyan Dimitrov
Telerik team
 answered on 13 Jan 2015
7 answers
432 views
How do I hide the data labels in a line chart.  I have a simple databound chart and I can't turn of the data labels on either series.
I have the ShowLabels value set to False...   I'm using the Q1-2010 beta

     <telerik:RadChart ID="RadChart3" runat="server" Width="800" Height="600px" DataSourceID="ssDatasource"  
            DefaultType="Line" SeriesOrientation="Vertical" Skin="Office2007" > 
            <ChartTitle> 
                <Appearance Position-AlignedPosition="Top"
                    <FillStyle MainColor=""></FillStyle> 
                </Appearance> 
                <TextBlock Text="Application Usage"
                    <Appearance TextProperties-Font="Tahoma, 13pt" TextProperties-Color="Black"></Appearance> 
                </TextBlock> 
            </ChartTitle> 
            <Series> 
                <telerik:ChartSeries Name="PeakUsages" Type="Line"
                    <Appearance ShowLabels="False"
                        <LabelAppearance Visible="false"></LabelAppearance> 
                    </Appearance> 
                </telerik:ChartSeries> 
                <telerik:ChartSeries Name="LicenseCount" Type="Line"
                    <Appearance ShowLabels="False"
                    </Appearance> 
                </telerik:ChartSeries> 
            </Series> 
            <Appearance TextQuality="AntiAlias"
            </Appearance> 
            <Legend Visible="False">  
            </Legend> 
            <PlotArea> 
                <Appearance Dimensions-Margins="18%, 5%, 25%, 5%"
                    <FillStyle MainColor="White" FillType="Solid"></FillStyle> 
                    <Border Color="134, 134, 134"></Border> 
                </Appearance> 
                <XAxis LayoutMode="Inside" AutoScale="false" DataLabelsColumn="UsageDate"
                    <Appearance ValueFormat="ShortDate" MajorGridLines-Visible="false"
                        <MajorGridLines PenStyle="Solid" Color="209, 222, 227" Visible="False" Width="0"></MajorGridLines> 
                        <LabelAppearance RotationAngle="300" Position-AlignedPosition="Top"
                        </LabelAppearance> 
                        <TextAppearance TextProperties-Color="51, 51, 51"></TextAppearance> 
                    </Appearance> 
                </XAxis> 
                <YAxis AutoScale="false" IsZeroBased="true" AxisMode="Normal" MinValue="0" MaxValue="35"
                    <Appearance Color="134, 134, 134" MinorTick-Color="134, 134, 134" MinorTick-Width="0" MajorTick-Color="134, 134, 134"
                        <MajorGridLines Color="209, 222, 227"></MajorGridLines> 
                        <MinorGridLines Color="233, 239, 241"></MinorGridLines> 
                        <TextAppearance TextProperties-Color="51, 51, 51"></TextAppearance> 
                    </Appearance> 
                  </YAxis> 
            </PlotArea> 
        </telerik:RadChart> 
        <br /> 

Danail Vasilev
Telerik team
 answered on 13 Jan 2015
1 answer
139 views
I want when cell selected and over lich on any place on the page. that cell selected not be reset. Mean that cell keep selected state !! 
Please help
Nencho
Telerik team
 answered on 13 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?