Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
151 views
Hi All,
I have upgraded my application from 2.0 framework to 4.0 framework. I am facing some issues in ajax controls do  Telerik.web.uri.dll version 2010.1.519.20 supports .net 4.0 framework.Also i am using RadAjax.Net2.dll, RadCalendar.Net2.dll, RadGrid.Net2.dll, RadTabStrip.Net2.dll and RadUpload.Net2.dll do these dlls to be upgraded to work in .net 4.0 framework.   PLease suggest.
Kostadin
Telerik team
 answered on 25 Apr 2013
1 answer
491 views
Hi Guys. I have the next problem.

I have I radgrid declared as follows
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" CellSpacing="0"
            GridLines="None" AllowPaging="True" OnNeedDataSource="RadGrid1_NeedDataSource"
            Skin="WebBlue" OnDeleteCommand="RadGrid1_DeleteCommand" OnInsertCommand="RadGrid1_InsertCommand"
            OnUpdateCommand="RadGrid1_UpdateCommand" ShowFooter="True" OnItemDataBound="RadGrid1_ItemDataBound" Culture="es-MX" OnItemCommand="RadGrid1_ItemCommand">
            <MasterTableView CommandItemSettings-AddNewRecordText="Agregar registro" CommandItemDisplay="None"
                Caption="Cierre de Nóminas" DataKeyNames="fiEjercicio,fiQnaPago" AllowMultiColumnSorting="False" NoMasterRecordsText="No hay registros para mostrar">
                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    
                    <telerik:GridNumericColumn DataField="fiEjercicio" DecimalDigits="2" FilterControlAltText="Filter fiEjercicio column"
                        HeaderText="Ejercicio" UniqueName="fiEjercicio">
                    </telerik:GridNumericColumn>
                    <telerik:GridNumericColumn DataField="fiQnaPago" DecimalDigits="2" FilterControlAltText="Filter fiQuincena column"
                        HeaderText="Quincena" UniqueName="fiQnaPago">
                    </telerik:GridNumericColumn>
                     <telerik:GridNumericColumn DataField="nom_edo" DecimalDigits="2" FilterControlAltText="Filter nom_edo column"
                        HeaderText="Estado" UniqueName="nom_edo">
                    </telerik:GridNumericColumn>
                      <telerik:GridNumericColumn DataField="nom_cd" DecimalDigits="2" FilterControlAltText="Filter nom_cd column"
                        HeaderText="Ciudad" UniqueName="nom_cd">
                    </telerik:GridNumericColumn>
                      <telerik:GridNumericColumn DataField="expedientes" DecimalDigits="2" FilterControlAltText="Filter expedientes column"
                        HeaderText="# de Servidores Públicos" UniqueName="expedientes">
                    </telerik:GridNumericColumn>
                      <telerik:GridNumericColumn DataField="percecpciones" DecimalDigits="2" FilterControlAltText="Filter percecpciones column"
                        HeaderText="Total Percepciones" UniqueName="percecpciones">
                    </telerik:GridNumericColumn>
                      <telerik:GridNumericColumn DataField="deducciones" DecimalDigits="2" FilterControlAltText="Filter deducciones column"
                        HeaderText="Total Deducciones" UniqueName="deducciones" >
                    </telerik:GridNumericColumn>
                     <telerik:GridNumericColumn DataField="liquido" DecimalDigits="2" FilterControlAltText="Filter liquido column"
                        HeaderText="Total Liquido" UniqueName="liquido">
                    </telerik:GridNumericColumn>
                  
                    <telerik:GridBoundColumn FilterControlAltText="Filter column column" UniqueName="estatus" HeaderText="Estatus" DataField="fcDescEdo">
                    </telerik:GridBoundColumn>
                     
                       <telerik:GridBoundColumn FilterControlAltText="Filter column column" UniqueName="estatusCalc" HeaderText="EstatusCalc" Visible="False" DataField="fcDescEdoCalc">
                    </telerik:GridBoundColumn>
                  
                    <telerik:GridButtonColumn ButtonType="ImageButton" FilterControlAltText="Filter detalle column" HeaderText="Ver Detalle" UniqueName="detalle" CommandName="detalle" ImageUrl="~/_images/iconos/detalle.png">
                    </telerik:GridButtonColumn>
                    <telerik:GridButtonColumn ButtonType="ImageButton" FilterControlAltText="Filter cierre column" HeaderText="Cierre" UniqueName="cierre" CommandName="cierre" ImageUrl="~/_images/iconos/lock.png">
                    </telerik:GridButtonColumn>
                     
                     <telerik:GridButtonColumn ButtonType="ImageButton" FilterControlAltText="Filter cierre column" HeaderText="Generar Acumulados" UniqueName="acumulados" CommandName="acumulados" ImageUrl="~/_images/iconos/acumulados.png">
                         <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                         <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    </telerik:GridButtonColumn>
                     
                 
                  
                </Columns>
                <EditFormSettings UserControlName="ucEditaCalendario.ascx" EditFormType="WebUserControl">
                    <EditColumn UniqueName="EditCommandColumn1">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>
            <StatusBarSettings LoadingText="Cargando..." />
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
            </HeaderContextMenu>
        </telerik:RadGrid>

I'm using radajaxmanager to update the grid when one of the button columns defined on the grid is pushed.
When one of the button is pushed I show a radConfirm so that the user confirms or cancel the operation.
If user confirms, on RadAjaxManager1_AjaxRequest event I call a stored procedure to perform the update of information, while the proccess is being  a radloadingpanel is shown, the problem is that if I execute the SP dicertly through SQL server the proccess takes almost 6 minutes due to the amount of information that is proccessed, but when I execute the store through ajax_request event, the proccess is finished in about 2 minutes.
How can I handle this request time, I try changing executionTimeout on web.config with no success.

