Telerik Forums
Community Forums Forum
6 answers
1.4K+ views
I don't remember signing up on this website so I'd like to delete my account, please help me
Dandre
Top achievements
Rank 1
 answered on 26 Jul 2023
1 answer
77 views

I created an account by signing in via Google. I've then followed the steps for adding the nuget feed to Visual Studio as described in https://docs.telerik.com/aspnet-mvc/installation/nuget-install#troubleshooting-issues-with-nuget. However, I'm unable to proceed past the Windows Authentication Dialog with my Google credentials.

Any ideas would be greatly appreciated.

Lance | Senior Manager Technical Support
Telerik team
 answered on 24 Jul 2023
0 answers
68 views

Hello I have being looking for examples on  using auto complete using tag helpers  but coulnt find any 

in my grid column i have

        <column field="TechnicianAssigned" width="250" editor="categoryDropDownEditor" />

 

 and the categoryDropDownEditor has  code as below....the code hits the  url but not sure how to pass the data from column to  method and serach the functionality.Any example would be helpful.

 

   function categoryDropDownEditor(data) {
            $('<input data-bind="value: value" name="' + data.field + '"/>')
                .kendoAutoComplete({
                    dataSource: {
                        transport: {
                            read: {
                                url: "/Home/EmpSearchData",
                                dataType: "jsonp"
                            }
                        }
                    },
                    dataTextField: "ename",

                    filter: "contains",
                    minLength: 4
                });
        }
Rajesh
Top achievements
Rank 1
Iron
 asked on 19 Jul 2023
0 answers
32 views

I need to export my RadGrid, which displays correctly, to an Excel file. But when I click the Export To Excel button, it doesn't export. Instead, the entire Command Item bar disappears.

The same thing is happening on another RadGrid on the same page, but clicking the Export To Excel button also removes paging from the RadGrid, so that it displays all of the data.

Here is the markup for the second RadGrid:

    <telerik:RadGrid ID="rgPickedDetail" runat="server" AllowFilteringByColumn="False" AllowPaging="True" OnItemCommand="rgPickedDetail_ItemCommand"
        AllowSorting="True" DataSourceID="DetailDataSource" ShowStatusBar="True" PageSize="15" OnItemDataBound="rgPickedDetail_ItemDataBound"
        Skin="Telerik" AllowAutomaticUpdates="true" AutoGenerateColumns="False">
        <ExportSettings HideStructureColumns="true" Excel-Format="Xlsx" ExportOnlyData="true" IgnorePaging="true" />
        <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>
        <MasterTableView CommandItemDisplay="Top" HierarchyLoadMode="ServerOnDemand" AllowSorting="false" AutoGenerateColumns="false">
            <CommandItemSettings ShowExportToCsvButton="true" ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="true" />
            <Columns>
                <telerik:GridBoundColumn DataField="Plant" DataType="System.String" HeaderText="Plant" ReadOnly="True" UniqueName="Plant" />
                <telerik:GridBoundColumn DataField="PartNum" DataType="System.String" HeaderText="Part" ReadOnly="True" UniqueName="PartNum" />
                <telerik:GridBoundColumn DataField="SerialNum" DataType="System.String" HeaderText="Serial number" ReadOnly="True" UniqueName="SerialNum" />
                <telerik:GridBoundColumn DataField="QtyPicked" DataType="System.Int32" HeaderText="Picked" ReadOnly="True" UniqueName="QtyPicked" />
                <telerik:GridBoundColumn DataField="QtyReq" DataType="System.Int32" HeaderText="Requested" ReadOnly="True" UniqueName="QtyReq" />
                <telerik:GridBoundColumn DataField="Scanned" DataType="System.DateTime" DataFormatString="{0:M/d/yy HH:mm}" HeaderText="Scanned" ReadOnly="True" UniqueName="Scanned" />
                <telerik:GridBoundColumn DataField="FromLoc" DataType="System.String" HeaderText="From" ReadOnly="True" UniqueName="FromLoc" />
                <telerik:GridBoundColumn DataField="ToLoc" DataType="System.String" HeaderText="To" ReadOnly="True" UniqueName="ToLoc" />
                <telerik:GridBoundColumn DataField="Picked" DataType="System.Boolean" Display="false" HeaderText="Picked (invisible)" UniqueName="Picked" />
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>

