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

Bug introduced in build 2019.1.115+ causes 3 extra <p>&nbsp;</p> when user presses Enter key in FireFox.  Happens when Editor is in a Wizard with more than one step.  Bug does not occur in builds prior to 2019.1.115.

Try this to reproduce:

 <telerik:RadWizard runat="server" ID="rwMain" BorderStyle="Solid" BorderColor="LightGray" BorderWidth="1px" RenderMode="Lightweight" DisplayNavigationButtons="True">
        <WizardSteps>
            <telerik:RadWizardStep ID="RadWizardStep2" Title="Content Template" StepType="Step">
                <h1>hello!</h1>
            </telerik:RadWizardStep>
            <telerik:RadWizardStep ID="RadWizardStep3" Title="Content Editor" StepType="Step">
                <telerik:RadEditor ID="ContentEditor" runat="server" RenderMode="Lightweight"></telerik:RadEditor>
            </telerik:RadWizardStep>
        </WizardSteps>
    </telerik:RadWizard>

Hope you can fix it. 
Thank you!!

Rumen
Telerik team
 answered on 19 Mar 2019
1 answer
277 views

I am using RadWizard steps to make a survey. One step in the Radwizard is to select at least one service they use out of the list of options. When next button is hit, I need to validate that at least one item was checked. If I click next without checking anything, it just goes right to the next step. If I check then uncheck a box, only then does my "Please choose at least one of the options displayed" show up, and it still lets me hit next. What am I doing wrong? I also tried adding the auto postback =false to the Radwizard step, and the Radcheckboxlist itself, and neither helps.  Not sure what I am doing wrong. My code looks like this:

 

<telerik:RadWizardStep ID="RadWizardStep2" runat="server" Title="Services">
                <div>


                    <h3>Please mark all that apply:</h3>
                    <br />
                    <br />
                    <telerik:RadCheckBoxList ID="RadCheckBoxList1" runat="server">
                        <Items>
                            <telerik:ButtonListItem Text="Residential Services" Value="2" />
                            <telerik:ButtonListItem Text="Vocational Services" Value="3" />
                            <telerik:ButtonListItem Text="Transportation/NMT Services" Value="4" />
                            <telerik:ButtonListItem Text="Recreational Services" Value="5" />
                            <telerik:ButtonListItem Text="Supportive living services" Value="6" />
                            <telerik:ButtonListItem Text="Supported employment services" Value="7" />
                            <telerik:ButtonListItem Text="Other" Value="1" />
                        </Items>
                    </telerik:RadCheckBoxList>


                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                        ControlToValidate="RadCheckBoxList1"
                        ErrorMessage="Please choose at least one of the options displayed" />



                </div>
                <div>
                    <telerik:RadTextBox ID="OtherTextBox" runat="server" Visible="false"></telerik:RadTextBox>


                </div>

            </telerik:RadWizardStep>

 

Peter Milchev
Telerik team
 answered on 19 Mar 2019
4 answers
401 views
I am using a web control to edit a grid row.  After a successfull update or insert how do I cause the grid to exit edit/insert mode?
Birdie
Top achievements
Rank 1
 answered on 19 Mar 2019
11 answers
289 views
Hi,

I am using EntityDataSource for binding Grid. it is working fine. but while filtering CaseSensitive=False is not working. i am using Oracle Database for Model. i set the property like "<GroupingSettings CaseSensitive="False" />". but still not working. please let me know ASAP.


Thanks in Advance,
Dhamu
Vessy
Telerik team
 answered on 18 Mar 2019
3 answers
209 views
Hi,
   We bind 6,00,000 rows in rad grid and we set page size is 50, in scroll bar event (OnScroll="ExGrid_OnScroll") we call next 50 rows using button event like adding 50 in paging with existing page size, in fire fox working, but in chrome not working.

Button click event 
  Protected Sub ExGridPagingBtn_Click(sender As Object, e As System.EventArgs) Handles ExGridPagingBtn.Click
        ExGrid.PageSize += 50
        ExGrid.Rebind()
    End Sub

