Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
97 views
so i used itemtemplate, i have a repeater than contains a "items", an item = div that contains image+text.
The problem happens only in firefox 3.6 (not sure about previous versions), it is not present in IE or google chrome.
The problem is :
The items are wrapped inside a div with scrollbar on overflow, when the page load first there is no problem, but once i move the scrollbar, the collapse/expand will make the whole screen to "refresh-jump", for some reason the scrollbar position is persisted in firefox, so i guess the problem happens when the browser tries to reposition the scrollbar on refresh. In IE, Chrome, it is not the case, when i expand, it will bring an empty scrollbar always.
any solution for this problem ?

Thanks
Yana
Telerik team
 answered on 02 Mar 2010
1 answer
50 views
What would be the easiest way to print multiple editor fields?

I need a print button separate from the built-in-to-editor button that can print out each field one after the other with some heading/footer added.
I'd prefer using crystal reports if I can (is that possible) , but printing from the browser would work too.

My page has multiple editors in a formview displaying Text=Content for different TEXT-type fields, and this is working nicely. Now I'm adding a print button. I'd prefer they dont have to save to database before printing their new input

Thanks
Rumen
Telerik team
 answered on 02 Mar 2010
7 answers
150 views
hi
i made a custom skin for the menu.
but the z-index of the  sub items not so big.
on my page i also have rad window.
where i can change the z-index of the sub-items  of the skin, so the subitems of the menu will be above the rad - windows
i deveoping these website
http://213.154.244.55/EfFect/index.aspx
username: was
password:  was
Yana
Telerik team
 answered on 02 Mar 2010
1 answer
106 views
Hi all, i'm developing a webpage that shows the evolution of a variable.

The case is that the serie has a lot of points, and I need to Zoom In/Out to see with detail and hide items labels using a tooltip to view a detail of the value/date of the point.

The problem is that it seems not possible to see the tooltips (even if ClientSettings.EnableZoom = false) when ScrollMode is activated (!= None).

Is possible to get zoom and tooltips working together?. Put a piece of code illustrating the solution.

Thanks.
Giuseppe
Telerik team
 answered on 02 Mar 2010
2 answers
112 views
Hello,

I have a strange case with chrome, working perfectly with IE and FF: my grid is not displayed when using chrome ( v  4.1.249.1021 unknown (40167) , strange version....also)

Here is a sample code

asp:ScriptManagerProxy ID="SCMPDocument" runat='server' /> 
<Telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="Default" /> 
<telerik:RadGrid ID="myDataGrid" runat="server" Width="100%" AutoGenerateColumns="False" GridLines="None" ShowFooter='false' ShowHeader='true' ShowStatusBar='false' AllowPaging="true" AllowSorting="true" PageSize="20">  
   

You may see this here
http://www.addonnice.com/site/1051/Brochure_Addon_Nice.aspx

I have seen this thread http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-100-height-chrome.aspx

but it was from may 2009, is still same issue concerning the surrounding panel ?

Best regards
CS
CSurieux
Top achievements
Rank 2
 answered on 02 Mar 2010
1 answer
99 views
Hi,

I have a radgrid with addnewrecord feature.
when user clicks on addnewrecord button i am getting dropdownlist and textbox inside the grid with update and cancel buttons
when update button is clicked the values are saving to the grid but the controls are still visible instead of hiding.

i tried with popup also but same problem arises
cancel is functioning properly


below is the html grid code.