Here is the relevant code-behind:


    Shared ReportDate As Date

    Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
        If ReportDate = Nothing Then
            ReportDate = Today
            StartDate.SelectedDate = ReportDate
        End If
        SetReportDate()

        If Not Page.IsPostBack Then
        End If
    End Sub

    Protected Sub MessageBox(msg As String)
        ScriptManager.RegisterStartupScript(Me, Me.GetType, "WindowsScript", "alert('" + msg + "');", True)
    End Sub

    Protected Sub rgPickedDetail_ItemDataBound(sender As Object, e As GridItemEventArgs)
        If e.Item.GetType() Is GetType(GridDataItem) Then
            Dim item As GridDataItem = e.Item
            item.ForeColor = IIf(item("Picked").Text = "True", Color.Green, Color.Red)
        End If
    End Sub

    Protected Sub StartDate_SelectedDateChanged(sender As Object, e As Calendar.SelectedDateChangedEventArgs)
        ReportDate = e.NewDate
        SetReportDate()
        rgPickedSummary.Rebind()
        rgPickedDetail.Rebind()
    End Sub

    Private Sub SetReportDate()
        SummaryDataSource.SelectParameters("StartDate").DefaultValue = ReportDate
        DetailDataSource.SelectParameters("StartDate").DefaultValue = ReportDate
    End Sub

    Protected Sub rgPickedDetail_ItemCommand(sender As Object, e As GridCommandEventArgs)
        If e.CommandName = "ExportToExcel" Then
            rgPickedDetail.Rebind()
        End If
    End Sub

    Protected Sub rgPickedDetail_ItemCreated(sender As Object, e As GridItemEventArgs) Handles rgPickedDetail.ItemCreated
        If TypeOf e.Item Is GridCommandItem Then
            ScriptManager.GetCurrent(Page).RegisterPostBackControl(e.Item.FindControl("ExportToExcelButton"))
        End If
    End Sub

    Protected Sub rgPickedSummary_ItemCreated(sender As Object, e As GridItemEventArgs) Handles rgPickedSummary.ItemCreated
        If TypeOf e.Item Is GridCommandItem Then
            ScriptManager.GetCurrent(Page).RegisterPostBackControl(e.Item.FindControl("ExportToExcelButton"))
        End If
    End Sub
In my research, I have seen some people have problems like this when they are using Ajax, but my project has no references to Ajax inside it.
Lee
Top achievements
Rank 1
 asked on 19 Jul 2023
0 answers
45 views

你好

我想删除 Telerik 用户帐户,但找不到任何有关如何执行此操作的提示。

谢谢

 
Top achievements
Rank 1
 asked on 18 Jul 2023
1 answer
64 views

Are there any Demo's where I can take a Report that has a Property and underneath that property is 5 owners. I would need the report to print the same report for 5 owners.

 

This is my current report using Jaspersoft which we are trying to get rid of.

Dimitar
Telerik team
 answered on 22 Jun 2023
1 answer
126 views

Kendo grid  Issue while doing  server side paging and client side sorting ,filtering  in dot net core mvc 

0 answers
41 views
      Me.FoodlistTableAdapter.Fill(Me.ITEMMASTERDataSet.Foodlist). login failed for user stores sql exception
venkat
Top achievements
Rank 1
 asked on 29 May 2023
1 answer
78 views

Hi all,

 

I am using Kendo UI with Angular. I want to show some data in my Kendo Grid but I am stuck at a point as the json data I am using is of multiple level.

Json data:

{

"colleges": [

{

"id": 1,

"name": "test 1",

"entities": [

{

"type": "teacher",

"name": "Dan"
}

]

},

{

"id": 2,

"name": "test 2",
"entities":

[

{

"type": "student",

"name": "David"

}
]
}

],

"status": "Success"

}

 

I want to show data in the below form:

 

College name            Student name                  Teacher name

test 1                                                                          Dan

test 2                            David

 

Your valuable response will be appreciated. Please feel free to contact back if any question.

 

Thanks,

Akash Verma

Akash
Top achievements
Rank 1
 updated question on 16 May 2023
1 answer
55 views

I am using a radgrid which has edit form for each row. When I click on the EDIT, needdatasource event is triggered and databinding, which I dont want it to do because the query for the grid takes a fews seconds to run. I set on the needdatasource event so that the code doesn't run if the EDIT link is clicked on. But this makes the radgrid disappear. I have tried making the grid visible again and enable but doesnt show the grid. Code snippet below.

 protected void rg_OrderSummary_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
        {
                if (refreshGrid)
                {

                    (sender as RadGrid).DataSource = LoadResults();
                }
                else
                {
                    rg_OrderSummary.Visible= true;
                    updGrid.Update();
                }
            }

}

How can I get it the grid to show without having to run databind again through need datasource event please?

 

                             
Attila Antal
Telerik team
 answered on 15 May 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?