Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
127 views
I have been hiding columns in my radgid in lots of pages and accessing their data after postback.
Now this is no longer possible thanks to the breaking change  introduced for the sake of performance.
How can such a drastic step be taken without giving a fallback mechanism?
I have a very huge web application consisting of more than 500 aspx pages.
Nearly 70 % of the pages use radgrid.
I find the solution to use display false as unacceptable, as it still generates hidden markup(read decreased "PERFORMANCE")
Also it will affect the javascript interacting with the grid to read cell values client side.
I urgently need a solution for this.Rolling back to previous version is not an option for me because i need the latest telerik updates for other parts of my project.

Waiting impatiently....


Radoslav
Telerik team
 answered on 20 May 2013
2 answers
109 views
Hi,

I have a ButtonColumn into a RadGrid with WCF client binding and I have activated the EnablePostBackOnRowClick, but the event doesn't fire when I click the button. What am i doing wrong? Thank you.

This is the event handler into the .cs file:
protected void ColEditar_Click(object sender, EventArgs e)
        {
            //Event code goes here
        }


I also got a RadAjaxManager:
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RgNoticias">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RgNoticias"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>


And finally, my grid code:
<telerik:RadGrid ID="RgNoticias" runat="server" AllowPaging="True" AllowSorting="True"
    PageSize="10"  AutoGenerateColumns="False"
    GridLines="None"    
        EnableViewState="False">
        <MasterTableView >
            <Columns>
                <telerik:GridButtonColumn UniqueName="ColEditar" CommandName="ColEditar_Click" Text="Editar">
                </telerik:GridButtonColumn>               
            </Columns>
            <SortExpressions >
                <telerik:GridSortExpression FieldName="FechaAlta" SortOrder="Descending" />
            </SortExpressions>
        </MasterTableView>
 
    <ClientSettings EnablePostBackOnRowClick="true">
        <DataBinding SelectMethod="ObtenerNoticias"  Location="http://localhost/service.svc/rest/"
        sortparametertype="Linq" filterparametertype="Linq">
        </DataBinding>
    </ClientSettings>
    </telerik:RadGrid>
Daniel
Top achievements
Rank 1
 answered on 20 May 2013
2 answers
177 views
Hi,

We have used two individual grids to display data which looks like single grid on the page but behind the scene, these are two individual grids. Now the problem is, we want to export the entire data displayed in the UI but we can only export one grid at a time.

Is there any way, we can pass two grids as an input to the ExportToPdf() function to export at the same time in the same file?

Waiting for your earliest reply on this.
Princy
Top achievements
Rank 2
 answered on 20 May 2013
1 answer
77 views
 Hello,

I want to Edit popup form through non radgrid button as shown in Image
any suggestion.

Regards
Amit
Shinu
Top achievements
Rank 2
 answered on 20 May 2013
3 answers
145 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
528 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
73 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
618 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
214 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
103 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
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?