<telerik:RadGrid ID="rgdAddNewBatch" runat="server" ShowStatusBar="true" AutoGenerateColumns="False"
                                                                                            AllowAutomaticDeletes="true" AllowAutomaticInserts="true" AllowAutomaticUpdates="true"
                                                                                            PageSize="5" AllowSorting="false" AllowMultiRowSelection="False" AlternatingItemStyle-BackColor="White"
                                                                                            AllowPaging="True" BorderWidth="0" GridLines="Both" Width="55%" OnNeedDataSource="rgdAddNewBatch_NeedDataSource"
                                                                                            OnItemCommand="rgdAddNewBatch_ItemCommand" OnInsertCommand="rgdAddNewBatch_InsertCommand"
                                                                                            OnItemUpdated="rgdAddNewBatch_ItemUpdated" OnItemInserted="rgdAddNewBatch_ItemInserted">
                                                                                            <ValidationSettings EnableValidation="false" />
                                                                                            <MasterTableView SkinID="GVHeadrColor" EditMode="EditForms" DataKeyNames="BatchNo"
                                                                                                CommandItemDisplay="Top" PagerStyle-AlwaysVisible="true" InsertItemDisplay="Top"
                                                                                                InsertItemPageIndexAction="ShowItemOnFirstPage">
                                                                                                <ExpandCollapseColumn Visible="True">
                                                                                                </ExpandCollapseColumn>
                                                                                                <Columns>
                                                                                                    <telerik:GridTemplateColumn HeaderText="Batch#" HeaderStyle-CssClass="GVHdrColor"
                                                                                                        ItemStyle-CssClass="GvUnRead">
                                                                                                        <ItemTemplate>
                                                                                                            <asp:Label Text='<%# Eval("BatchNo") %>' ID="lblBatchNo" runat="server" CssClass="lblformfields">
                                                                                                            </asp:Label>
                                                                                                        </ItemTemplate>
                                                                                                        <EditItemTemplate>
                                                                                                            <asp:DropDownList ID="ddlBatchNo" runat="server" CssClass="drpdnContent">
                                                                                                                <asp:ListItem Text="Select"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="1"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="2"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="3"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="4"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="5"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="6"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="7"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="8"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="9"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="10"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="11"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="12"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="13"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="14"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="15"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="16"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="17"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="18"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="19"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="20"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="21"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="22"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="23"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="24"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="25"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="26"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="27"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="28"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="29"> </asp:ListItem>
                                                                                                                <asp:ListItem Text="30"> </asp:ListItem>
                                                                                                            </asp:DropDownList>
                                                                                                        </EditItemTemplate>
                                                                                                    </telerik:GridTemplateColumn>
                                                                                                    <telerik:GridTemplateColumn HeaderText="Kickoff renewal Batch after days of Kickoff"
                                                                                                        HeaderStyle-CssClass="GVHdrColor" ItemStyle-CssClass="GvUnRead">
                                                                                                        <ItemTemplate>
                                                                                                            <asp:Label Text='<%# Eval("RenBatchdays") %>' ID="lblRenBatchdays" runat="server"
                                                                                                                CssClass="lblformfields"></asp:Label>
                                                                                                        </ItemTemplate>
                                                                                                        <EditItemTemplate>
                                                                                                            <asp:TextBox ID="txtRenBatchdays" runat="server" SkinID="LookupTextBox"></asp:TextBox>
                                                                                                        </EditItemTemplate>
                                                                                                    </telerik:GridTemplateColumn>
                                                                                                    <telerik:GridButtonColumn ConfirmText="Delete this Batch?" HeaderText="Action" HeaderStyle-CssClass="GVHdrColor"
                                                                                                        ConfirmDialogType="Classic" ConfirmTitle="Delete" CommandName="Delete" Text="Delete"
                                                                                                        UniqueName="DeleteColumn">
                                                                                                    </telerik:GridButtonColumn>
                                                                                                </Columns>
                                                                                               <%-- <EditFormSettings EditFormType="WebUserControl" CaptionFormatString=""
                                                                                                    UserControlName="~/Controls/RenewalPolicy.ascx">
                                                                                                    <EditColumn UniqueName="EditCommandColumn">
                                                                                                    </EditColumn>
                                                                                                    <PopUpSettings Height="200px" Width="800px" Modal="true" />
                                                                                                </EditFormSettings>--%>
                                                                                                 <EditFormSettings>
                                                                                                    <EditColumn ButtonType="ImageButton" InsertText="Insert Order" UpdateText="Update record"
                                                                                                        UniqueName="EditCommandColumn1" CancelText="Cancel edit" >
                                                                                                    </EditColumn>
                                                                                                    <FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow" Width="100%">
                                                                                                    </FormTableButtonRowStyle>
                                                                                                </EditFormSettings>
                                                                                                <CommandItemSettings AddNewRecordText="Add New Batch" RefreshText="Refresh" />
                                                                                            </MasterTableView>
                                                                                        </telerik:RadGrid>
Shinu
Top achievements
Rank 2
 answered on 02 Mar 2010
1 answer
141 views
hi

i have a problem on rebinding my 2nd datagrid..

