Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
111 views
I know that AutoCompleteBox default value is mulitple entry.
I want to allow only one entry, so I used 

                <telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" runat="server"  DropDownWidth="300px"
                    DataSourceID="Employee" DataTextField="emName" 
                    DataValueField="emName" TextSettings-SelectionMode="Single">



It still allow mulitple entry.. I tried another way to put below 
 <TextSettings SelectionMode="Single" />

But, it still

any ideas.???
Thanks

Kate
Telerik team
 answered on 21 Jun 2013
3 answers
719 views
Hi,

I have a RadGrid that has textboxes in the EditForm. I am using a custom validator and calling a Javascript function. But the button is not firing the custom validator and the javascript is not getting called.

Also please help with how to get the textbox control value in the javascript once the script is working.

the below code is part of the RadGrid Edit Form
 <td style="width: 25%">
                                                    <telerik:RadTextBox ID="txtPartNo" runat="server" class="txtbox" Width="90%">
                                                    </telerik:RadTextBox>
                                                    <asp:RequiredFieldValidator runat="server" ID="rfvPartNo" ValidationGroup="Part" ErrorMessage="*" ControlToValidate="txtPartNo"></asp:RequiredFieldValidator>
                                                    <asp:CustomValidator runat="server" ID="cvPartNo" ValidationGroup="Part" ErrorMessage="###" ClientValidationFunction="ValidatePartNo"></asp:CustomValidator>
                                                </td>

Here is the javascript
 function ValidatePartNo(Source, args) {alert('hi');
                var grid = $find("<%= rgPartsInfo.ClientID %>");
alert(grid.get_masterTableView().get_dataItems()[0]);
}

Thank You,
bhavana
Princy
Top achievements
Rank 2
 answered on 21 Jun 2013
1 answer
80 views
I have a radgrid and i want to sort a column based on the value of a custom DropDownList.
The problem here is that the ddl is shown 2 times (example in attachment). After a Postback there is only 1.

I've added the custom ddl like this:

<telerik:GridBoundColumn DataField="ClientName" UniqueName="ClientName" >
    <FilterTemplate>
        <uc:SearchOrganisationRole runat="server" ID="ucSearchOrgRole" />
   </FilterTemplate>
</telerik:GridBoundColumn>

Greetings
Joost
Eyup
Telerik team
 answered on 21 Jun 2013
1 answer
195 views
Hi,

I just wonder if telerik have any timeline type of control (e.g http://timeglider.com/widget/index.php)? 

regards,
CH
Plamen
Telerik team
 answered on 21 Jun 2013
1 answer
60 views
I have a .net 3.5 application that is using Iframe. It has 3 panes, top pane, left pane and right pane. The left pane has viewable PDF document and the right pane is some data with the Grid. when the page is loaded every time the left pane, right pane is adjusted to the same height. Recently i started using Telerik controls and I have a grid with nested grid and tabs. I am using AjaxUpdatedControl with all the telerik controls. when the page is viewed for the first time the grid is not expandable and  the left pane and right pane heights are the same. Now the problem is when the right Pane ( nested grid) is expanded the left pane height is not adjusted. i tried firing javascript to get the length of the right pane and adjust to the left pane but it doesn't work. I tried to put javascript in item_Created event of the nested grid to increase the height of the left pane but the javascript is not fired when the expanedpanel is clicked. it is only fired for the first time. I really want to get this fixed. Please help me to resolve this issue

Thanks
Vasavi
Maria Ilieva
Telerik team
 answered on 21 Jun 2013
1 answer
97 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
259 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
164 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
131 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
567 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?