Hope your help
Cristian.
Tsvetoslav
Telerik team
 answered on 25 Apr 2013
2 answers
101 views
The date picker calendar loads in random place. Not under the date picker control. Works fine with other browsers firefox, chrome. but having this issue in IE 9

may be our own styles inherit the calendar. Is there any fix for this?

Thanks
Galin
Telerik team
 answered on 25 Apr 2013
5 answers
149 views
hi ,
   Currently i had developed a web page,if my web page is  viewed by in some other system some alignment are missing and if we view it in a small moniter alingment are totally get collapsed............................can any one suggest me how to solve this major issue ...................
                                    thanks
Gokul
Top achievements
Rank 1
 answered on 25 Apr 2013
1 answer
66 views
I am opening a window from client side using radopen method. I am setting the openerelementid as the button's id. I want some server side actions to be done..but server click event is not firing.Any suggestions?
Shinu
Top achievements
Rank 2
 answered on 25 Apr 2013
2 answers
121 views
Hi ,
I have a radchart,

  <PlotArea>
                            <XAxis AutoScale="false">
                            </XAxis>
                            <YAxis AutoScale="false" MinValue="1" MaxValue="5" Step="0.2"     >
                            <AxisLabel><Appearance  Dimensions-Margins="5"></Appearance></AxisLabel>
                            </YAxis>
                        </PlotArea>

I don t want to show  "1,2","1,4".. values on y axis,  only "1","2","3"... But step valu must be 0,2. How can i do this?

Duygu
Top achievements
Rank 1
 answered on 25 Apr 2013
4 answers
105 views
We're finding that old code that ran in the  OnRowMouseOver event is now not working on iPads.  From what I understand, that event should be fired when the area is touched vs. hovered, and that's not happening now.

We recently upgraded to the latest version from a 2012 version and the problem was brought to our attention by users using iPads.

Can you confirm that this event should in fact fire for touch devices (like the iPad)?  Are there any known issues related to this?
DonKitchen
Top achievements
Rank 1
 answered on 25 Apr 2013
3 answers
279 views
Good morning,

This is not an issue but more asking for advice . . .

I have a RadGrid with several GridTemplateColumns that contain a label.  In the code-behind page's RadGrid_ItemDataBound event, I have some logic that will set the text of this label based on several conditions, such as this:

Protected Sub rgStoresMissingFiles_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles rgStoresMissingFiles.ItemDataBound
    If e.Item.ItemType = Telerik.Web.UI.GridItemType.Item Or e.Item.ItemType = Telerik.Web.UI.GridItemType.AlternatingItem Then
        Dim lblConnectionStatus As Label = e.Item.FindControl("lblConnectionStatus")
        Dim lblNextPollTime As Label = e.Item.FindControl("lblNextPollTime")
        Dim lblLastConnectTime As Label = e.Item.FindControl("lblLastConnectTime")
        Dim warningcolor As Drawing.Color = Drawing.Color.FromArgb(244, 244, 185)
        Dim errorcolor As Drawing.Color = Drawing.Color.FromArgb(253, 125, 249)
 
        With e.Item.DataItem
            Dim strLastConnectTime As String = CType(e.Item.DataItem("last_connect_time"), DateTime).ToString("hh:mm tt")
            Dim strNextConnectTime As String = CType(e.Item.DataItem("poll_now_time"), DateTime).ToString("hh:mm tt")
 
            If e.Item.DataItem("currently_polling") Then
                lblConnectionStatus.Text = "Currently polling"
            ElseIf e.Item.DataItem("last_connect_time") > Now().ToShortDateString Then
                lblLastConnectTime.Text = strLastConnectTime
                Select Case e.Item.DataItem("last_connect_status_id")
                    Case 3 ' NoConnect
                        lblConnectionStatus.Text = "Unable to connect to store"
                        lblNextPollTime.Text = "Queued"
                        e.Item.BackColor = errorcolor
                    Case 2 ' ConnectNoData
                        lblConnectionStatus.Text = "Potential line problem"
                        lblNextPollTime.Text = strNextConnectTime
                        e.Item.BackColor = errorcolor
                    Case 1 ' ConnectWithData
                        If e.Item.DataItem("count_staged_archives") > 0 Then
                            lblConnectionStatus.Text = "Data polled"
                            lblNextPollTime.Text = "Data staged"
                        ElseIf e.Item.DataItem("count_staged_archives") = 0 And e.Item.DataItem("count_loaded_archives") > 0 Then
                            lblConnectionStatus.Text = "Connected, missing data"
                            lblNextPollTime.Text = strNextConnectTime
                            e.Item.BackColor = warningcolor
                        End If
                End Select
            ElseIf e.Item.DataItem("poll_now") Then
                lblConnectionStatus.Text = "Staged for first poll"
                lblNextPollTime.Text = strNextConnectTime
                lblLastConnectTime.Text = "N/A"
            Else
                lblConnectionStatus.Text = "Staged for first poll"
                lblNextPollTime.Text = "Queued"
                lblLastConnectTime.Text = "N/A"
            End If
        End With
 
    End If
End Sub

I would like for my users to be able to sort on these GridTemplateColumns but not sure how to do this.  There is no single field in the datasource I can use for the sort, as you can see above, the values shown in the columns are dependent on several columns.

How can I get the RadGrid to sort on the actual value shown in the column?
Andrey
Telerik team
 answered on 25 Apr 2013
1 answer
203 views
Hi
How can I give color to command item template. thanks for your help
Savyo
Princy
Top achievements
Rank 2
 answered on 25 Apr 2013
1 answer
74 views
Hi
     How can I highlight a row on link button click of that row?? Please share some ideas..
thanks in advance
Allen
Princy
Top achievements
Rank 2
 answered on 25 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?