here what i really want.. i want to rebind my "grdOrdini" on click at "grdListini -> btnAdd" but it doesnt work.. i tried anything looking to any demos available on your site

here is the code:

html:
<%@ Page Language="vb" MasterPageFile="~/Main.Master" AutoEventWireup="false" CodeBehind="ElencoOrdini.aspx.vb" Inherits="GRC30.ElencoOrdini" %> 
 
<asp:Content ID="congrcElencoOrdini" ContentPlaceHolderID="cphMain" Runat="Server"> 
    <div style="height:100%"> 
        <!-- inizio contenuto --> 
        <!-- content start --> 
        <telerik:RadAjaxManager ID="RadAjaxManager2" runat="server"> 
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="grdListini"> 
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="grdListini" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting>   
                <telerik:AjaxSetting AjaxControlID="grdOrdini"> 
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="grdOrdini" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting>                               
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
        <table width="100%" align="center" border="0"> 
            <tr> 
                <th align="center" class="tbContorno"><asp:Label runat="server" ID="lblTitolo" Text="Elenco Servizi Offerti" />  
                </th> 
            </tr> 
            <tr> 
                <td>         
                    <telerik:RadGrid ID="grdListini" DataSourceID="objDS" runat="server" Width="99.7%" 
                        AutoGenerateColumns="False" PageSize="10" AllowSorting="True" AllowPaging="True" 
                        GridLines="None" ShowStatusBar="true"> 
                        <PagerStyle Mode="NumericPages"></PagerStyle> 
                        <MasterTableView DataSourceID="objDS" DataKeyNames="CODICE" AllowMultiColumnSorting="True" 
                            Width="100%"> 
                            <Columns> 
                                <telerik:GridTemplateColumn> 
                                    <ItemTemplate> 
                                        <asp:ImageButton runat="server" ID="BtnAdd" OnClick="btnAddclick" ImageUrl="~/img/addCart.png" ToolTip="Aggiungi nell'elenco ordine" /> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridBoundColumn SortExpression="CODICE" HeaderText="Codice" DataField="CODICE" UniqueName="colCODICE" Visible="false"> 
                                </telerik:GridBoundColumn>                 
                                <telerik:GridBoundColumn SortExpression="DESCRIZIONE" HeaderText="Descrizione" DataField="DESCRIZIONE" UniqueName="colDESCRIZIONE"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn SortExpression="COSTO" HeaderText="Prezzo" DataField="COSTO" UniqueName="colCOSTO"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridDateTimeColumn SortExpression="DTDA" HeaderText="Valido dal" DataField="DTDA" UniqueName="colDTDA"> 
                                </telerik:GridDateTimeColumn> 
                                <telerik:GridDateTimeColumn SortExpression="DTA" HeaderText="Valido al" DataField="DTA" UniqueName="colDTA"> 
                                </telerik:GridDateTimeColumn> 
                                <telerik:GridBoundColumn SortExpression="DURATA" HeaderText="Durata" DataField="DURATA" UniqueName="colDURATA"> 
                                </telerik:GridBoundColumn>                                         
                            </Columns> 
                        </MasterTableView> 
                    </telerik:RadGrid>    
                </td> 
            </tr> 
            <tr> 
                <td style="height:10px">&nbsp;</td> 
            </tr> 
            <tr> 
                <th align="center" class="tbContorno"><asp:Label runat="server" ID="Label1" Text="Elenco Ordini" />  
                </th> 
            </tr> 
            <tr> 
                <td>         
                    <telerik:RadGrid ID="grdOrdini" DataSourceID="objDSOrd" runat="server" Width="99.7%" 
                        AutoGenerateColumns="False" PageSize="15" AllowSorting="True" AllowPaging="True" 
                        GridLines="None" ShowStatusBar="true" AllowAutomaticUpdates="true" EnableViewState="false"> 
                        <PagerStyle Mode="NumericPages"></PagerStyle> 
                        <MasterTableView DataSourceID="objDSOrd" DataKeyNames="CODICE" AllowMultiColumnSorting="True" 
                            Width="100%"> 
                            <Columns> 
                                <telerik:GridButtonColumn ConfirmText="Rimouvere dal Elenco degli ordini?" ButtonType="ImageButton" ImageUrl="~/img/DelCart.png" CommandName="Delete" Text="Rimouvi dal elenco" UniqueName="colDelete"> 
                                    <HeaderStyle Width="35px" /> 
                                </telerik:GridButtonColumn>                              
                                <telerik:GridEditCommandColumn EditImageUrl="~/img/Edit.gif" UniqueName="btnEdit" CancelText="Cancel" UpdateText="Save" EditText="Modifica"></telerik:GridEditCommandColumn>                           
                                <telerik:GridBoundColumn SortExpression="LISTINO" HeaderText="Listino" DataField="LISTINO" UniqueName="colLISTINO" ReadOnly="true"> 
                                </telerik:GridBoundColumn>                 
                                <telerik:GridBoundColumn SortExpression="DTORDINE" HeaderText="Data Ordine" DataField="DTORDINE" UniqueName="colDTORDINE" DataType="System.DateTime" DataFormatString="{0: dd/MM/yyyy}" ReadOnly="true"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn SortExpression="DTSCADENZA" HeaderText="Data Scadenza" DataField="DTSCADENZA" UniqueName="colDTSCADENZA" DataType="System.DateTime" DataFormatString="{0: dd/MM/yyyy}" ReadOnly="true"> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridNumericColumn SortExpression="QUANTITA" HeaderText="Q.tà" DataField="QUANTITA" UniqueName="colQUANTITA"> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn SortExpression="COSTOUNITARIO" HeaderText="Costo Unitario" DataField="COSTOUNITARIO" UniqueName="colCOSTOUNITARIO" DataType="System.Double" DataFormatString="{0:€ # ###.##}" ReadOnly="true"> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn SortExpression="SCONTO" HeaderText="Sconto %" DataField="SCONTO" UniqueName="colSCONTO" ReadOnly="true" DataType="System.Double" DataFormatString="{0: ###.##%}"> 
                                </telerik:GridNumericColumn> 
                                <telerik:GridNumericColumn SortExpression="COSTONETTO" HeaderText="Costo Netto" DataField="COSTONETTO" UniqueName="colCOSTONETTO" NumericType="Currency" DataType="System.Double" DataFormatString="{0:€ # ###.##}" ReadOnly="true"> 
                                </telerik:GridNumericColumn>                                         
                            </Columns> 
                        </MasterTableView> 
                    </telerik:RadGrid>    
                </td> 
            </tr>             
            <tr> 
                <asp:Label ID="lblErrorMsg" runat="server" /> 
            </tr> 
        </table>                       
        <!-- fine --> 
    <asp:ObjectDataSource  
        ID="objDS"  
        runat="server"  
        SelectMethod="SelectListino" 
        SortParameterName="orderBy"      
        TypeName="GestioneElenco" > 
        <SelectParameters>  
            <asp:ControlParameter ControlID="grdListini" Name="filterBy" PropertyName="MasterTableView.FilterExpression" Type="String" />  
            <asp:Parameter Name="NomeSP" DefaultValue="Web2k5_CommittenteListiniElenco" Type="String" /> 
            <asp:Parameter Name="committ" Type="int32" /> 
        </SelectParameters>  
    </asp:ObjectDataSource> 
     
    <asp:ObjectDataSource  
        ID="objDSOrd"  
        runat="server"  
        SelectMethod="SelectListino" 
        SortParameterName="orderBy"      
        TypeName="GestioneElenco" > 
        <SelectParameters>  
            <asp:ControlParameter ControlID="grdOrdini" Name="filterBy" PropertyName="MasterTableView.FilterExpression" Type="String" />  
            <asp:Parameter Name="NomeSP" DefaultValue="Web2k5_CommittenteOrdiniElenco" Type="String" /> 
            <asp:Parameter Name="committ" Type="int32" /> 
        </SelectParameters>  
    </asp:ObjectDataSource> 
 
    </div> 
