Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
267 views
Hi

I have a RadNumericTextBox in  a ListView. II'm trying to conditionally set the RadNumericTextBox's Type from Number to Percent when binding the ListView.

I was trying something like this, with no success. Anybody any ideas.

<telerik:RadListView ID="lvCover"  runat="server" Width="95%" DataKeyNames="Id"
    ItemPlaceholderID="TempContainer"  AllowPaging="false" >
    <LayoutTemplate>
        <asp:PlaceHolder ID="TempContainer" runat="server"></asp:PlaceHolder
    </LayoutTemplate>
    <ItemTemplate>
        <div>
            <table style="width:100%">                               
                <tr>    
                    <td style="width:50%; text-align:left">
                        <%#Eval("CoverType.Description")%>
                    </td>
                    <td style="width:50%; text-align:left">
                        <telerik:RadNumericTextBox ID="txtRate" runat="server"  MaxLength="7"
                            Type='<%#Eval("CoverType.Code") == "NCB" ? Telerik.Web.UI.NumericType.Number : Telerik.Web.UI.NumericType.Percent %>'
                            Text='<%#Eval("Rate")%>'>
                            <NegativeStyle Resize="None" />
                            <NumberFormat DecimalDigits="3" ZeroPattern="n" />
                            <EmptyMessageStyle Resize="None" />
                            <ReadOnlyStyle Resize="None" />
                        </telerik:RadNumericTextBox>
                    </td>
                </tr
            </table>
        </div>
    </ItemTemplate>
</telerik:RadListView>
Nick
Top achievements
Rank 1
 answered on 07 Feb 2014
3 answers
148 views
Is there a way to just show folders?  We are trying to use the file explorer for users to select the folder they want to save into.  We don't want them picking accidentally .pdf file to save into.

Thanks!
Aravind
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 07 Feb 2014
1 answer
370 views
While I have been trying to set the text box height of RadCombobox, I found a forum link to set it by the below styles


<style type="text/css">  
div.RadComboBox_Default table .rcbInputCell, 
div.RadComboBox_Default table .rcbArrowCell  
{  
    background-color: red;  
    height: 35px;   
    line-height: 34px; 
    padding: 0; 
}  
 
div.RadComboBox_Default table .rcbInputCell input 

    height: 35px; 
    line-height: 34px; 
    font:15px arial,verdana,sans-serif; 
    height: 35px; 
    padding: 0; 

.rcbInput 

    height: 35px !important; 

</style> 

However, the result is undesirable. Please find the attached image.
Can you help me in setting the height of rad combo box.
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2014
2 answers
1.5K+ views
Hai Everyone
   Is it possible to select folder and show in textbox in asp.net.like windows application Dialog box is available it can use to select the folder.Like that any control in Telerik to select the folder form C:,D:,E:,F;.... and show in folder path in textbox ?

Note: can load structure in treeview,like get directory and folder structure in treeview in windows application.

Pls reply me asap
 Regards
    Aravind
Aravind
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 07 Feb 2014
3 answers
147 views
the org chart has mostly everything i need except for one. i have a special requirement to overlay nodes or to be specific one individuals node on top of another individual's node, we require this for showing our coverage feature.

can this be don't with the org chart and if so any sample code at all?
Kate
Telerik team
 answered on 07 Feb 2014
1 answer
102 views
Hello, 

I would like a button "Create ..." RadWindow as a CommandItemTemplate on top. When the user clicks the button, I'd like to open a RadWindow as a dialog to ask the user what kind of "Create" wants to perform (Create1, Create2, Create3, ...). Is it possible to generate different CommandNames based on the response of RadWindow. How can this be achieved? Of course, you could create N different as CommandItemTemplate buttons, each with a different CommandName, but I prefer to show the dialog. I would appreciate any suggestions. 

thank you very much



Eyup
Telerik team
 answered on 07 Feb 2014
1 answer
89 views
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx


I want to implement the grid check box which is used in above link but there is a problem of datatype of that discontinued coloumn..please tell me which data type is used when a boolean value is passed?
Kostadin
Telerik team
 answered on 07 Feb 2014
6 answers
118 views
Hello... does the MediaPlayer support the native underlying HTML5 video tag properties / methods?

In particular, I am interested in playing a video with multiple audio tracks. The HTML5 spec outlines this (via audioTrackList), but it seems to be only implemented by IE 10/11 at the moment. In IE 10 or 11, if you load a video with multiple audio tracks, you get an audio selection menu / toolbar item. I don't specifically need this toolbar item, but I would like to be able to a) see if there are multiple audio tracks, and b) programmatic-ally set which one to play.

Thanks,
-Brian
Radoslav
Telerik team
 answered on 07 Feb 2014
1 answer
81 views
Drop downs appear all over when
called from the dropdown that is made (add new content button). This can be
fixed with the line  “<meta
http-equiv="X-UA-Compatible" content="IE=edge" >”
forcing browsers to use more modern standards.

Problem is by doing this
fix it causes ie8 to throw errors on the original dynamically populated
dropdown. When clicking an option within dropdown it causes error of: “cant
move focus to the control because it is invisible, not enabled, or of a type
that does not accept focus” error. (error and place in control of error is
attached, it is fine until this point and seems to error here with no
explanation why and acts the same up until this point when both ie8 and ie10
despite ie10 working.)
Boyan Dimitrov
Telerik team
 answered on 07 Feb 2014
1 answer
43 views
The calendar problem where in
compatibility mode, due to using ie7 version of looking at code (once we go to
ie8 standards it fine) the day and date appear below where they should be, and
refresh and other buttons have been shifted along. Only styles being applied
here are telerik ones. (below shows Monday cut off and on wrong line ie10
compat but works in standards)
Plamen
Telerik team
 answered on 07 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?