In ExGrid_NeedDataSource

   Protected Sub ExGrid_NeedDataSource(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles ExGrid.NeedDataSource
        If Not Session("ExGridDatas") Is Nothing Then
            ExGrid.DataSource = Session("ExGridDatas")
        End If
    End Sub

Note: ExGrid_NeedDataSource got 6,00,000 rows


Pls reply asap,
Thankx
Eyup
Telerik team
 answered on 18 Mar 2019
2 answers
194 views

Hi Team,

I am using server based dynamic radhtmlchart control in my asp.net page. It is getting dynamically rendered and added to the the page. I have a requirement where y-Axis points should be in descending order (Ref: pic 1). I have tried using reversed = true property but it is moving the x-axis to the top of the chart. 

Is there any way i can implement the requirement as shown in the reference picture.

Any sort of help is appreciated.

sri harsha
Top achievements
Rank 1
 answered on 18 Mar 2019
1 answer
142 views

So I'm trying to do what should be simple... I'm databinding to a grid and want to make simple edits and save.  But I can't get it to work :(  I've tried every combination I can think of and none work.  When I click edit, the edit form opens but no changes save back.  I'm sure it's something simple that I've overlooking but... 

I've tried it a few ways, this is an example:

<telerik:RadGrid ID="DailyHoursGrid" runat="server"
                        AutoGenerateEditColumn="True" CellSpacing="0" DataSourceID="LinqDataSource3"
                        GridLines="None">                      
                        <ClientSettings>
                            <Selecting CellSelectionMode="None" />
                        </ClientSettings>
                        <MasterTableView AutoGenerateColumns="False" DataSourceID="LinqDataSource3">
                            <CommandItemSettings ExportToPdfText="Export to PDF" />
                            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"
                                Visible="True">
                                <HeaderStyle Width="20px" />
                            </RowIndicatorColumn>
                            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"
                                Visible="True">
                                <HeaderStyle Width="20px" />
                            </ExpandCollapseColumn>
                            <Columns>
                                <telerik:GridBoundColumn DataField="Employee" DataType="System.Int32"
                                    FilterControlAltText="Filter Employee column" HeaderText="Employee"
                                    ReadOnly="True" SortExpression="Employee" UniqueName="Employee">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="EventType"
                                    FilterControlAltText="Filter EventType column" HeaderText="EventType"
                                    ReadOnly="True" SortExpression="EventType" UniqueName="EventType">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Time" DataType="System.DateTime"
                                    FilterControlAltText="Filter Time column" HeaderText="Time" ReadOnly="False"
                                    SortExpression="Time" UniqueName="Time">
                                </telerik:GridBoundColumn>
                            </Columns>
                            <EditFormSettings>
                                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                </EditColumn>
                            </EditFormSettings>
                        </MasterTableView>
                        <FilterMenu EnableImageSprites="False">
                        </FilterMenu>
                        
                    </telerik:RadGrid>

 And my data is as follows:

<asp:LinqDataSource ID="LinqDataSource3" runat="server"
                      ContextTypeName="TimeClock.TimeClockEntities2" EntityTypeName="" OrderBy="Time"
                      Select="new (Employee, EventType, Time)" TableName="Events"
                       
                       
                      Where="Time >= @Time && Time <= @Time1 && Employee == @Employee"
                      EnableUpdate="True" EnableInsert="True">
                      <WhereParameters>
                          <asp:ControlParameter ControlID="StartDatePicker" DefaultValue="0:00" Name="Time"
                              PropertyName="SelectedDate" Type="DateTime" />
                          <asp:ControlParameter ControlID="EndDatePicker" DefaultValue="0:00" Name="Time1"
                              PropertyName="SelectedDate" Type="DateTime" />
                          <asp:ControlParameter ControlID="HourlyReportEmployeeCombo" DefaultValue="0"
                              Name="Employee" PropertyName="SelectedValue" Type="Int32" />
                      </WhereParameters>
                  </asp:LinqDataSource>


When in edit mode, the only thing that works is cancel, neither delete or edit do anything...
Eyup
Telerik team
 answered on 18 Mar 2019
1 answer
66 views

Hi!

AddFileInput - adds a row at the end of the control.

How can I add a row in a particular place in the middle?

 

Thanks

Vessy
Telerik team
 answered on 18 Mar 2019
1 answer
188 views

Hello, I have a chart created with ScatterLineSeries. Everything works, except the color inside the markers is white. I'd like it to be filled with the same color of the marker's outline.

Is there a property to fill inside the marker "automatically". when the chart or the series is first created ?

I am aware of there are SeriesItem.BackgroundColor and series.MarkersAppearance.BackgroundColor properties; However, I need to fill the markers automatically (when the chart is first created), since the different (mutliple) series get different colors and I can't tell what color will the series be.

 

I am attaching a screenshot

 

Thank you

Ahmet

 

 

Marin Bratanov
Telerik team
 answered on 15 Mar 2019
1 answer
464 views

hi, I have a radchart and want to show multiple lines using sql data source. User selects date range from calendar (raddatepicker) after that select points from radcombobox and I query the database for those range with three parameters (first date, second date and name point), naturally this is all handled by RadAjaxManager.I'm aware that in radhtmlchart not supported datagroupcolumn. How to do it radhtmlchart with multiple line series.

This is my code ASPX with radchart setting and RadAjaxManager:

<telerik:RadDatePicker runat="server" Visible="true" ID="dpIN"></telerik:RadDatePicker> &nbsp;&nbsp; <telerik:RadDatePicker runat="server" Visible="true" ID="dpOUT"></telerik:RadDatePicker>
    <telerik:RadComboBox ID="rcb_point" runat="server" AutoPostBack="True" DataSourceID="dsPoints" Width="300px"
            DataTextField="name_point" DataValueField="id" 
            AppendDataBoundItems="true">
            <Items>
                <telerik:RadComboBoxItem Text="Все точки" Value="0" Selected="true"></telerik:RadComboBoxItem>
            </Items>
        </telerik:RadComboBox>

<telerik:RadChart ID="RadChart2" DataSourceID="SqlDataSource1" runat="server"
                        Width="1500px" Height="800px" DefaultType="Line" OnItemDataBound="RadChart1_ItemDataBound" 
                        AutoLayout="true" AutoTextWrap="true" CreateImageMap="false">
        <ChartTitle>
            
        </ChartTitle>
        <Series>
            <telerik:ChartSeries DataYColumn="param_d" Name="передача данных" Type="StackedLine">
                <Appearance LegendDisplayMode="ItemLabels">
                    
                </Appearance>

            </telerik:ChartSeries>

        </Series>
    </telerik:RadChart>

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionInfo %>" SelectCommand="RetrieveChart" SelectCommandType="StoredProcedure">
    <SelectParameters>
        <asp:ControlParameter ControlID="rcb_point"  Name="point_id" PropertyName="SelectedValue" Type="Int32" />
        <asp:ControlParameter ControlID="dpIN" Name="date_in" PropertyName="SelectedDate" Type="DateTime" />
        <asp:ControlParameter ControlID="dpOUT" Name="date_out" PropertyName="SelectedDate" Type="DateTime" />
    </SelectParameters>
</asp:SqlDataSource>

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel" runat="server" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
      <AjaxSettings>
          <telerik:AjaxSetting AjaxControlID="rcb_point">
              <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="RadChart2" LoadingPanelID="RadAjaxLoadingPanel1" />
                  <telerik:AjaxUpdatedControl ControlID="rcb_point" />
                  <telerik:AjaxUpdatedControl ControlID="dpIN" />
                  <telerik:AjaxUpdatedControl ControlID="dpOUT" />

              </UpdatedControls>
          </telerik:AjaxSetting>
      </AjaxSettings>
  </telerik:RadAjaxManager>
 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
 </telerik:RadAjaxLoadingPanel>

 

And this is my C# code:

       protected void Page_Load(object sender, EventArgs e)
        {
            RadChart2.DataGroupColumn = "sensor_type";
            RadChart2.PlotArea.XAxis.DataLabelsColumn = "date_in";
            RadChart2.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 300;
            RadChart2.PlotArea.Appearance.Dimensions.Margins.Bottom = Telerik.Charting.Styles.Unit.Percentage(30);
        }

 

Bellow i will attach two picture: my structure data table, i need to form multiple line series a column "sensor_type", and this is what i have right now.

 

Thank you for your attention, i hope upi will help me.

Marin Bratanov
Telerik team
 answered on 15 Mar 2019
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
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
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?