</asp:Content> 
 

code behind:
Imports Telerik.Web.UI 
Partial Public Class ElencoOrdini 
    Inherits System.Web.UI.Page 
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 
        If Not IsPostBack Then 
            'reset the states 
            'Me.Session(_gridState.SessionKey) = _gridState 
            If Session("grcCodice") <> Nothing Then 
                objDS.SelectParameters("committ").DefaultValue = Session("grcCodice") 
                objDSOrd.SelectParameters("committ").DefaultValue = Session("grcCodice") 
            Else 
                Response.Redirect("Login.aspx?action=Scad") 
            End If 
        End If 
    End Sub 
 
    Protected Sub btnAddclick(ByVal sender As Object, ByVal e As ImageClickEventArgs) 
        Dim btn As ImageButton = sender 
 
        ReDim param(1) 
        ReDim paramVal(1) 
 
        param(0) = "COMMITTENTE" 
        If Session("grcCodice") <> Nothing Then 
            paramVal(0) = Session("grcCodice") 
        Else 
            Response.Redirect("Login.aspx?action=Scad") 
        End If 
 
        param(1) = "LISTINO" 
        paramVal(1) = btn.CommandArgument 
 
        ApriConnessioni() 
        EseguiStored("Web2k5_CommittentiOrdiniInsert", param, paramVal, kAggiornaDati, True) 
        If TestoMessaggio.Length > 0 Then 
            lblErrorMsg.Text = TestoMessaggio 
            ChiudiConnessioni() 
            Exit Sub 
        End If 
        ChiudiConnessioni() 
 
        RadAjaxManager2.RaisePostBackEvent("rebind") 
    End Sub 
 
    Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManager2.AjaxRequest 
        grdOrdini.Rebind() 
        grdOrdini.MasterTableView.Rebind() 
    End Sub 
    Protected Sub grdListini_ItemCreated(ByVal sender As Object, ByVal e As GridItemEventArgs) Handles grdListini.ItemCreated 
        Try 
            If TypeOf e.Item Is GridDataItem Then 
                Dim BtnAdd As ImageButton = DirectCast(e.Item.FindControl("BtnAdd"), ImageButton) 
                Dim idCA As String = DirectCast(e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("CODICE"), String) 
                BtnAdd.CommandArgument = idCA 
            End If 
        Catch ex As Exception 
            SentMessage("Error ItemCreated: " & ex.Message) 
        End Try 
    End Sub 
 
    Private Sub DisplayMessage(ByVal text As String, ByVal grd As RadGrid) 
        grd.Controls.Add(New LiteralControl(String.Format("<span style='color:red'>{0}</span>", "<br />" & text))) 
    End Sub 
 
    Private gridMessage As String = Nothing 
    Protected Sub grdPap_DataBound(ByVal sender As Object, ByVal e As EventArgs) Handles grdListini.DataBound 
        If Not String.IsNullOrEmpty(gridMessage) Then 
            DisplayMessage(gridMessage, grdListini) 
        End If 
    End Sub 
 
    Private Sub SentMessage(ByVal text As String) 
        gridMessage = text 
    End Sub 
 
