Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
59 views
hello sir i have 1 question and 1 issue,

issue 1
i have been assigned to build an enterprise level CRM , supporting 500 users i would like to know how dependable is the ORM, and are there any performance issues, Please advise.


issue 2.

Also i pasted the follwing code in webform it displays

 

<div class="box"> 

<telerik:RadToolBar runat="server" ID="AboutToolbar" OnClientButtonClicked="buttonClicked"

 Style="z-index: 3000;">

 <Items>

 <telerik:RadToolBarButton Text="Help" CssClass="AboutToolButton" ImageUrl="Images/s.png" />

 <telerik:RadToolBarButton Text="Login" CssClass="DownloadToolButton"

 ImageUrl="Images/s.png" NavigateUrl="" />

 <telerik:RadToolBarButton Text="Support" CssClass="MoreToolButton" ImageUrl="Images/s.png"

 NavigateUrl="" Target="_blank" />

 </Items>

 </telerik:RadToolBar>

</div"> 



it displays ok on a webform

but on a masterpage if wraps to the next line and does not display the #AboutToolBar style from the stylesheet.

Thanks

Regards
Anwar
Plamen
Telerik team
 answered on 21 Sep 2012
3 answers
213 views
Does anyone have a code snippet or example on how to upload an excel file into memory? I don't need to save the file, I just want to process the contents. I'm trying to use the asyncupload component.

Thanks,
Rut
Princy
Top achievements
Rank 2
 answered on 21 Sep 2012
1 answer
116 views
Here is the problem:
I have a radgrid with a child grid. For example: Main grid for companies, child grid for employees of the chosen company. I want to add new employees to a company using the "add new record" button in the child grid's head. I made a nested ascx page with some textboxes and a "save" button. I also need the company ID to save the employees data. How can I access the company ID from the nested ascx view?

Sorry for the bad English,

Thanks,
Shinu
Top achievements
Rank 2
 answered on 21 Sep 2012
0 answers
102 views
Hello!
I'm trying to use RadAjaxPanel in the following scenario:
I have a page with several usercontrols. I tried to just put them all into this RadAjaxPanel, but when i doing this the controls do not respond correctly.
Within these UserControls i have other compontentes like RadGrid, RadTab, etc ...
By involving them with RadAjaxPanel they do not respond properly.
What can it be?
I am doing this because I have many controls on this page. Using RadAjaxManager would be a lot of work because that would handle all the events, which in this case are many ...
What can be done?
thank you
Jorge
Top achievements
Rank 1
 asked on 21 Sep 2012
0 answers
156 views

hi
I hope you could help me on this.

This is my sample:

routes.MapPageRoute("template1", "{name}/template1", "~/area/template1.aspx")
routes.MapPageRoute("template2", "{name}/template2", "~/area/template2.aspx")
routes.MapPageRoute("template3", "{name}/template3", "~/area/template3.aspx")
routes.MapPageRoute("template4", "{name}/template4", "~/area/template4.aspx")
routes.MapPageRoute("template5", "{name}/template5", "~/area/template5.aspx")
routes.MapPageRoute("template6", "{name}/template6", "~/area/template6.aspx")
routes.MapPageRoute("template7", "{name}/template7", "~/area/template7.aspx")
routes.MapPageRoute("template8", "{name}/template8", "~/area/template8.aspx")
routes.MapPageRoute("template9", "{name}/template9", "~/area/template9.aspx")
routes.MapPageRoute("template10", "{name}/template10", "~/area/template10.aspx")
routes.MapPageRoute("template11", "{name}/template11", "~/area/template11.aspx")
routes.MapPageRoute("template12", "{name}/template12", "~/area/template12.aspx")

I have a problem here is that whenever i add a new template say template13.aspx, i would need to add a new line into my global file.

Is there a way that i could just shorten it that represent everything? Thanks a lot

L
Top achievements
Rank 1
 asked on 21 Sep 2012
1 answer
93 views
Hello, 
I'm creating a Custom InlineInsertTemplate and I have to add some RequiredValidator for some fields inside form as follow bellow:

<InlineInsertTemplate>
                                    <telerik:RadTextBox runat="server" ID="txtContato" ValidationGroup="1" CssClass="text-box single-line ui-corner-all">
                                    </telerik:RadTextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="1" 
                                    ControlToValidate="txtContato" Display="Dynamic" ErrorMessage="Campo obrigatório." ForeColor="Red">
                                    </asp:RequiredFieldValidator>
<telerik:RadButton ID="btnSave" CausesValidation="true" ValidationGroup="1" CommandName="Insert" Text="Salvar" runat="server"></telerik:RadButton>
</InlineInsertTemplate>
 

