Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
122 views

Hi,

How can i do to synchronise multiple HtmlChart ?

I have 4 charts, each can start or end on a different time, but i must start the graphics at te same time

See in the attached file (Graphics_Snchro.png) for example, the 2 graphics must start at 10:27:27 and stop at 10:57:27.

 

The XAxis MinDateValue and MaxDateValue are good, but no on the graphics itself... WHY ?

 

Thank for your help

 

Vessy
Telerik team
 answered on 18 Aug 2016
2 answers
88 views

After upgrading from 2015.3.930.45 to 2016.2.607.45 I get an error when using RadAjaxManager.ResponseScripts.Add

If I rollback the upgrade, it works fine.

I've tried using ScriptManager.RegisterStartupScript instead of RadAjaxManager.ResponseScripts.Add and I don't get an error, but it still doesn't work.

Attached is the error when scripts are combined and when they are not.

Any ideas?  Again, it works fine if I rollback the update.

Thanks,

Sam

Maria Ilieva
Telerik team
 answered on 18 Aug 2016
1 answer
241 views

Hello,

I have a web page I'm working on that is using a tree control and it displays check boxes for the number of years in the data.  The year range is 1970-2016.

example:

                  70 71 72 73 74 75 ....

Test1    

  -->Test2   cb cb cb cb cb...

  -->Test3   cb cb cb cb cb...

I'm running out of room on my page.  Is there a control that will work better then a treeview control and a static gif file listing out the years?

 

Thank you

 

 

I have telerik controls 2013 Q1 Net 45.  

Konstantin Dikov
Telerik team
 answered on 18 Aug 2016
1 answer
543 views

Hy

i am using RadhtmlChart  and i want to fill RadhtmlChart programmatically using simple SQL request.

 

thank you very much

Marin Bratanov
Telerik team
 answered on 18 Aug 2016
5 answers
440 views
Hi,

I do have one RadCombobox and one Radgrid in my page separately. Depends upon the combo box selection the radgrid record will change. It is working fine now. But if I click the Insert option in radgrid, it show the input text fields and all other control, in that time I changed the combo box, the event is not get firing. May I know why? But the selection changed event firing, when I am in the editable mode in the radgrid.

Thanks
Madhu
Top achievements
Rank 1
 answered on 17 Aug 2016
1 answer
269 views

Hello,

I bind my rad grid client-side. 

Here I am trying to export grid data to excel on button click event from server side.

However, exporting is not working.

So, could someone suggest any workaround to achieve above case?

Thanks in advance.

Rahul

Doug
Top achievements
Rank 1
 answered on 17 Aug 2016
4 answers
194 views

I have a reproducible problem that I encounter when the RadWizard Finish button is clicked.  I believe it is Telerik related and not my code ... here is a description of the behavior.

 

1) User clicks Finish button.  The entire browser window freezes.  (i.e. cannot minimize, cannot change the page).

2) This behavior occurs in IE 10, IE 11, and Edge.

3) This behavior does not occur in Google Chrome.

4) When it happens no errors are thrown to the console window.

5) The code behind function for the Finish event is not fired.  All code (including the freeze) occurs client-side in the browser.

6) The behavior does NOT occur in IE 10, IE 11, and Edge if the Visual Studio debugger is attached.  No errors are thrown.

 

This is for an application in production and this issue causes work stoppage.  Any guidance or suggestions is greatly appreciated.  Thank you!

Peter Milchev
Telerik team
 answered on 17 Aug 2016
0 answers
100 views

Hello,

We have a Rad grid and a hyperlink in a rad window

Here on hyperlink click we are trying to bind the rad grid from client side by calling Web Method via $.Ajax() function, however 

the rad grid  - get_masterTableView() finds null.

So, could someone please advise is there any workaround/better way to bind the rad grid as per the above case?

Thanks in advance.

 

systems
Top achievements
Rank 1
 asked on 17 Aug 2016
6 answers
888 views

I have an ASP.Net page with a RadGrid within the RadPageLayout.

There is a RadTextBox within the RadPageLayout.  A user will enter in the Serial Number into the RadTextBox and click the SCAN button which is a RadButton. Clicking on the SCAN button causes the VB.Net code-behind to a number of checks on the Serial Number entered and puts the results in a table that was bound to the RadGrid.  A Rebind is done with the RadGrid to show the results and the row with the Serial Number is selected.

Once the Rebind is done and row is selected, I need the RadGrid to scroll to the selected row.  I am having trouble getting that to work.  I have tried what the Telerik documentation states about scrolling to selected row and did not work.  I have tried using SelectedIndexChanged event with RadGrid and did not work.

Here is a portion of the code-behind for the Scan button click:

' Rebind Grid to show status of scan.
rgInvntCycleReconcl.Rebind()
 
' Select Row with Serial Number
Dim gdiItem As GridDataItem = rgInvntCycleReconcl.MasterTableView.FindItemByKeyValue("SERIAL_NO", strSerialNbr)
gdiItem.Selected = True

Here is the RadGrid in ASP.Net page:

