Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
237 views
I've got a radgrid that highlights a row on hover and allows me to postback when I click on a row. However, the highlighting is really weird in the case where one of the rows has enough content in a cell to require it to wrap two two or more lines. The top line is tinted and the remaining lines in the row have a bright red background color.

I have tried EnableAlternatingItems="false"  with no difference.

Thanks,

Jason Halstead
Princy
Top achievements
Rank 2
 answered on 06 Sep 2013
1 answer
107 views
Actually this Grid is place inside a Tab. First time when page appears this height in % works perfect but after Window refresh it will lost its height and scroll detached from bottom. Sample attached. Issue is only in IE10.
Konstantin Dikov
Telerik team
 answered on 06 Sep 2013
0 answers
60 views
In our application we have functionality that when user double click on any row of Rad-grid then that row become in editable mode. so now we have requirement that when user double click on a specific column of that row then after coming in editable mode that control must be auto focused.
So i need the value of cell on which it is double clicked to set the focus on that control when that row comes in editable mode. So is there any event of Rad-grid which provides this functionality.

Any suggestion will be helpful.

In my attached image if i double click on row's RateType column then the RateType Drop Down which comes in editable mode must be auto focused.
Himanshu
Top achievements
Rank 1
 asked on 06 Sep 2013
1 answer
127 views
I have the below line in my header template of radpanelbar.
<td style="text-align: right"><span class="rpExpandHandle" style="cursor: pointer;"></span></td>
I want to capture this expand collapse event from onclientitemclicking function.
On expanding/collapsing i want to prompt the user. How can i achieve this.
Peter Filipov
Telerik team
 answered on 06 Sep 2013
3 answers
349 views
Hi,
Can we restrict a window close event? It should show a alert message and not close the window.





Thanks
Shinu
Top achievements
Rank 2
 answered on 06 Sep 2013
4 answers
82 views
Hi

The file filtering in File Open dialog is working in IE only and in other browser it list all the files. Why this is happening? Any solution?
Shinu
Top achievements
Rank 2
 answered on 06 Sep 2013
3 answers
551 views
Hi,

Is there any way through JavaScript to detect if a row is selected using left click or right click? When a row is right clicked, it is first selected and immediately the context menu is fired.
If a row is left clicked, it is selected, and right clicking on the selected row fires the context menu. I need to distinguish between the two.


Regards,
Ali.
Ali
Top achievements
Rank 1
 answered on 06 Sep 2013
3 answers
153 views
There is a radgrid in my web application and I am displaying its edit form a user control. The grid edit form has an upload control to upload files. All were working fine when I run this application from localhost and once this application is moved to IIS7 on the windows server 2008 production server, the upload is not working. Everything works fine if I edit without upload a file. If I upload a file and try to save the edit form, IE displays it cannot find display the page and MF says that the connection has been reset.

Not sure what is causing this issue with the same application on IIS.
Senthil
Shinu
Top achievements
Rank 2
 answered on 06 Sep 2013
1 answer
116 views
Good afternoon stoy trying to access the data of a hidden column in the event rowdrop, but the value displayed is ""
<telerik:RadGrid ID="GrdDetalleHorario" runat="server" AllowMultiRowSelection="true"
                                AutoGenerateColumns="False" GridLines="None" Width="240px">
                                <AlternatingItemStyle />
                                <ItemStyle />
                                <MasterTableView>
                                    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                                    <RowIndicatorColumn>
                                        <HeaderStyle Width="20px"></HeaderStyle>
                                    </RowIndicatorColumn>
                                    <ExpandCollapseColumn>
                                        <HeaderStyle Width="20px"></HeaderStyle>
                                    </ExpandCollapseColumn>
                                    <Columns>
                                        <telerik:GridBoundColumn Visible="false" DataField="HorarioDetalleID" HeaderText="Codigo"
                                            UniqueName="HorarioDetalleID" >
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn Visible="false" DataField="HorarioID" HeaderText="HorarioID"
                                            UniqueName="HorarioID" >
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn ItemStyle-Width="10px" DataField="HoraInicio" HeaderText="H. Ini."
                                            UniqueName="HoraInicio">
                                            <ItemStyle Width="10px"></ItemStyle>
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn ItemStyle-Width="10px" DataField="HoraFinal" HeaderText="H. Fin"
                                            UniqueName="HoraFinal">
                                            <ItemStyle Width="10px"></ItemStyle>
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn Visible="false" ItemStyle-Width="10px" DataField="Flag"
                                            HeaderText="Receso" UniqueName="Flag">
                                            <ItemStyle Width="10px"></ItemStyle>
                                        </telerik:GridBoundColumn>
                                    </Columns>
                                    <EditFormSettings>
                                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                        </EditColumn>
                                    </EditFormSettings>
                                    <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
                                </MasterTableView>
                                <FilterMenu EnableImageSprites="False">
                                </FilterMenu>
                                <HeaderStyle BackColor="#D7FFFA" HorizontalAlign="Center" />
                                <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
                                <ClientSettings AllowRowsDragDrop="True">
                                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />
                                    <%--<ClientEvents OnRowDropping="onRowDropping" />--%>
                                </ClientSettings>
                            </telerik:RadGrid>
the code is as follows:
Protected Sub GrdDetalleHorario_RowDrop(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridDragDropEventArgs) Handles GrdDetalleHorario.RowDrop
        If String.IsNullOrEmpty(e.HtmlElement) Then
            Dim CursoSemestre As Curso_Presupuesto = oCurso_Presupuesto.ObtenerCursos_SemestreIDPrueba(Session("IDACA"))
            For Each oRowItem As GridDataItem In e.DraggedItems
                Dim ohorarioDetalleID As Integer = oRowItem.Item("HorarioDetalleID").Text  'Here the return value is " "
                Dim oHorarioID As Integer = oRowItem.Item("HorarioID").Text 'Here the return value is " "
                Dim oHoraInicio As String = oRowItem.Item("HoraInicio").Text
Princy
Top achievements
Rank 2
 answered on 06 Sep 2013
4 answers
216 views
Hi,

I have a RadPageView with several RadGrid controls on each page. I am trying to accomplish a few things:

1. Add a CommandItem button but still have the default "refresh" button as well as have the buttons created from CommandItemSettings-AddNewRecordText and ShowExportToPdfButton. Defining a CommandItemTemplate removes these buttons.

2. I want to Hijack the functionality of the CommandItem button created by ShowExportToPdfButton and call my own PDF export method/handler.

3. Since there will be many Grids, how can I hijack each grid's ShowExportToPdfButton and identify which grid to export from the same export method?

Basically, I want a generic way to hijack each Grid's ShowExportToPdfButton or insert into each grid's CommandItem bar a generic exportPDF button that I define.

An add on question is how to find the width of each visible column that is to be exported so that I can set the grid.ExportSettings.Pdf.PageWidth accordingly.

Thanks for any advice.
kernelk
Top achievements
Rank 1
 answered on 06 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?