Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
122 views
Hi Team ,

I am trying to set up group by experssion from code behind , When I set Count as Aggregate fucntion on bound column I am getting below error

Input string was not in a correct format.Couldn't store <Value> in Column.  Expected type is Decimal.

Below is the Code I am using , can you please suggest how to proceed further 

 GridGroupByExpression expression = new GridGroupByExpression();
                GridGroupByField gridGroupByField = new GridGroupByField();
                gridGroupByField.FieldName = "<BoundColumnName>";
                gridGroupByField.HeaderText = "<HeaderText> ";
                gridGroupByField.HeaderValueSeparator = "";
                gridGroupByField.FormatString = "<strong>{0:0.00}</strong>";
                gridGroupByField.Aggregate = GridAggregateFunction.Count;
                expression.SelectFields.Add(gridGroupByField);

Thanks in advance .
Princy
Top achievements
Rank 2
 answered on 20 May 2013
13 answers
498 views
Dear Telerik Team,

I want to display image on top left corner of the column in addition to normal text in the same column.
requesting your help on the same.

thanks and regards
Palanivelrajan
Princy
Top achievements
Rank 2
 answered on 20 May 2013
1 answer
63 views
When the user edits the detail record inline in the Detail Table view - we want to get the new values entered by the user in the detail columns and save it to the database. We want to know how do we access the particular edited detail row and the column values from the DetailView of the master - detail grid. Any suggestions much appreciated ??
Princy
Top achievements
Rank 2
 answered on 20 May 2013
1 answer
589 views
Im using the metro skin for my dropdownlist but the font size is way too big, how can I change the size ?
Princy
Top achievements
Rank 2
 answered on 20 May 2013
10 answers
187 views
Hello,

I'm very new to ASP.Net and RadControls for ASP.Net.
I'm creating a web application intended to help the user building a SQL Query for a given table. The user needs to specify filters for the query for a set of pre-selected fields.
I decided to use a RadGridView for letting the user entering this information. Each row represents a filter, and those filters include a comparison operator and a value to compare against it.
I have already managed for populating a dropdown column dinamically with the possible set of operators one could apply for each field depending on it's data type. Now I'd like to be able to decide at runtime for each row what editor to use (depending on the field's data type too) for letting the user enter the value. Please note that when I talk about a field I'm talking about it's logical representation: a row, not a column.
Is it possible at all? Any help will be very apreciated.
Thanks in advance,

Gonzalo
gmendez
Top achievements
Rank 1
 answered on 20 May 2013
3 answers
94 views
Hi,

i need to export data from RadGrid to Excel, I have set the RadGrid accordingly to the scenario in demo examples, but I am getting a really wierd excel file (see image attached).

Any idea what could cause such a behaviour?

Thanks,

P.
Patrik
Top achievements
Rank 1
 answered on 19 May 2013
4 answers
121 views
I am doing manual editing. How can I close the insert template if I select edit and close the edit template if I select insert?

Thanks, Marty
moegal
Top achievements
Rank 1
 answered on 19 May 2013
5 answers
569 views
Hello Everyone!

I have a radtreeview which I want to select/highlight Parent when child node is clicked. It doesn't mater if it's going to be done via client-side (JS and change the parent's css and highlight it?) or server-side (select the parent node which in effect highlights it)

Is it possible?

Thanks!
abdulmajeed
Top achievements
Rank 1
 answered on 19 May 2013
4 answers
541 views
Hi,

Please help me in achieving following

1) I need to automatically sum some columns in the footer row of the exported grid.

2) Need to add some text to the exported report in the form of notes which are passed in.(Excel.pdf,word)

Is there any ways to do these.
(Also, in my radgrid pdf export is not working. The exported pdf contains no data.All the other exporting is perfectly working.)

Thanks in advance
Ajith.
Kvasov Dmitry
Top achievements
Rank 1
 answered on 19 May 2013
1 answer
274 views
I am having a problem with my RadDatePicker on my page.  Seems to be consistent across all browsers.  The problem is this; it works fine the first time.  However, if i immediately select the RadDatePicker again, without refreshing the page or navigating to another page and then coming back, it disables all of the previous dates from the date i had picked.  So for example, if I pick todays date in the date picker 5/17/2013..... and then run my report ( my page runs a report) and then i immediately go and try to pick another date off of the date picker, all of the dates previous to 5/17/2013 are grayed out and disabled.   Please any help would be great!!!  This is frustrating.  I have not set the minimum date, seems to me it should work "out of the box" so to speak.  I have attached some screen shots too.. also below is my code.... thanks

<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
        </telerik:RadScriptManager>
    
        <br />
        <br />
    
    </div>
    <table style="width:100%;">
        <tr>
            <td colspan="3" style="text-align: center">
    
                <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
                </telerik:RadWindowManager>
    
        <asp:Label ID="lblHeader" runat="server" 
            Text="Show all batches from given recipe by Make Date" 
                    style="text-align: center; font-size: xx-large"></asp:Label>
    
            </td>
        </tr>
        <tr>
            <td colspan="3" style="text-align: center">
    
                   <uc1:hdrMenu ID="hdrMenu1" runat="server" />

            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="77px" 
                    style="margin-top: 0px" width="568px">
                    <telerik:RadComboBox ID="cbxRecipe" Runat="server" DataSourceID="dsRecipe" 
                   Height="600px" Width="250px" EnableLoadOnDemand="true"
                            DropDownWidth="249px" 
    EmptyMessage="Select a Recipe" HighlightTemplatedItems="true"
                 EnableAutomaticLoadOnDemand="True" 
                    DataTextField="RecipeCode" DataValueField="RecipeCode" 
                    AutoPostBack="True"  >
                        <HeaderTemplate>
                            <table style="width: 249px" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td style="width: 40px;">
                                        Recipe</td>
                                    <td style="width: 149px;">
                                        Description</td>
                                </tr>
                            </table>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <table style="width: 249px" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td style="width: 40px;">
                                        <%# DataBinder.Eval(Container.DataItem, "RecipeCode")%>
                                    </td>
                                    <td style="width: 149px;">
                                        <%# DataBinder.Eval(Container.DataItem, "Recipe")%>
                                    </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </telerik:RadComboBox>
                    <asp:SqlDataSource ID="dsRecipe" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:oCon_Riverside %>" SelectCommand="select RecipeCode, Recipe
from [dbo].[CCFIProduction_recipe]
Order by RecipeCode "></asp:SqlDataSource>
                    <br />
                    <br />
                    <asp:Label ID="LblMkDate" runat="server" Text="Select Make Date:"></asp:Label>
                    <telerik:RadDatePicker ID="RadDatePicker1" Runat="server" AutoPostBack="True" 
                        Culture="en-US">
                        <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False">
                        </Calendar>
                        <DateInput AutoPostBack="True" DateFormat="M/d/yyyy" 
                            DisplayDateFormat="M/d/yyyy" LabelWidth="40%">
                        </DateInput>
                        <DatePopupButton HoverImageUrl="" ImageUrl="" />
                    </telerik:RadDatePicker>
                </telerik:RadAjaxPanel>

Edward
Top achievements
Rank 1
 answered on 19 May 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?