Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
92 views
I downloaded and studied the example for implementing a DBContentProvider for the RadFileExplorer. Afterwards I decided to try my hand at it but have run into an issue that has me at a loss. When I add a subfolder to my root the file editor throws a generic windows.alert error messasge that simply displays the subfolder path. After dismissing the alert the file editor will refresh with the subfolder appearing in the right-hand grid...but it does not appear as a child node of the root in the treeview. If I click the 'refresh' button then everything is fine...the subfolder appears in both the treeview, as a child node of the root, and in the grid.

I opened both the example and my project in VS and set a breakpoints in the 'ResolveRootDirectoryAsTree' method of each. Running the repro steps I discovered that in my implementation the breakpoint is hit twice...once before the alert message box and a second after dismissing. Both times the path argument is 'Root/'. The same operation on the example code has the breakpoint being hit four times...
'Root/'
'Root/NewFolder/'
'Root/'
'Root/'

A close look at the 'DirectoryItem' generated in the method shows no differences...the full path and location properties of both the parent and it's child are the same for both my code and Teleriks. Tracing through the code shows nothing different either. So my question is this...where in the telerik code-base is this alert message being generated and what error condition is it intended to convey??

it is a standard window.alert message box with a title of "Message from webpage" and a subject of "Root/NewFolder/"...that's it, no error message, just the full path of the newly added subfolder.

BTW: to setup for debugging the issue I deleted all the example 'Items' but the root folder. Also my implementation uses LinqToSql to manage two tables...dbo.Directory and dbo.Content, rather than a single 'Items' table as the example does. For that reason posting code with this thread would be pointless.

Has anyone else seen this error dialog being thrown when adding a folder?? If so, any suggestions as to where to look??
-mark


Vessy
Telerik team
 answered on 06 Aug 2013
1 answer
150 views
Hi All,

I am using RadGrid control and creating one grid column programmatically but the problem is that when I use filter of that column it gives me an error radgrid is neither a DataColumn nor a DataRelation for table. I can view that column but when I try to filter the records using the date filter then it produces an error.

Also, how can I set the index of that column as I want to set the position of that column as number three because before that I have two more columns edit and delete.

Any help would be greatly appreciated.

Thanks in advance.


<telerik:RadGrid ID="rgList" Width="100%" AllowFilteringByColumn="true" Skin="Metro"
        CssClass="table table-bordered" AutoGenerateDeleteColumn="false" AutoGenerateEditColumn="false"
        EnableEmbeddedBaseStylesheet="true" AllowSorting="True" AllowPaging="false" PageSize="10"
        ShowHeader="true" runat="server" AutoGenerateColumns="true" ShowStatusBar="true">
        <MasterTableView TableLayout="Auto" CommandItemDisplay="Top">
            <CommandItemSettings ShowRefreshButton="false" ShowAddNewRecordButton="false" ShowExportToCsvButton="true"
                ShowExportToExcelButton="true" />
        </MasterTableView>
        <GroupingSettings CaseSensitive="false" />
    </telerik:RadGrid>
 
 
 Protected Sub rgList_ColumnCreated(ByVal sender As Object, ByVal e As GridColumnCreatedEventArgs) Handles rgList.ColumnCreated
 
        If e.Column.UniqueName = "AutoGeneratedDeleteColumn" Then 'auto generated delete column id
            Dim gridButtonColumn As GridButtonColumn = e.Column
            gridButtonColumn.ConfirmText = Constants.DELETE_CONFIRM_MESSAGE
        ElseIf e.Column.UniqueName = Constants.EDIT Then
            TryCast(e.Column, GridBoundColumn).AllowFiltering = False
            TryCast(e.Column, GridBoundColumn).HeaderText = ""
        ElseIf e.Column.UniqueName = Constants.DELETE Then 'hiding Delete column from database
            e.Column.Visible = False
        ElseIf e.Column.UniqueName.Contains("_") Then
            Dim sColType As String = e.Column.UniqueName.Split("_")(1)
            If sColType = "GridDateTimeColumn" Then
                Dim _GridDateTimeColumn As New GridDateTimeColumn
                _GridDateTimeColumn.DataField = e.Column.UniqueName
                _GridDateTimeColumn.HeaderText = "Callback Date"
                _GridDateTimeColumn.EnableRangeFiltering = True
                _GridDateTimeColumn.AutoPostBackOnFilter = True
                rgList.MasterTableView.Columns.Add(_GridDateTimeColumn)
            End If
        Else
            e.Column.AutoPostBackOnFilter = True
            e.Column.CurrentFilterFunction = GridKnownFunction.Contains 'setting filter for all other columns
        End If
 
    End Sub
 
Andrey
Telerik team
 answered on 06 Aug 2013
1 answer
343 views
Hi team,
Language : vb.net
I tried search in your forum and all the examples given. Most of them, only show in c# not in vb.net.
And the function for onclick is not available ..except oncheckedchanged.
My problem is.
I have a checkbox column in Radgrid and only one must be selected. If more than that it will show an error in textbox.

One more case :
If i use GridClientSelectColumn, how to add a function like on checkedchanged.

Can somebody guide me.
Thanks.
Angel Petrov
Telerik team
 answered on 06 Aug 2013
5 answers
210 views
Hi folks

Anyone know whether this control support optgroups as in html?

Thanks
Merin
Shinu
Top achievements
Rank 2
 answered on 06 Aug 2013
2 answers
60 views
Hello Everyone,

I want to keep my Filtered ,Pagged , Sorted data as it is untill i m not logged out from my application

currently i bind my grid using NeedData-source .
and also that will not affect my performance also.

Can anyone have any idea or source for that?
Thanks,
Kiresh
Top achievements
Rank 1
 answered on 06 Aug 2013
1 answer
127 views
Hi

I have updated my RadControls to the latest version and now the visual studio Design mode is not working. Whatever Radcontrols are added to the page I am getting an Error rendering controls shown in red. Wondering how type casting error can happen in Design mode that too on updating the controls.

Thanks,
Damian
Shinu
Top achievements
Rank 2
 answered on 06 Aug 2013
4 answers
125 views
Hello!
I would like to show the full list search when clicked within the control RadSearchbox, is it possible?
Without having to type anything ...

I also wonder if the use ButtonCommand I could create different searches. Example: Clicking the Globe Button I would use the criterion X.
To Favorites I would use the criterion Y.
Using the functionality I asked above. Clicking already carry automatically, without the need to type anything ...
Jorge
Top achievements
Rank 1
 answered on 05 Aug 2013
6 answers
653 views
Hi guys

Using any tweak, can I open a Radwindow in another browser view? The scenario is I need to open a radwindow on clicking a link button, but the radwindow should be opened independently (it should not open in the current page containing my link button)

Thanks
Antony
Antony
Top achievements
Rank 1
 answered on 05 Aug 2013
0 answers
43 views
Hello

Is there a way to disable page breaks between two reports in a ReportBook? 

Thanks, Raka
Raka
Top achievements
Rank 1
 asked on 05 Aug 2013
5 answers
171 views
Hi,

Ajax update panel is not working inside rad dock. Kindly address this issue and let us know whether this feature is available or not.


Thanks & Regards
Purojit
Marin Bratanov
Telerik team
 answered on 05 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?