End Class 







Princy
Top achievements
Rank 2
 answered on 02 Mar 2010
3 answers
319 views
hi

How do get row number for a groupby expression? I am able to get the row number but not the row number gor group. Thanks

 

Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound

 

 

If (TypeOf e.Item Is GridDataItem AndAlso e.Item.OwnerTableView.DataSourceID = "sdsSQLr") Then

 

 

Dim lbl As Label = CType(e.Item.FindControl("numberLabel"), Label)

 

lbl.Text = e.Item.ItemIndex + 1

 

End If

 

 

End Sub

 

<

 

telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Row number">

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:Label ID="numberLabel" runat="server" Width="30px" />

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

<HeaderStyle Width="30px" />

 

 

 

 

 

</telerik:GridTemplateColumn>

 

Princy
Top achievements
Rank 2
 answered on 02 Mar 2010
1 answer
99 views
Hello
I have used RADTabStrip and created few controls under tab 2, 3 and 4, except for the first tab which has just Instructions.
When I run the file on local machine it works well. When I try to run from client machine to server machine it shows few of the controls under first Tab. They should not be there.
Any help is appreciated.
I am using the following code,

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">  
  <asp:Panel ID="plForm" runat="server">  
    <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1"    IsSticky="true" Style="position: absolute;  
            top: 0; left: 0; height: 100%; width: 100%;"> 
    </telerik:RadAjaxLoadingPanel> 
    <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1">  
    <Tabs> 
    <telerik:RadTab Value="Intro" Text="Intro" runat="server" PageViewID="RadPageViewIntro">          </telerik:RadTab> 
    <telerik:RadTab Value="2" Text="Job" runat="server" PageViewID="RadPageViewJob"  Enabled="false">              </telerik:RadTab> 
    <telerik:RadTab Value="3" Text="Technical" runat="server" PageViewID="RadPageViewTechnical"  Enabled="false">        </telerik:RadTab> 
                                  
      </Tabs> 
      </telerik:RadTabStrip> 
  <telerik:RadMultiPage ID="RadMultiPage1" runat="server">  
      <telerik:RadPageView runat="server" Selected="true" ID="RadPageViewIntro">please do not include any salary / bank details or any other confidential information on these forms.        
      <asp:Button runat="server" ID="bnIntro" CausesValidation="false" Text="Next" OnClick="bnIntro_Click" /> 
      </telerik:RadPageView> 
 <telerik:RadPageView runat="server" ID="RadPageViewJob"><ol><li><asp:Label ID="lbJobTitle" runat="server" Text="Job Title:" AssociatedControlID="lstJobTitle"></asp:Label><telerik:RadComboBox ID="lstJobTitle" runat="server"  AppendDataBoundItems="true" 
                            DataTextField="Job_Title"><Items><telerik:RadComboBoxItem Text="Choose One..." Value="0" /></Items></telerik:RadComboBox><asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" InitialValue="Choose One..." 
                            ValidationGroup="Job" ControlToValidate="lstJobTitle" ErrorMessage="Please enter Job Title">*</asp:RequiredFieldValidator></li>                              
                            </ol></telerik:RadPageView> 
 
