Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
378 views
Hi Y'all there!

I'm developing some not complex website and I was using ASP.Net standard buttons to have my actions. Then I needed to underline and bold button access keys on the buttons text When I found Telerik Radcontrols and I realized I could use Image Backgrounds on buttons, so I used that option to achieve my goal but Access Key stopped working and Web Browsers detect Alt key as part of their menu shortcuts instead my webform elements.I don't need to place text on the button because image represents bold and underlined
text.

<telerik:RadButton ID="btnAlta" runat="server" ToolTip="Alt + A" Width="102px" Enabled="false" height="19px" AccessKey="A" >
      <Image ImageUrl="images/btnAlta.png"  IsBackgroundImage="true" />
</telerik:RadButton>



I'm using Firefox 4.0b12
Microsoft Internet Explorer 8.0.7600.16385

Thanks in advance for any help provided on this issue.
Slav
Telerik team
 answered on 27 Jun 2012
5 answers
129 views
I have implemented rad window in my user control, put in an aspx page.I have master page for all my aspx pages. I need to check some condition in database every 1 minute.So  I have done a AsyncPostBack using a timer and update panel using the code below

<asp:Timer ID="Timer1" runat="server" Interval="3500" OnTick="Timer1_Tick">
    </asp:Timer>
    
     <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
        </Triggers>
        <ContentTemplate>
<div style="position: fixed; left: 50%; bottom:0px; width: 300px; margin-left: 168px; display: block;">
</div>  
          </ContentTemplate>
    </asp:UpdatePanel>
If i open a rad window, because of the refresh in the master page, the rad window in the user control is getting disappeared.
so could you please suggest a solution to get rid from this dilemma
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 27 Jun 2012
3 answers
94 views
Hello, I have a problem when exporting a radgrid to a PDF.
Queria 2 radgrid export PDF to a spreadsheet, reading the forum found a method where the 2 radgrid inserted in a third radgrid itemtemplate. One of those 2 is inserted radgrid hierarchy (detail).

The deal to export the third radgrid throws me the following error:

System.NullReferenceException: Object reference not set to an instance of an object.
  at Telerik.Web.Apoc.Render.Pdf.Fonts.Type2CIDSubsetFont.get_WArray()
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.CreateCIDFont(String pdfFontID, Font font, CIDFont cidFont)
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.MakeFont(String pdfFontID, Font font)
  at Telerik.Web.Apoc.Pdf.FontSetup.AddToResources(PdfFontCreator fontCreator, PdfResources resources)
  at Telerik.Web.Apoc.Render.Pdf.PdfRenderer.StopRenderer()
  at Telerik.Web.Apoc.StreamRenderer.StopRenderer()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)


This error comes when I have the radgrid with hierarchy, but if not radgrid hierarchy (ie both simple radgrid) I exported to PDF without problems.

I hope can help me.

File .aspx :

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="LiquidaManD2.aspx.vb" Inherits="CuentasXCobrar_LiquidaManD2" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title></title
    <style type="text/css"
 
         .style3 
         { 
             border-style: solid; 
             border-color: inherit; 
             border-width: 1px; 
             font: bold 12px verdana; 
             color: White; 
             background: #6787C0; 
             top: auto; 
             text-align: left; 
             height: 26px; 
             width: 400px; 
         } 
         .style4 
         { 
             border-style: solid; 
             border-color: inherit; 
             border-width: 1px; 
             font: bold 12px verdana; 
             color: White; 
             background: #DDDDDD; 
             top: auto; 
             text-align: left; 
             height: 38px; 
         } 
          
.bot_02  
    background: #D5E6FF;     
    font: bold 11px arial; 
    color: #445C7D; 
    text-decoration: none; 
    text-align:  center; 
        width: 56px; 
    } 
 
 
