Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views
My tables are all singular form. When I created the data class, I selected "unchanged" on the pluralization option. Thus, the names of the tables are properly reflected in the datalayer (singular). When I use the Dynamic Data Wizard to add this data layer, "My tables" all show plural. (person is now people, phone is now phones, etc). I don't have a table named people. I have spent hours searching for a way to turn pluralization off in THIS wizard. Is there a fix for this?
Damyan Bogoev
Telerik team
 answered on 21 Jun 2013
1 answer
272 views
I tried the new DropdownList control, and set it to a list with a hundred items or so in it.  When displayed, the list does not limit the number of items and create a scroll bar, as I expected. Instead it creates the whole list, right off the screen, and there is no way for the user to even get to it.  If you try to scroll down with the browser, it closes the dropdown list.

There is no scenario under which this would be an acceptable user interface, it does not honor the way a normal SELECT tag would display, and therefore in my opinion should NOT be the default behavior for this control.

I see where you have a DropDownHeight property, but that leaves me to figure out a pixel value that corresponds to the amount of items that should be shown.  I'd much rather just have a number of items there and not have to figure out the pixel height of the list items.

If I don't set any property, I would expect the list to default to 20 items, or whatever the browser default amount is, not just make an unscrolled, really long list.
Bozhidar
Telerik team
 answered on 21 Jun 2013
1 answer
168 views
Hi,

we have a requirement like to build n levels  hierarchy in Radgrid to display  n-levels based on the each level id. we have tried with radgrid , but it is displaying up to 3 steps ,  please  let me know your suggestion .

Please check the attachment of hierarchy grid in another third party control. can we get same thing in radgrid .

Thanks & Regards
Shashi
Eyup
Telerik team
 answered on 21 Jun 2013
5 answers
134 views
I am looking to change the default edit control (the textbox) in a cell of autopopulated RadGrid to a RADDropDownList.  Is there a way to do this and if so, under what event would it be placed?
Jayesh Goyani
Top achievements
Rank 2
 answered on 21 Jun 2013
5 answers
577 views
I need to format a columns datetime Display, but keep it's value in both the RadGrid And Excel Export using Biff(or someway)

<telerik:GridBoundColumn DataField="Recorded Date2" <br>            FilterControlAltText="Filter Reported Date column" HeaderText="Reported Date" <br>            ReadOnly="True" SortExpression="Recorded Date" UniqueName="Recorded_Date" ItemStyle-HorizontalAlign="Right" DataType="System.DateTime" DataFormatString="{0:MM/dd/yy}"><br>        </telerik:GridBoundColumn>

I want my column to Display 06/18/13 in my Grid.

And I want it to Display 06/18/13 in my Excel Export.

However, I want my DateTime field in Excel to Retain it's DateTime attribute and be sortable.

Tuesday, June 18, 2013 8:00:00 AM 06/18/13
Tuesday, June 18, 2013 8:00:00 AM Tuesday, June 18, 2013 12:00:00 AM

This is my export before and after.  I modified the  Excel Cell Format of column B2 after export.  I want it to display Tuesday, June 18, 2013 8:00:00 AM instead of Tuesday, June 18, 2013 12:00:00 AM.
Princy
Top achievements
Rank 2
 answered on 21 Jun 2013
1 answer
110 views

I've got a page with 4 grids on it. For exporting we have a button that uses the following code to export the data.

protected void ExportToExcel_Click(object sender, EventArgs e)
{
 
    RG.ExportSettings.ExportOnlyData = true;
    RG.ExportSettings.IgnorePaging = true;
    RG.ExportSettings.OpenInNewWindow = true;
    RG.ExportSettings.FileName = "Assessment_Outcomes_Detail_" + DateTime.Today.Month.ToString() + "_" + DateTime.Today.Day.ToString() + "_" + DateTime.Today.Year.ToString();
    RG.MasterTableView.ExportToExcel();
}

Is it possible to do something so that each grid is placed into a worksheet  and then the excel file exported? Instead of having our user export each grid into its own excel file.

thanks