<telerik:RadPageView runat="server" ID="RadPageViewTechnical">  
                        <asp:UpdatePanel ID="UpdatePanel2" runat="server"><ContentTemplate><ol><li> 
                <asp:Label ID="lbApplications" runat="server" Text="Will they require non-standard applications?:" 
                            AssociatedControlID="btn_Applications" Height="32px" Width="300px"></asp:Label><asp:RadioButtonList ID="btn_Applications" runat="server" AutoPostBack="True" RepeatDirection="Horizontal" 
                            OnSelectedIndexChanged="btn_Applications_SelectedIndexChanged"><asp:ListItem Value="1">Yes</asp:ListItem><asp:ListItem Value="0" Selected="True">No</asp:ListItem></asp:RadioButtonList></li><li><asp:Label ID="lbReqApp" runat="server" Text="Please provide details(eg SDMS,Symmetry) if yes:" 
                            AssociatedControlID="txtReqApp"></asp:Label><telerik:RadTextBox ID="txtReqApp" Width="250px" MaxLength="50" Enabled="False" runat="server" ></telerik:RadTextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ValidationGroup="Technical" 
                            Enabled="false" ControlToValidate="txtReqApp" ErrorMessage="Please enter non-standard applications details">*</asp:RequiredFieldValidator></li><li><asp:ValidationSummary runat="server" ID="validationSummary4" ValidationGroup="Technical" /><asp:Button runat="server" ValidationGroup="Technical" CausesValidation="true" ID="bnTechnical" 
                            Text="Next" OnClick="bnTechnical_Click" /></li></ol></ContentTemplate></asp:UpdatePanel></telerik:RadPageView> 
 
  </telerik:RadMultiPage> 
  </asp:Panel> 
 
<telerik:RadAjaxManager runat="server" EnablePageHeadUpdate="False">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="student">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl LoadingPanelID="LoadingPanel1" ControlID="lstSchool" /> 
                    <telerik:AjaxUpdatedControl LoadingPanelID="LoadingPanel1" ControlID="lstJobTitle" /> 
                    <telerik:AjaxUpdatedControl LoadingPanelID="LoadingPanel1" ControlID="lstCostCentre" /> 
                    <telerik:AjaxUpdatedControl LoadingPanelID="LoadingPanel1" ControlID="lstCompletedBy" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
  </AjaxSettings> 
</telerik:RadAjaxManager> 
</asp:Content> 


Dimitar Milushev
Telerik team
 answered on 02 Mar 2010
10 answers
147 views
Hello,

I have created a template in runtime and instantiate it in for some of the tabs.

The problem I have is that the template is two lines high and the skin which I use (Outlook) is now shown properly (i.e. the image is sliding to the bottom of the templated tab) and it looks like there are two tab, one on top of the other.

Any ideas?

Thanks,
Oded
Oded
Top achievements
Rank 1
 answered on 02 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?