Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
88 views

Hello ,

Can any body help me with the below design in telerik using LinearGauge Horizontal ..

 

Please reply asap..Thanks.

Devi
Top achievements
Rank 1
 asked on 04 May 2017
0 answers
137 views

Hello I am using RadProgress bar of  chunk type,

When the chunkCount = 3 it generates incorrect width style for completed steps, it uses the comma instead of the dot so 33,33334% instead of 33.33334%.

So that it is not working as expected.

version: Telerik_UI_for_ASP.NET_AJAX_2016_2_607_Dev

code behind:

rpb_reviewMail.MaxValue = dataTable.Rows.Count;
rpb_reviewMail.ChunksCount = dataTable.Rows.Count;
rpb_reviewMail.Value = currentStep;

aspx:

<telerik:RadAjaxPanel runat="server">
                                <telerik:RadProgressBar RenderMode="Lightweight" runat="server" BarType="Chunk" Skin="MetroTouch" MinValue="0" Width="100%">
                                </telerik:RadProgressBar>

</telerik:RadAjaxPanel>

Max
Top achievements
Rank 1
 asked on 04 May 2017
2 answers
164 views
Is there any way to have the displayed date on the DatePicker to be formatted as YYDDD?  Example: 04/26/2017 will become 17116.  I would like to keep the selected date to be 04/26/2017 but have the ordinal date displayed to the user.
Dennis
Top achievements
Rank 1
 answered on 04 May 2017
2 answers
107 views

When I add RadGrid, the web appears the error message when I switch webpages on my ipad mini : safari error a problem occurred with this webpage so it was reloaded. But android device(SAM SUNG Galaxy Tab4) is all right. Does somebody know how to solve this problem?

 

monika
Top achievements
Rank 1
 answered on 04 May 2017
6 answers
329 views
Hello, our company is recently tested products telerik rad scheduler and specifically the need to know if this control can make calls to pop up an external page to insert, edit and delete data, because each process has too many validations directly the database that must be handled by codebehind and for us is very important to use this work scheme.

sorry for
my bad English
thanks

murugan
Top achievements
Rank 1
 answered on 04 May 2017
1 answer
188 views

I'm evaluating the RadGantt control for an eventual purshase. I have been able to insert and update tasks but there is a problem with deleting a task. The event OnTaskDelete is not fired unless there is only one task left or I have clicked delete on all tasks. So, if I click to delete only one task and there are more than one task, the confirmation window is showed but the OnTaskDelete event is not fired at all, and the task is not deleted. Is it a know bug? Here's my code:

<telerik:RadGantt ID="RadGantt1" runat="server" AllowTaskDelete="true" RenderMode="Lightweight" DataSourceID="SqlDataSource1" DependenciesDataSourceID="SqlDataSource2"
        OnTaskInsert="RadGantt1_TaskInsert" OnTaskUpdate="RadGantt1_TaskUpdate" OnTaskDelete="RadGantt1_TaskDelete"
        OnDependencyDelete="RadGantt1_DependencyDelete" OnDependencyInsert="RadGantt1_DependencyInsert">
        <DataBindings>
            <TasksDataBindings IdField="ID" ParentIdField="ParentID" StartField="Start" EndField="End" TitleField="Title" PercentCompleteField="PercentComplete"
                               SummaryField="Summary" ExpandedField="Expanded"/>
            <DependenciesDataBindings TypeField="Type" IdField="ID" PredecessorIdField="PredecessorID" SuccessorIdField="SuccessorID" />
        </DataBindings>
    </telerik:RadGantt>
 
    <asp:SqlDataSource runat="server" ID="SqlDataSource1"
        ConnectionString="<%$ ConnectionStrings:LocalSqlServer %>"
        DeleteCommand="DELETE FROM [GanttTasks] WHERE [ID] = @ID"
        InsertCommand="INSERT INTO [GanttTasks] ([ParentID], [OrderID], [Title], [Start], [End], [PercentComplete], [Expanded], [Summary]) VALUES (@ParentID, @OrderID, @Title, @Start, @End, @PercentComplete, @Expanded, @Summary)"
        SelectCommand="SELECT * FROM [GanttTasks] WHERE [ORderID] != -1"
        UpdateCommand="UPDATE [GanttTasks] SET [ParentID] = @ParentID, [OrderID] = @OrderID, [Title] = @Title, [Start] = @Start, [End] = @End, [PercentComplete] = @PercentComplete, [Expanded] = @Expanded, [Summary] = @Summary WHERE [ID] = @ID">
        <DeleteParameters>
            <asp:Parameter Name="ID" Type="Int32" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="ParentID" Type="Int32" />
            <asp:Parameter Name="OrderID" Type="Int32" />
            <asp:Parameter Name="Title" Type="String" />
            <asp:Parameter Name="Start" Type="DateTime" />
            <asp:Parameter Name="End" Type="DateTime" />
            <asp:Parameter Name="PercentComplete" Type="Decimal" />
            <asp:Parameter Name="Expanded" Type="Boolean" />
            <asp:Parameter Name="Summary" Type="Boolean" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="ParentID" Type="Int32" />
            <asp:Parameter Name="OrderID" Type="Int32" />
            <asp:Parameter Name="Title" Type="String" />
            <asp:Parameter Name="Start" Type="DateTime" />
            <asp:Parameter Name="End" Type="DateTime" />
            <asp:Parameter Name="PercentComplete" Type="Decimal" />
            <asp:Parameter Name="Expanded" Type="Boolean" />
            <asp:Parameter Name="Summary" Type="Boolean" />
            <asp:Parameter Name="ID" Type="Int32" />
        </UpdateParameters>
    </asp:SqlDataSource>
protected void RadGantt1_TaskInsert(object sender, Telerik.Web.UI.Gantt.TaskEventArgs e)
        {
            Telerik.Web.UI.Gantt.Task nouvelTache = (Telerik.Web.UI.Gantt.Task)e.Tasks.FirstOrDefault();
 
            if (nouvelTache.ParentID != null)
                SqlDataSource1.InsertParameters["ParentID"].DefaultValue = nouvelTache.ParentID.ToString();
 
            SqlDataSource1.InsertParameters["OrderID"].DefaultValue = nouvelTache.OrderID.ToString();
            SqlDataSource1.InsertParameters["Title"].DefaultValue = nouvelTache.Title;
            SqlDataSource1.InsertParameters["Start"].DefaultValue = nouvelTache.Start.ToString();
            SqlDataSource1.InsertParameters["End"].DefaultValue = nouvelTache.End.ToString();
            SqlDataSource1.InsertParameters["PercentComplete"].DefaultValue = nouvelTache.PercentComplete.ToString();
            SqlDataSource1.InsertParameters["Expanded"].DefaultValue = nouvelTache.Expanded.ToString();
            SqlDataSource1.InsertParameters["Summary"].DefaultValue = nouvelTache.Summary.ToString();
        }
 
        protected void RadGantt1_TaskUpdate(object sender, Telerik.Web.UI.Gantt.TaskEventArgs e)
        {
            Telerik.Web.UI.Gantt.Task tacheModifiee = (Telerik.Web.UI.Gantt.Task)e.Tasks.FirstOrDefault();
 
            SqlDataSource1.UpdateParameters["OrderID"].DefaultValue = tacheModifiee.OrderID == null ? "0" : tacheModifiee.OrderID.ToString();
            SqlDataSource1.UpdateParameters["Title"].DefaultValue = tacheModifiee.Title;
            SqlDataSource1.UpdateParameters["Start"].DefaultValue = tacheModifiee.Start.ToString();
            SqlDataSource1.UpdateParameters["End"].DefaultValue = tacheModifiee.End.ToString();
            SqlDataSource1.UpdateParameters["PercentComplete"].DefaultValue = tacheModifiee.PercentComplete.ToString();
            SqlDataSource1.UpdateParameters["Expanded"].DefaultValue = tacheModifiee.Expanded.ToString();
            SqlDataSource1.UpdateParameters["Summary"].DefaultValue = tacheModifiee.Summary.ToString();
        }
 
        protected void RadGantt1_TaskDelete(object sender, Telerik.Web.UI.Gantt.TaskEventArgs e)
        {
            foreach (Telerik.Web.UI.Gantt.Task tacheSuprimmee in e.Tasks)
            {
                SqlDataSource1.DeleteParameters["ID"].DefaultValue = tacheSuprimmee.ID.ToString();
                SqlDataSource1.Delete();
            }
        }