Shinu
Top achievements
Rank 2
 answered on 21 Jun 2013
1 answer
164 views
Hi All,

I have created a custom RadFilterDataFieldEditor to manage a specific set of my data. I need to do some additional work in code with any expressions created that are using this Editor (but only when they use a specific operator - Equal To).

Looking at the code, I can't seem to get the expression and the Editor at the same time. If I get to the RadFilterSingleExpressionItem, it has an Editor property that I can see at runtime, but is protected - so I can't access it. The Expression itself doesn't seem to have a link, and if I go in via the FieldEditors property on the RadFilter, I can get the Editors but they don't seem to have a link to the expression.

Basically, I want to do the below (aircoded):

If typeof(Editor) is MyCustomEditor and expression.FilterFunction = EqualTo Then
  'Do Custom Work
End If

Can anyone point out how to achieve this?

Thanks
Fergal
Andrey
Telerik team
 answered on 21 Jun 2013
7 answers
285 views
I am creating a search form, where the result is displayed in the RadGrid. I'm binding the Grid to a wcf Service.

<ClientSettings>

<DataBinding SelectMethod="GetDataAndCount" Location="../Services/RecordService.svc" SortParameterType="Linq"

FilterParameterType="Linq" CountPropertyName="Count">

</DataBinding>

</ClientSettings

 

 

>

I can not send the extra search fields to the service and rebind the grid without having to do a full page post back.

My Service looks like

public ResultData<Record> GetDataAndCount(int startRowIndex, int maximumRows, string sortExpression, string

 

filterExpression)

I want it to look something along these lines

public ResultData<Record> GetDataAndCount(int startRowIndex, int maximumRows, string sortExpression, string filterExpression, RecrodSearchCriteria

 

criteria)

Any help would be greatly appreciated. This will make or break my decision to go with Telerik controls or not.

Thanks
Bullish

 

 

 

 

 

Kostadin
Telerik team
 answered on 21 Jun 2013
1 answer
271 views
by default it always goes to the right side.

same problem as here
https://forums.digitalpoint.com/threads/how-to-show-drop-down-menu-expanding-on-left-side.2037316/

solution is basically to add this style to telerik menu:
  • ul.alignleft {
  •             left:-100px;
            }


    but how the * do I do this? I tried for hours
    Shinu
    Top achievements
    Rank 2
     answered on 21 Jun 2013
    0 answers
    127 views
    I have a RadTreeView 

    <telerik:RadTreeView ID="RadTreeView1" runat="server" EnableDragAndDrop="True"
                        EnableDragAndDropBetweenNodes="true" DataFieldID="CategoryID" DataFieldParentID="ParentID"
                        DataSourceID="LinqDataSource1" DataTextField="Name" DataValueField="CategoryID"
                        AllowNodeEditing="False" ExpandAnimation-Duration="150" OnNodeCheck="RadTreeView1_NodeCheck"
                        OnNodeDataBound="RadTreeView1_NodeDataBound" CheckBoxes="True"
                        OnClientNodeDropping="onNodeDropping">

    I want to save my drag-and-drop using client calls with ajax. I'm able to get all the information I need with onNodeDropping but the client state is not persistent.  After the drop the node goes back to the original position. If I do a postback and rebind the tree then it works fine but I don't want to do a postback.
    Thank you

    Web
    Top achievements
    Rank 1
     asked on 20 Jun 2013
    Narrow your results
    Selected tags
    Tags
    +? more
    Top users last month
    Grant
    Top achievements
    Rank 3
    Iron
    Iron
    Iron
    Dean
    Top achievements
    Rank 1
    Leland
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    Emil
    Top achievements
    Rank 1
    Iron
    Robert
    Top achievements
    Rank 1
    Want to show your ninja superpower to fellow developers?
    Top users last month
    Grant
    Top achievements
    Rank 3
    Iron
    Iron
    Iron
    Dean
    Top achievements
    Rank 1
    Leland
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    Emil
    Top achievements
    Rank 1
    Iron
    Robert
    Top achievements
    Rank 1
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?