<telerik:RadGrid ID="rgInvntCycleReconcl" runat="server" GroupPanelPosition="Top" Height="246px" AutoGenerateColumns="False" AllowPaging="True" RenderMode="Auto"
    PageSize="2000" OnNeedDataSource="rgInvntCycleReconcl_NeedDataSource" OnSelectedIndexChanged="rgInvntCycleReconcl_SelectedIndexChanged">
    <GroupingSettings CollapseAllTooltip="Collapse all groups" />
    <ExportSettings IgnorePaging="True">
        <Pdf AllowPrinting="False">
        </Pdf>
        <Excel FileExtension="xlsx" Format="Xlsx" />
    </ExportSettings>
    <ClientSettings>
        <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" />
        <Selecting AllowRowSelect="True" />
    </ClientSettings>
    <MasterTableView EnableViewState="true" Font-Size="Medium" DataKeyNames="SERIAL_NO">
        <Columns>
            <telerik:GridBoundColumn DataField="SERIAL_NO" FilterControlAltText="Filter column column" HeaderText="Serial No." ReadOnly="True" UniqueName="SerialNbr">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="LOCATION" FilterControlAltText="Filter column1 column" HeaderText="Location" ReadOnly="True" UniqueName="Location">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="STATUS" FilterControlAltText="Filter column2 column" HeaderText="Status" ReadOnly="True" UniqueName="Status">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="SCAN_LOC" FilterControlAltText="Filter column3 column" HeaderText="Scan Location" ReadOnly="True" UniqueName="ScanLocation">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="WEIGHT_KGS" FilterControlAltText="Filter column4 column" HeaderText="Weight KGS" ReadOnly="True" UniqueName="WeightKGS">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
</telerik:RadGrid>

Please help!

Sincerely,

Keith Jackson

Keith
Top achievements
Rank 1
 answered on 17 Aug 2016
5 answers
247 views

I can't seem to trigger my validators within my FormTemplate on my grid. I can't find any examples of this either. Is it possible? Do I have to resort to using client side JS to manually trigger them on the submit?

 

<ValidationSettings EnableValidation="true" CommandsToValidate="PerformInsert,Update" />

<FormTemplate>
                                    <table>
                                        <tr>
                                            <td>Milestone Name: </td>
                                            <td>
                                                <asp:TextBox runat="server" Text='<%# Bind("Name") %>' ID="txtMilestoneName" />
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtMilestoneName" 
                                                    runat="server" ErrorMessage="* - Required Field"  Display="Dynamic" ValidationGroup="Milestone"
                                                    ForeColor="Red" Font-Bold="true"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>Pipline: </td>
                                            <td><asp:DropDownList runat="server" SelectedValue='<%# Bind("PipelineID") %>' ID="ddlPipline"
                                                ItemType="ONEOK.BusinessData.BusinessObjects.Pipeline"
                                            DataTextField="Name" DataValueField="PipelineID" SelectMethod="getPipelines" AppendDataBoundItems="true">
                                                <asp:ListItem Text="Select..." Value="0" />
                                            </asp:DropDownList>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="ddlPipline"
                                                    ErrorMessage="* - Required Field" InitialValue="" ForeColor="Red" Font-Bold="true"></asp:RequiredFieldValidator>

                                            </td>
                                        </tr>
                                        <tr>
                                            <td>Threshold Value: </td>
                                            <td>
                                                <asp:TextBox runat="server" Text='<%# Bind("MilestoneThresholdValue") %>' ID="txtMilestoneThresholdValue" />
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtMilestoneThresholdValue" runat="server" ErrorMessage="* - Required Field" ForeColor="Red" Font-Bold="true"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>Latitude: </td>
                                            <td>
                                                <asp:TextBox runat="server" Text='<%# Bind("Latitude") %>' ID="txtLatitude" />
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="txtLatitude" runat="server" ErrorMessage="* - Required Field" ForeColor="Red" Font-Bold="true"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>Longitude: </td>
                                            <td>
                                                <asp:TextBox runat="server" Text='<%# Bind("Longitude") %>' ID="txtLongitude" />
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" ControlToValidate="txtLongitude" runat="server" ErrorMessage="* - Required Field" ForeColor="Red" Font-Bold="true"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td valign="top">Photo: </td>
                                            <td>
                                                <telerik:RadBinaryImage ID="rbiMilestone" DataValue='<%# Eval("Photo") %>' runat="server" />
                                                <telerik:RadAsyncUpload ID="radMilestoneImage" AllowedFileExtensions="jpg,jpeg,png,gif" runat="server" 
                                                     
                                                    AutoAddFileInputs="false" Localization-Select="Upload Image"></telerik:RadAsyncUpload>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>Milestone Information: </td>
                                            <td><telerik:RadEditor ID="radEventLongDesc" Content='<%# Bind("MilestoneInformation") %>' ContentAreaCssFile="~/content/rte.css" runat="server" Width="500px" ToolbarMode="PageTop" BackColor="White"></telerik:RadEditor></td>
                                        </tr>
                                        <tr>
                                            <td align="center" colspan="2">
                                                <asp:Button ID="btnUpdate" CausesValidation="true" ValidationGroup="Milestone" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
                                                    runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'></asp:Button>&nbsp;
                                                <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
                                                    CommandName="Cancel"></asp:Button>
                                            </td>
                                        </tr>
                                    </table>
                                </FormTemplate>

Eyup
Telerik team
 answered on 17 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?