Peter Milchev
Telerik team
 answered on 04 May 2017
1 answer
163 views

Hello,

I recently upgraded one of our ASP.NET 4 applications from Q2 2014  to the latest 2017 and noticed that the background for the scale changed from gray to white (see attached) and I have not been able to find a way to change it back.  I looked within the Telerik demos and found that I'm able to change the BackColor, but it changes it for the entire RadLinearGauge tag.  Is there any way to accomplish this?

<telerik:RadLinearGauge ID="radInstalledFE" runat="server" Font-Bold="True" Font-Names="Verdana" Font-Size="10pt" Skin="Office2010Black" Width="420px" ForeColor="Black" Height="90px">
                                <Pointer Shape="BarIndicator" Value="15" Size="30" Color="#5ca038">
                                    <Track Opacity="0.2" Size="30" Color="Black" />
                                </Pointer>
                                <Scale MajorTicks-Size="10" MinorTicks-Size="5" Vertical="False" MinorTicks-Color="Black" MajorTicks-Color="Black" Labels-Color="Black" Labels-Font="Verdana" Labels-Position="Outside" MinorTicks-Visible="False"></Scale>
 </telerik:RadLinearGauge>


Stamo Gochev
Telerik team
 answered on 04 May 2017
2 answers
122 views

Hi,

Anyone no why the Edit Columns option doesn't show on my Design Time Task list? It should be there according to the Help file.

I am using 2017.1.228 (Trial) .net Framework 4.5 Controls & Visual Studio 2017.

Thanks, Al

 

Alan
Top achievements
Rank 1
Iron
 answered on 04 May 2017
7 answers
166 views
Hi,
    I would like to create a batch edit grid where the first two columns are a pair of cascading combo boxes (actually the first column needs to be a combo, the next column can be a combo or just a dropdown list). I've had a few experimental attempts so far but have not been able to get anything to work properly. Before I go any further, I would like to ask what is the best way to tackle this problem?

The application I'm trying to write is a timesheet module. The idea is that at the end of the week, the user will enter a row on their timesheet for each job (selected from the combo box) they worked on. Then they will select a task (each job is broken down into a number of tasks) from the next combo/dropdown. Then in the next seven columns, they will enter the number of hours worked on that job/task against each day.

The list of jobs and their related tasks is being queried from a SQL database and I've tended to use asp:SqlDataSource controls to supply the data to the page. I'm OK with batch editing generally but the cascading lists has me stumped so any help would be much appreciated.

Regards Geoff
Rayne
Top achievements
Rank 1
 answered on 03 May 2017
9 answers
562 views
Love the new barcode control.  QR is great.  

I'm trying to setup a generic barcode generator that can be used through out my app (http://whatever/barcode.aspx?value=xyz) and have it generate a PNG image.  I know in the Q2 release this was not possible since PNG was not supported.  However now that it is, I would love a few suggestions on how I could render the barcode image in code-behind (C#) and then just stream it out to the browser.  

Basically I just need to be able to get to the PNG image for the barcode from the control.  

Thanks,
Alex  
Garo
Telerik team
 answered on 03 May 2017
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?