.fila_Page_Inter { 
    border-style: solid; 
    border-color: inherit; 
    border-width: 1px; 
    font: bold 12px verdana; 
    color: White; 
        background: #609FC9; 
        top: auto;   
    text-align:left; 
 
.texto03 
   background-color: #DDDDDD; 
    color: #6787C0; 
    font: bolder 11px tahoma; 
    text-align: right; 
    padding: 5px; 
    border: 0px; 
         .style1 
         { 
             background-color: #DDDDDD; 
             font: bold 10px verdana; 
             color: #6787C0; 
             text-align: right; 
             margin-bottom: 1px; 
             height: 22px; 
             margin-top: 0px; 
         } 
         .style2 
         { 
             height: 22px; 
         } 
             
 .style2 
        { 
            height: 0px; 
            vertical-align:bottom; 
        } 
         .style5 
         { 
             width: 99px; 
         } 
         .style6 
         { 
             width: 181px; 
         } 
         .style7 
         { 
             width: 118px; 
         } 
         .style8 
         { 
             width: 235px; 
         } 
         .style9 
         { 
             width: 126px; 
         } 
     
.fila_Page_Button { 
    font: bold 12px verdana; 
    color: White; 
    background: #DDDDDD; 
    top: auto;   
    text-align:left; 
    border: solid 1px; /*solid, outset*/ 
 
 
    </style> 
</head> 
<body> 
 
    <form id="form2" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server"
     
     
    </asp:ScriptManager>       
<table width="770" cellspacing="0" cellpadding="0" border="0"
<tr> 
<td> 
<table cellspacing="0" cellpadding="0" border="0"  
        width="100%"
        <tr> 
            <td class = "style3"
                Cuentas por Cobrar</td> 
        </tr> 
        <tr> 
        <td class = "style4" > 
            <asp:Button ID="btnSearch" runat="server" CssClass="bot_02" Text="Buscar"  
                Height="22px" /> 
            <asp:Button ID="btnGrabar" runat="server" CssClass="bot_02" Text="Grabar" /> 
            <asp:Button ID="btnEliminar" runat="server" CssClass="bot_02" Text="Eliminar"  
                Width="56px" /> 
            <asp:Button ID="btnImprimir" runat="server" CssClass="bot_02" Text="Imprimir" /> 
            <asp:Button ID="btnCerrar" runat="server" CssClass="bot_02" Text="Cerrar" /> 
             
        </td> 
        </tr> 
    </table> 
    <table cellspacing="0" cellpadding="0" border="0" width="100%"
    <tr> 
    <td class="fila_Page_Inter"
    
    </td> 
    </tr> 
    </table> 
     
    <table cellspacing="0" cellpadding="0" border="0" width="100%"
    <tr> 
    <td width="50%"
    <table cellpadding="0" cellspacing="0" border="0" width="100%"
    <tr> 
    <td width="20%" class="texto03"
        Edificio: 
    </td> 
    <td width="80%"
     
        &nbsp;</td> 
    </tr> 
     
    <tr> 
    <td width="20%" class="style1"
        Año: 
    </td> 
    <td width="80%" class="style2"
     
        &nbsp;</td> 
    </tr> 
     
    <tr> 
    <td width="20%" class="texto03"
        Mes: 
    </td> 
    <td width="80%"
     
        &nbsp;</td> 
    </tr> 
    </table> 
    </td> 
    <td width="50%"
     
    <table cellpadding="0" cellspacing="0" border="0" width="100%"
    <tr> 
    <td width="20%"
        <asp:Label ID="Label1" runat="server" Text="Label" Visible="False"></asp:Label> 
        </td> 
    <td width="80%"
     
        &nbsp;</td> 
    </tr> 
     
    <tr> 
    <td width="20%"
        </td> 
    <td width="80%"
     
        </td> 
    </tr> 
    </table> 
     
    </td> 
    </tr> 
    </table> 
     
    <table cellspacing="0" cellpadding="0" width="100%" border="0"
        <tr> 
            <td class="fila_Page_Inter" style="height:20px" colspan="6">Documentos requeridos para el Calculo</td> 
        </tr> 
                 
        <tr><td class="style5">         
            &nbsp;</td> 
            <td class="style6">         
                &nbsp;</td> 
            <td class="style7">         
                &nbsp;</td> 
            <td class="style8">         
                &nbsp;</td> 
            <td class="style9">         
                &nbsp;</td> 
            <td>         
                <telerik:RadNumericTextBox ID="RadNumericTextBox1" Runat="server" BackColor="#C3D5FD"  
                BorderColor="#FF3300" BorderStyle="Solid" ForeColor="#003366" Width="110px"
                <DisabledStyle Font-Bold="True" Font-Size="13pt" HorizontalAlign="Right" /> 
                </telerik:RadNumericTextBox> 
            </td> 
        </tr> 
        <tr> 
        <td align="right" class="fila_Page_Button" style="padding-left:5px;" colspan="6"
            <asp:Button ID="btnLiquidar" runat="server" CssClass="bot_02" Text="Liquidar" /> 
            </td> 
        </tr> 
        <tr> 
        <td class="fila_Page_Inter" style="height:20px;" colspan="6"
        Calculo por Oficina: 
        </td> 
        </tr> 
        <tr> 
         
        <td colspan="6"
     
            &nbsp;</td> 
        </tr> 
    </table> 
 
</td> 
</tr> 
</table> 
     
   <%-- <table cellspacing="0" cellpadding="0" border="0" width="100%"
    <tr> 
    <td class="fila_Page_Inter" style="height:25px"
        Documentos pendientes a Liquidar 
    </td> 
    </tr> 
    <tr> 
    <td class="fila_Page_Button"
         
        <asp:Button ID="btnBuscarDP" runat="server" CssClass="bot_02"  
            Text="Buscar" /> 
        <asp:Button ID="btnSeleccionar" runat="server" CssClass="bot_02"  
            Text="Seleccionar" Width="77px" /> 
        <asp:Button ID="btnCerrarV" runat="server" CssClass="bot_02"  
            Text="Cerrar" /> 
         
    </td> 
    </tr> 
    <tr> 
    <td> 
        <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"  
            GridLines="None" Skin="WebBlue"
            <MasterTableView> 
                <RowIndicatorColumn> 
                    <HeaderStyle Width="20px" /> 
                </RowIndicatorColumn> 
                <ExpandCollapseColumn> 
                    <HeaderStyle Width="20px" /> 
                </ExpandCollapseColumn> 
                <Columns> 
                    <telerik:GridTemplateColumn UniqueName="TemplateColumn"
                    </telerik:GridTemplateColumn> 
                    <telerik:GridBoundColumn UniqueName="column"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn UniqueName="column1"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn UniqueName="column2"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn UniqueName="column3"
                    </telerik:GridBoundColumn> 
                </Columns> 
            </MasterTableView> 
        </telerik:RadGrid> 
     
    </td> 
    </tr> 
    </table>--%> 
 
<script type="text/javascript"
    function OpenWindow() { 
        var wnd = window.radopen("Default.aspx", null); 
        wnd.setSize(400, 400); 
        wnd.open(); 
    } 
    function OnClientClose(radWindow) 
    { 
        radWindow.Close();  
        //window.location.href = "News.aspx";            
    } 
    function OpenConfirm() { 
        radconfirm('<h3 style=\'color: #333399;\'>Are you sure?</h3>', confirmCallBackFn, 330, 100, null, 'RadConfirm custom title'); 
        return false; 
    } 
    </script> 
    <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server"  
        Skin="Vista" /> 
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista" > 
    </telerik:RadWindowManager> 
     
    <telerik:RadWindow ID="RadWindow1" runat="server" Top="20" Modal="true" Behavior="Close" 
    ReloadOnShow="true" BackColor="Gray" NavigateUrl="Default.aspx"
    </telerik:RadWindow> 
     
    <telerik:RadGrid ID="RadGrid5" runat="server" GridLines="None"
<MasterTableView> 
    <ItemTemplate> 
  
        <telerik:RadGrid ID="RadGrid6" runat="server"  
            onitemcreated="RadGrid6_ItemCreated" onneeddatasource="RadGrid6_NeedDataSource"
        </telerik:RadGrid> 
        <br /> 
        <telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" Skin="WebBlue" onneeddatasource="RadGrid1_NeedDataSource" 
                AutoGenerateColumns="False" style="margin-right: 0px"  
            ondetailtabledatabind="RadGrid1_DetailTableDataBind1"  
            onitemcreated="RadGrid1_ItemCreated"
<MasterTableView AllowPaging="false" DataKeyNames="des_inmueble" ShowFooter="True"
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
    <DetailTables> 
        <telerik:GridTableView runat="server" Name="Detalle"
            <Columns> 
                <telerik:GridBoundColumn DataField="des_servicio" HeaderText="Servicio"  
                    UniqueName="column1"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="suministro" HeaderText="Suministro"  
                    UniqueName="column2"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="total_apagar" HeaderText="Monto Doc."  
                    UniqueName="column3"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="area_ocupada" HeaderText="Área Ocupada (m² )"  
                    UniqueName="column4"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="Area_Suministro"  
                    HeaderText="Area Suministro (m² )" UniqueName="column5"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="indice" HeaderText="Indice"  
                    UniqueName="column6"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="monto" HeaderText="Monto Asignado"  
                    UniqueName="column"
                </telerik:GridBoundColumn> 
            </Columns> 
        </telerik:GridTableView> 
    </DetailTables> 
 
<ExpandCollapseColumn Visible="True"
</ExpandCollapseColumn> 
    <Columns> 
        <telerik:GridBoundColumn DataField="cod_inmueble" HeaderText="Cod Inmueble"  
            UniqueName="column1"
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="des_inmueble" HeaderText="Inmueble"  
            UniqueName="column2"
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="area_ocupada" HeaderText="Area Ocupada por Oficina (m² ) "  
            UniqueName="column3"
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="gasto_total" HeaderText="Gasto Total"  
            UniqueName="column4" Aggregate="Sum"
            <FooterStyle BackColor="#C3D5FD" BorderColor="#FF3300" BorderStyle="Solid"  
                Font-Bold="True" Font-Size="12pt" ForeColor="#003366"  
                HorizontalAlign="Right" /> 
            <ItemStyle HorizontalAlign="Right" /> 
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="periodo" HeaderText="Periodo"  
            UniqueName="column" Visible="False"
        </telerik:GridBoundColumn> 
        <telerik:GridTemplateColumn HeaderText="Selec." UniqueName="TemplateColumn"
            <ItemTemplate> 
             
                <asp:CheckBox ID="chkSelec0" runat="server" /> 
                
            </ItemTemplate> 
        </telerik:GridTemplateColumn> 
    </Columns> 
</MasterTableView> 
            </telerik:RadGrid> 
             
    </ItemTemplate> 
</MasterTableView> 
    </telerik:RadGrid>     
    </form> 
    
 
</body> 
</html> 
 

File .aspx.vb :
Imports System 
Imports System.Data 
Imports Telerik.Web.UI 
Imports Inmuebles.InmueblesNegocio 
Imports Inmuebles 
Imports System.Configuration 
Imports System.Web 
Imports System.Web.Security 
Imports System.Web.UI 
Imports System.Web.UI.WebControls 
Imports System.Web.UI.WebControls.WebParts 
Imports System.Web.UI.HtmlControls 
 
Partial Class CuentasXCobrar_LiquidaManD2 
    Inherits UIPageInmuebles 
 
    Protected Sub btnCerrar_Click(ByVal sender As ObjectByVal e As System.EventArgs) Handles btnCerrar.Click 
        Response.Redirect("LiquidaMan.aspx"
    End Sub 
 
    Protected Sub btnImprimir_Click(ByVal sender As ObjectByVal e As System.EventArgs) Handles btnImprimir.Click 
        For Each commandItem In Me.RadGrid5.MasterTableView.GetItems(GridItemType.CommandItem) 
            commandItem.Visible = False 
        Next 
        RadGrid5.ExportSettings.ExportOnlyData = True 
        RadGrid5.ExportSettings.IgnorePaging = False 
        RadGrid5.MasterTableView.HierarchyDefaultExpanded = True 
        RadGrid5.Rebind() 
        RadGrid5.MasterTableView.ExportToPdf() 
    End Sub 
  
    Public Sub RadGrid1_DetailTableDataBind(ByVal source As ObjectByVal e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) 
        Dim dataItem As GridDataItem = CType(e.DetailTableView.ParentItem, GridDataItem) 
        Select Case e.DetailTableView.Name 
            Case "Detalle" 
                Dim oliquidacion As New Liquidacion 
                Dim dt1 As DataTable = oliquidacion.RA_MOSTRAR_LIQUIDACIONXOFICINA_DETALLE(dataItem.GetDataKeyValue("des_inmueble").ToString()) 
                e.DetailTableView.DataSource = dt1 
        End Select 
    End Sub 
 
    Protected Sub RadGrid1_NeedDataSource(ByVal source As ObjectByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) 
        TryCast(source, RadGrid).DataSource = Session("Grilla1"
    End Sub 
 
    Protected Sub RadGrid6_NeedDataSource(ByVal source As ObjectByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) 
        TryCast(source, RadGrid).DataSource = Session("rgServicios"
    End Sub 
 
    Protected Sub RadGrid5_NeedDataSource(ByVal source As ObjectByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid5.NeedDataSource 
        Dim table As New DataTable 
        table.Columns.Add("Prueba??!!!"
        table.Rows.Add(""
        RadGrid5.DataSource = table 
    End Sub 
 
    Protected Sub RadGrid5_ItemCreated(ByVal sender As ObjectByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid5.ItemCreated 
        If TypeOf e.Item Is GridDataItem OrElse TypeOf e.Item Is GridHeaderItem Then 
            e.Item.Style("color") = "black" 
            For Each cell As TableCell In e.Item.Cells 
                cell.Style("font-family") = "Calibri" 
                cell.Style("text-align") = "right" 
                cell.Style("vertical-align") = "middle" 
                cell.Style("font-size") = "9px" 
            Next 
        End If 
        Select Case e.Item.ItemType 
            Case GridItemType.Item 
                e.Item.Style("background-color") = "#FFFFFF" 
                Exit Select 
            Case GridItemType.AlternatingItem 
                e.Item.Style("background-color") = "#ECECD8" 
                Exit Select 
            Case GridItemType.Header 
                e.Item.Style("background-color") = "#718CA1" 
                e.Item.Style("color") = "white" 
                Exit Select 
            Case GridItemType.CommandItem 
                e.Item.Style("background-color") = "#ECECD8" 
                Exit Select 
        End Select 
        If TypeOf e.Item Is GridCommandItem Then 
            e.Item.PrepareItemStyle() 
        End If 
    End Sub 
 
    Protected Sub RadGrid6_ItemCreated(ByVal sender As ObjectByVal e As Telerik.Web.UI.GridItemEventArgs) 
        If TypeOf e.Item Is GridDataItem OrElse TypeOf e.Item Is GridHeaderItem Then 
            e.Item.Style("color") = "black" 
            For Each cell As TableCell In e.Item.Cells 
                cell.Style("font-family") = "Calibri" 
                cell.Style("text-align") = "right" 
                cell.Style("vertical-align") = "middle" 
                cell.Style("font-size") = "9px" 
            Next 
        End If 
        Select Case e.Item.ItemType 
            Case GridItemType.Item 
                e.Item.Style("background-color") = "#FFFFFF" 
                Exit Select 
            Case GridItemType.AlternatingItem 
                e.Item.Style("background-color") = "#ECECD8" 
                Exit Select 
            Case GridItemType.Header 
                e.Item.Style("background-color") = "#718CA1" 
                e.Item.Style("color") = "white" 
                Exit Select 
            Case GridItemType.CommandItem 
                e.Item.Style("background-color") = "#ECECD8" 
                Exit Select 
        End Select 
        If TypeOf e.Item Is GridCommandItem Then 
            e.Item.PrepareItemStyle() 
        End If 
    End Sub 
 
 
    Protected Sub RadGrid1_DetailTableDataBind1(ByVal source As ObjectByVal e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) 
        Dim dataItem As GridDataItem = CType(e.DetailTableView.ParentItem, GridDataItem) 
        Select Case e.DetailTableView.Name 
            Case "Detalle" 
                Dim oliquidacion As New Liquidacion 
                Dim dt1 As DataTable = oliquidacion.RA_MOSTRAR_LIQUIDACIONXOFICINA_DETALLE(dataItem.GetDataKeyValue("des_inmueble").ToString()) 
                e.DetailTableView.DataSource = dt1 
        End Select 
    End Sub 
 
    Protected Sub RadGrid1_ItemCreated(ByVal sender As ObjectByVal e As Telerik.Web.UI.GridItemEventArgs) 
        If e.Item.OwnerTableView.Name <> "Detalle" Then 
 
            For Each dataItem As GridDataItem In e.Item.OwnerTableView.Items 
 
                For Each cell As TableCell In e.Item.Cells 
                    cell.Style("font-family") = "Calibri" 
                    cell.Style("text-align") = "right" 
                    cell.Style("vertical-align") = "middle" 
                    cell.Style("font-size") = "9px" 
                Next 
            Next 
        End If 
        If e.Item.OwnerTableView.Name = "Detalle" Then 
            If TypeOf e.Item Is GridDataItem Then 
                For Each cell As TableCell In e.Item.Cells 
                    cell.Style("font-family") = "Calibri" 
                    cell.Style("text-align") = "right" 
                    cell.Style("vertical-align") = "middle" 
                    cell.Style("font-size") = "9px" 
                Next 
            End If 
            If TypeOf e.Item Is GridHeaderItem Then 
                For Each cell As TableCell In e.Item.Cells 
                    cell.Style("font-family") = "Calibri" 
                    cell.Style("text-align") = "right" 
                    cell.Style("font-size") = "9px" 
                    cell.Style("height") = "35px" 
                Next 
            End If 
            If TypeOf e.Item Is GridCommandItem Then 
                e.Item.PrepareItemStyle() 
            End If 
        End If 
        
    End Sub 
End Class 






Thanks
Daniel
Telerik team
 answered on 27 Jun 2012
1 answer
207 views

asp:checkbox are find control in javascript ,
how i achieve this

Thanks Advance,
New Gene.
Princy
Top achievements
Rank 2
 answered on 27 Jun 2012
1 answer
153 views
Hello  all ,

how can i create a breadcrumbs for RadTreeView (using telerik asp.net ajax) ???

thanks in advance
Princy
Top achievements
Rank 2
 answered on 27 Jun 2012
1 answer
100 views

See the image ,
i assign the value from choose content list ,
after assign cursor go right side

Regards,
Mohamed.
Rumen
Telerik team
 answered on 27 Jun 2012
1 answer
394 views
I'm looking for a way to use RadWindow as a MessageBox/Modal popup. Basically I need to send a message to the Window from any of the pages in the application and display the message.  

Example: DisplayMessage("123 records have been successfully updated.")

Appreciate if you can share code sample!!


Princy
Top achievements
Rank 2
 answered on 27 Jun 2012
3 answers
206 views
Can RadGrid be used for a spreadsheet style document that works similar to how the Google Docs spreadsheet work?  The way that google docs scrolls, allows for a large number of rows in the sheet, allows a user to add a new column, and also allows copy/paste between cells are the primary features I want on my web page.

I found the example for the ExcelLikeGrid but it is pretty basic and I am not sure if it would work very well when I have 100K+ rows on the spread sheet.  Are there any other examples like that out there?  Does anyone know a more appropriate web control that I could use?

joe
Shinu
Top achievements
Rank 2
 answered on 27 Jun 2012
0 answers
51 views
Hello everyone!

This is my problem! I've created a telerik radgrid inside a modalpopupextender, but the buttons got messed up!

Here's the code!


<div style="margin-left: 15px; margin-right: 15px;">
                       <telerik:RadGrid ID="dgConsultaSegurado" runat="server" AutoGenerateColumns="false" Skin="Default" AllowPaging="true" PagerStyle-Mode="NextPrev" OnPageIndexChanged="rgGridSegurado_PageIndexChanged"
                       AllowFilteringByColumn="false" AllowSorting="false" AllowAutomaticDeletes="false" AllowAutomaticInserts="false" AllowAutomaticUpdates="false" Culture="pt-BR"
                       OnItemCommand="dgConsultaSegurado_OnItemCommand" HeaderStyle-Height="20" OnItemDataBound="dgConsultaTomador_OnItemDataBound">
                       <ClientSettings EnablePostBackOnRowClick="true">
                        </ClientSettings>
                       <MasterTableView >
                       <HeaderStyle VerticalAlign="Middle" HorizontalAlign="Center" Height="20" />
                       <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" CssClass="linhasGridPrincipalSegurado"/>
                       <AlternatingItemStyle VerticalAlign="Middle" HorizontalAlign="Center" CssClass="linhasGridPrincipal" />
                           <Columns>
                               <telerik:GridBoundColumn DataField="CNPJSegurado" HeaderText="CNPJ" ></telerik:GridBoundColumn>
                               <telerik:GridBoundColumn DataField="NomeSegurado" HeaderText="Razão Social" ></telerik:GridBoundColumn>
                               <telerik:GridBoundColumn DataField="TipoEmpresa" HeaderText="Tipo de Empresa" ></telerik:GridBoundColumn>
                            
                           </Columns>
                        
                       </MasterTableView>
                        
                       </telerik:RadGrid>
                        </div>          
                       </center>
                       </div>

Thanks!
Eduardo.
Eduardo
Top achievements
Rank 1
 asked on 26 Jun 2012
5 answers
120 views
I'm having a bad brain fart day... so i need a bit of help.

I have a RadTreeView looks like this

Root                                            RadListView Goes Here
--Group1
   +-- 1a     
   +-- 1b
   +-- 1c
--Group2
   +-- 2a    
   +-- 2b
   +-- 2c


beside the above treeview, i have a RadListView in which i want to display a list of users based on what is passed by clicking anything in the treeview (ie: 1a, 1b, 1c, 2a, 2b, 2c)

I want to bind RadListView on  RadTreeView1_NodeClick(object sender, RadTreeNodeEventArgs e) event

whats the best way of doing this?
visionXpert
Top achievements
Rank 1
 answered on 26 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?