But when I click in my save button, the form cause an postback and not validate my form.

How I do to solve this problem?

Best Regards,

Diego Oliveira

Shinu
Top achievements
Rank 2
 answered on 21 Sep 2012
0 answers
88 views

Hi! can you help me.

i have a radgrid  with a lot of data ( more 10 pages, and 14 items/pages) , i want
i have add 1 column "auto number to radgrid"  to display numbers record.
 <Columns>
            <telerik:GridBoundColumn DataField="STT" HeaderText="STT" DataType="System.Int32"  UniqueName="STT"
             <HeaderStyle Width="70px" />
            </telerik:GridBoundColumn>
...
<Columns />
-  Database i don't have field "STT".
in "RadGrid1_ItemDataBound"  is

--- int rowCount = (RadGrid1.MasterTableView.CurrentPageIndex * RadGrid1.MasterTableView.PageSize) + (e.Item.ItemIndex + 1);

----------                item["STT"].Text = rowCount.ToString();

-  set of export
---<ExportSettings Excel-Format="Html"
    ----       HideStructureColumns="true"
    ----       ExportOnlyData="true"
    ----       IgnorePaging="true" 
     ---      OpenInNewWindow="true">
    ----    </ExportSettings>

 and exportExcel_OnClick

--- RadGrid1.MasterTableView.ExportToExcel();

 

Proplem: when I was  opening  in pages 3 ( other first page) of datagirdview.( rowcount from 33 to 44 ex)  . so item [STT ] is  33 to 44

 I click button “Export excel” , file excel was exported include : all record of database but

IN ITEM [STT] DISLAY  FROM  33 to ALL. (NOT  FROM 1)

. I WANT WHEN I OPEN  AT RANDOM PAGE (other first page) , I EXPORT ALL DATABASE, AND  item [STT ] is  1 to ALL

THANKS YOU! PLEASE HELP ME
.

Sunrise
Top achievements
Rank 1
 asked on 21 Sep 2012
10 answers
148 views
Hi,
I am getting the following JScript Error when dropping an node on another one.
Microsoft JScript runtime error: 'this._backupCollapsedNodes[...]' is null or not an object

Any Idea?

Thanx

[Update]
This only happens, when the node wich is dragged is empty. If the dragged node contains childnodes, the error does not occur.
I am using the newest release of the controls.
Shane
Top achievements
Rank 1
 answered on 21 Sep 2012
0 answers
114 views
Hello,

I have a RadGrid whos information comes from a external DataBase, so I feed it with a DataTable in code behind, but what I need to do is let the client have the option of updating the row order, so I have 2 buttons (Row up, Row down) so what I want is once he clicks one of those buttons it updates de row on the grid but also catch that on the code behind so I can update my SQL Table with the Grid info.
The SQL table has a order column so I would need to update this. I´ve been able to do the row up and down via javascript but it´s only a visible thing nothing really changes since I later catch the datasource of the Grid and it appears unchanged.

Any ideas on how I can do this?

Thanks for your time.
Jonathan

PS: I thought about the drag and drop option telerik has for it's grid but I think it's far more complicated to implement than what I really need.
Jonathan
Top achievements
Rank 1
 asked on 20 Sep 2012
2 answers
153 views
Hi, 

I'm working on fix some issues in a website and I found the following error:

I have a radgrid inside a table nested in another table (I know this is a bad design, but I just have to fix the error).
As you can see in the images, chrome renders the grid perfect when the search button is click but in IE8 its  a mess.
Here's my code and I hope you can help me with this.
Sincerely, 
//José

<script type="text/javascript">
    function onRequestStart(sender, args) {
        if (args.get_eventTarget().indexOf("exportButton") >= 0) {
            args.set_enableAjax(false);
        }
    };                                                                        
