Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
183 views
Hi, based on some info stored in the object bound to the radgrid row, I would like to display a different edit form. 

The forms are in ascx user controls. Can I change the TemplateControl onitemcreated? I have only seen examples of doing the on page load or init. 




David
Top achievements
Rank 1
 answered on 21 Jun 2013
1 answer
91 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
674 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
67 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
144 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
47 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
72 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
211 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
120 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
103 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?