</script>
 <telerik:RadGrid ID="dgDetalles" runat="server" AllowAutomaticInserts="True"
    AllowAutomaticUpdates="True" AllowSorting="True" AutoGenerateColumns="False"
    CellSpacing="0" CssClass="GridStyle" Culture="Spanish (Spain)" GridLines="None"
    PageSize="100" ShowFooter="True" ShowStatusBar="True" Skin="Forest" Style="left: 5px;
    top: -21px;" Width="99%" ClientSettings-Scrolling-AllowScroll="true" >
    <ExportSettings HideStructureColumns="true" />
    <clientsettings>                                                                                                                                                                      
        <Scrolling UseStaticHeaders="True" AllowScroll="True" SaveScrollPosition="true" />
        <Resizing AllowResizeToFit="false" AllowColumnResize="false" ResizeGridOnColumnResize="false" />  
    </clientsettings>
    <mastertableview TableLayout="Fixed" Width="100%"  NoMasterRecordsText="No se encontraron resultados para los filtros seleccionados"
        NoDetailRecordsText="No se encontraron resultados para los filtros seleccionados"
        commanditemdisplay="Top" datakeynames="NombrePais,NombreBodega,NOMBREDEPARTAMENTO"
        editmode="PopUp"  CssClass="opa">
        <commanditemtemplate>                                                                                       
            <div style="padding: 5px 5px; float: right;">              
                <asp:ImageButton ID="btnRefresh" ToolTip="Refrescar" ClientIDMode="Static" runat="server"
                    CommandName="RebindGrid" style="border:0px;vertical-align:middle;width:32px;height:32px;"
                    ImageUrl="../DkImages/Refresh.png" />
            </div>
        </commanditemtemplate>                                                                                   
         
        <Columns>
           <telerik:GridBoundColumn DataField="NombrePais" HeaderText="Pais" UniqueName="NombrePais" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px" />
            </telerik:GridBoundColumn
            <telerik:GridBoundColumn DataField="NombreBodega" HeaderText="Bodega" UniqueName="NombreBodega" ItemStyle-HorizontalAlign="Left">                                                                                      
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="NOMBREDEPARTAMENTO" HeaderText="Departamento" UniqueName="NOMBREDEPARTAMENTO" Visible="False" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>                                                                                         
            <telerik:GridBoundColumn DataField="BoletaSalida" HeaderText="Boleta de Salida" UniqueName="BoletaSalida" Visible="False" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="FechaMovimiento" HeaderText="Fecha Movimiento" UniqueName="FechaMovimiento" Visible="False" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DescripcionMaterial" HeaderText="Material" UniqueName="DescripcionMaterial" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>     
            <telerik:GridBoundColumn DataField="TipoMovimiento" HeaderText="Tipo de Movimiento" UniqueName="TipoMovimiento" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="150px"/>
            </telerik:GridBoundColumn>    
            <telerik:GridBoundColumn DataField="DescripcionTipoPOP" HeaderText="Tipo de Material" UniqueName="DescripcionTipoPOP" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>                                                                                                                                                                     
            <telerik:GridBoundColumn DataField="DescripcionMotivo" HeaderText="Motivo" UniqueName="DescripcionMotivo" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="175px"/>
            </telerik:GridBoundColumn>     
            <telerik:GridBoundColumn DataField="pkOE" HeaderText="Orden Entrada" UniqueName="pkOE" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>     
            <telerik:GridBoundColumn DataField="pkOAAsociadas" HeaderText="OA's Asociadas" UniqueName="pkOAAsociadas" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="175px"/>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Cantidad" HeaderText="Cantidad" UniqueName="Cantidad" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="75px"/> 
            </telerik:GridBoundColumn>                                                                                                                                                                       
            <telerik:GridBoundColumn DataField="CostoUnitarioMaterial" HeaderText="Costo Unitario" UniqueName="CostoUnitarioMaterial" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>                       
            <telerik:GridBoundColumn DataField="Estado" HeaderText="Estado" UniqueName="Estado" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="80px"/>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="NombreUsuario" HeaderText="Usuario" UniqueName="NombreUsuario" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PersonaEntregaMaterial" HeaderText="Entrega Material" UniqueName="PersonaEntregaMaterial" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px"/>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PersonaAutoriza" HeaderText="Autoriza" UniqueName="PersonaAutoriza" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Destino" HeaderText="Destino" UniqueName="Destino" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="75px"/>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="OrdenCompra" HeaderText="Orden de Compra" UniqueName="OrdenCompra" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="75px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Proveedor" HeaderText="Proveedor" UniqueName="Proveedor" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="125px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DescripcionPlanInversion" HeaderText="Plan de Inversion" UniqueName="DescripcionPlanInversion" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="200px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="MesEjecucion" HeaderText="Mes de Ejecucion" UniqueName="MesEjecucion" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Font-Bold="True" ForeColor="White" HorizontalAlign="Left" Width="80px" />
            </telerik:GridBoundColumn
        </Columns>                                                                                                                                                                       
    </mastertableview>                                                                               
    <PagerStyle Mode="NumericPages" />
    <filtermenu enableimagesprites="False">                                                                                   
    </filtermenu>                                                                               
</telerik:RadGrid>
Jose
Top achievements
Rank 1
 answered on 20 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?