Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
61 views
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" runat="Server">
    <div class="rbcontent">
        <telerik:RadAjaxManager ID="RadAjaxManager1" EnableAJAX="true" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="btnReset">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="PnlCustomer" LoadingPanelID="LoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnReset">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="pnlSalesReport" LoadingPanelID="LoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnSearch">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="PnlCustomerGrid" LoadingPanelID="LoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="gvCustomer">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="PnlCustomerGrid" LoadingPanelID="LoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
 
 
        <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Skin="Sunset">
        </telerik:RadAjaxLoadingPanel>
 
 
 
 
        <asp:Panel ID="PnlCustomer" runat="server" Visible="false">
            <table width="888" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="Title" align="center">
                        Customer Reports
                    </td>
                </tr>
                <tr>
                    <td>
                          
                    </td>
                </tr>
                <tr>
                    <td>
                          
                    </td>
                </tr>
                <tr>
                    <td>
                        <table width="888" border="0" cellspacing="0" cellpadding="4">
                            <tr>
                                <td class="text18" width="180">
                                    Date of birth
                                </td>
                                <td width="10">
                                </td>
                                <td width="360">
                                    <telerik:RadComboBox ID="Cust_ddlday" EnableTextSelection="true" ChangeTextOnKeyBoardNavigation="true"
                                        Filter="StartsWith" CssClass="RadComboBoxFilter" MarkFirstMatch="true" runat="server"
                                        Width="60px">
                                        <Items>
                                            <telerik:RadComboBoxItem Text="DD" Value="" />
                                            <telerik:RadComboBoxItem Text="01" Value="01" />
                                            <telerik:RadComboBoxItem Text="02" Value="02" />
                                            <telerik:RadComboBoxItem Text="03" Value="03" />
                                            <telerik:RadComboBoxItem Text="04" Value="04" />
                                            <telerik:RadComboBoxItem Text="05" Value="05" />
                                            <telerik:RadComboBoxItem Text="06" Value="06" />
                                            <telerik:RadComboBoxItem Text="07" Value="07" />
                                            <telerik:RadComboBoxItem Text="08" Value="08" />
                                            <telerik:RadComboBoxItem Text="09" Value="09" />
                                            <telerik:RadComboBoxItem Text="10" Value="10" />
                                            <telerik:RadComboBoxItem Text="11" Value="11" />
                                            <telerik:RadComboBoxItem Text="12" Value="12" />
                                            <telerik:RadComboBoxItem Text="13" Value="13" />
                                            <telerik:RadComboBoxItem Text="14" Value="14" />
                                            <telerik:RadComboBoxItem Text="15" Value="15" />
                                            <telerik:RadComboBoxItem Text="16" Value="16" />
                                            <telerik:RadComboBoxItem Text="17" Value="17" />
                                            <telerik:RadComboBoxItem Text="18" Value="18" />
                                            <telerik:RadComboBoxItem Text="19" Value="19" />
                                            <telerik:RadComboBoxItem Text="20" Value="20" />
                                            <telerik:RadComboBoxItem Text="21" Value="21" />
                                            <telerik:RadComboBoxItem Text="22" Value="22" />
                                            <telerik:RadComboBoxItem Text="23" Value="23" />
                                            <telerik:RadComboBoxItem Text="24" Value="24" />
                                            <telerik:RadComboBoxItem Text="25" Value="25" />
                                            <telerik:RadComboBoxItem Text="26" Value="26" />
                                            <telerik:RadComboBoxItem Text="27" Value="27" />
                                            <telerik:RadComboBoxItem Text="28" Value="28" />
                                            <telerik:RadComboBoxItem Text="29" Value="29" />
                                            <telerik:RadComboBoxItem Text="30" Value="30" />
                                            <telerik:RadComboBoxItem Text="31" Value="31" />
                                        </Items>
                                    </telerik:RadComboBox>
                                     /
                                    <telerik:RadComboBox ID="Cust_ddlmonth" EnableTextSelection="true" ChangeTextOnKeyBoardNavigation="true"
                                        Filter="StartsWith" CssClass="RadComboBoxFilter" MarkFirstMatch="true" runat="server"
                                        Width="60px">
                                        <Items>
                                            <telerik:RadComboBoxItem Text="MM" Value="" />
                                            <telerik:RadComboBoxItem Text="Jan" Value="01" />
                                            <telerik:RadComboBoxItem Text="Feb" Value="02" />
                                            <telerik:RadComboBoxItem Text="Mar" Value="03" />
                                            <telerik:RadComboBoxItem Text="Apr" Value="04" />
                                            <telerik:RadComboBoxItem Text="May" Value="05" />
                                            <telerik:RadComboBoxItem Text="Jun" Value="06" />
                                            <telerik:RadComboBoxItem Text="Jul" Value="07" />
                                            <telerik:RadComboBoxItem Text="Aug" Value="08" />
                                            <telerik:RadComboBoxItem Text="Sep" Value="09" />
                                            <telerik:RadComboBoxItem Text="Oct" Value="10" />
                                            <telerik:RadComboBoxItem Text="Nov" Value="11" />
                                            <telerik:RadComboBoxItem Text="Dec" Value="12" />
                                        </Items>
                                    </telerik:RadComboBox>
                                     /
                                    <telerik:RadComboBox ID="Cust_ddl_year" EnableTextSelection="true" ChangeTextOnKeyBoardNavigation="true"
                                        Filter="StartsWith" CssClass="RadComboBoxFilter" MarkFirstMatch="true" runat="server"
                                        Width="60px">
                                    </telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="text18" width="180">
                                    Gender
                                </td>
                                <td width="10">
                                </td>
                                <td width="360">
                                    <telerik:RadComboBox ID="Cust_ddl_Gender" DataTextField="Descp" DataValueField="Refcd"
                                        runat="server">
                                    </telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="text18" width="180">
                                    Marital Status
                                </td>
                                <td width="10">
                                </td>
                                <td width="360">
                                    <telerik:RadComboBox ID="Cust_ddl_Marital" runat="server" DataTextField="Descp" DataValueField="Refcd">
                                    </telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="text18" width="180">
                                    Card Collection
                                </td>
                                <td width="10">
                                </td>
                                <td width="360">
                                    <telerik:RadComboBox ID="Cust_ddl_CardCollection" runat="server" DataTextField="Descp"
                                        DataValueField="Refcd">
                                    </telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="text18" width="180">
                                    Nationality
                                </td>
                                <td width="10">
                                </td>
                                <td width="360">
                                    <telerik:RadComboBox ID="Cust_ddl_Nationality" EnableTextSelection="true" ChangeTextOnKeyBoardNavigation="true"
                                        Filter="StartsWith" CssClass="RadComboBoxFilter" MarkFirstMatch="true" runat="server"
                                        DataTextField="Descp" DataValueField="Refcd">
                                    </telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="text18" width="180">
                                    Preferred Communication
                                </td>
                                <td width="10">
                                </td>
                                <td width="360">
                                    <asp:CheckBoxList ID="CUST_chk_PrefComm" RepeatDirection="Horizontal" RepeatLayout="Table"
                                        DataTextField="Descp" DataValueField="Refcd" runat="server" BorderStyle="None">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr>
                                <td class="text18" width="180">
                                    Personal Interest
                                </td>
                                <td width="10">
                                </td>
                                <td width="360">
                                    <asp:CheckBoxList ID="Cust_Chk_Interests" RepeatDirection="Horizontal" RepeatColumns="4"
                                        RepeatLayout="Table" DataTextField="Descp" DataValueField="Refcd" runat="server"
                                        BorderStyle="None">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr>
                                <td class="text18" width="180">
                                    Annual Income
                                </td>
                                <td width="10">
                                </td>
                                <td width="360">
                                    <telerik:RadComboBox ID="Cust_ddl_Income" CssClass="text09" DataTextField="Descp"
                                        DataValueField="Refcd" runat="server">
                                    </telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="text18" width="180">
                                    Occupation
                                </td>
                                <td width="10">
                                </td>
                                <td width="360">
                                    <telerik:RadComboBox ID="Cust_ddl_Occupation" DataTextField="Descp" DataValueField="Refcd"
                                        runat="server">
                                    </telerik:RadComboBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <table width="700" border="0" cellspacing="0" cellpadding="4">
                <tr>
                    <td class="text18" style="width: 212px">
                        Point Range
                    </td>
                    <td class="text18" style="width: 87px">
                                   From
                    </td>
                    <td>
                        <telerik:RadNumericTextBox ID="txtPntFrom" CssClass="text09" runat="server" NumberFormat-DecimalDigits="0">
                        </telerik:RadNumericTextBox>
                    </td>
                    <td class="text18">
                        To
                    </td>
                    <td>
                        <telerik:RadNumericTextBox ID="txtPntTo" runat="server" NumberFormat-DecimalDigits="0">
                        </telerik:RadNumericTextBox>
                    </td>
                </tr>
                <%--<tr>
                <td class="text18"><asp:Label ID="lbl1" runat="server"></asp:Label></td>
                <td><asp:Label ID="Lbl2" runat="server"></asp:Label></td>
                </tr>--%>
            </table>
        </asp:Panel>
        <asp:Panel ID="pnlButton" runat="server">
            <table cellpadding="10" cellspacing="10" border="0">
                <tr>
                    <td style="width: 290px">
                          
                    </td>
                    <td>
                        <asp:ImageButton ID="btnSearch" runat="server" ImageUrl="~/images_latest/btnSearch.png" />
                    </td>
                    <td style="width: 38px">
                        <asp:ImageButton ID="btnReset" runat="server" ImageUrl="images_latest/11.png" />
                    </td>
                    <td style="width: 32px">
                        <asp:ImageButton ID="btnXlsXport" ValidationGroup="Export" ToolTip="Download the table in Excel(XLS) format"
                            runat="server" ImageUrl="~/images_latest/btnSave.png" />
                    </td>
                </tr>
            </table>
            <table cellpadding="0" cellspacing="2" border="0">
                <tr>
                    <td style="width: 29%">
                          
                    </td>
                    <td style="width: 294px">
                    </td>
                    <td style="width: 37%" align="right">
                          
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel runat="server" ID="PnlCustomerGrid">
            <table cellpadding="0" cellspacing="0" border="0" class="tblGridView">
                <tr>
                    <td colspan="2" class="tdGridview">
                        <telerik:RadGrid ID="gvCustomer" CssClass="AddBorders"  runat="server" Width="888px"
                            AutoGenerateColumns="False" ShowDesignTimeSmartTagMessage="False" HeaderStyle-HorizontalAlign="Center"
                            AllowPaging="True" AllowSorting="True" Skin="Sunset" GridLines="None">
                            <PagerStyle Mode="NextPrevAndNumeric" />
                            <ClientSettings ReorderColumnsOnClient="True" AllowColumnsReorder="True" ColumnsReorderMethod="Reorder"
                                EnableRowHoverStyle="true">
                                <Resizing AllowColumnResize="true" />
                            </ClientSettings>
                            <GroupingSettings CaseSensitive="false" />
                            <MasterTableView TableLayout="Fixed">
                                <Columns>
                                    <telerik:GridBoundColumn HeaderText="Card No" DataField="CardNo" UniqueName="CardNo"
                                        SortExpression="CardNo" HeaderStyle-Width="150px" AllowFiltering="true" FilterDelay="4000"
                                        FilterControlWidth="145px" AutoPostBackOnFilter="false" CurrentFilterFunction="Contains">
                                        <HeaderStyle Width="150px" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Familyname" HeaderText="Name" UniqueName="Name"
                                        CurrentFilterFunction="Contains" FilterControlWidth="97" ShowFilterIcon="false"
                                        HeaderStyle-Width="100px" SortExpression="FamilyName">
                                        <HeaderStyle Width="100px" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="EmailAddr" UniqueName="EmailAddr" HeaderText="Email ID"
                                        CurrentFilterFunction="Contains" FilterControlWidth="137" FilterDelay="4000"
                                        ShowFilterIcon="false" HeaderStyle-Width="100px" SortExpression="EmailAddr">
                                        <HeaderStyle Width="140px" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="MobileNo" UniqueName="MobileNo" HeaderText="Contact No"
                                        CurrentFilterFunction="Contains" FilterControlWidth="137" ShowFilterIcon="false"
                                        HeaderStyle-Width="100px" SortExpression="MobileNo">
                                        <HeaderStyle Width="140px" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Address" UniqueName="Address" AllowFiltering="false"
                                        HeaderText="Address" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                        HeaderStyle-Width="200px" SortExpression="Address">
                                        <HeaderStyle Width="200px" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridDateTimeColumn DataField="MemberSince" UniqueName="MemberSince" FilterControlWidth="97"
                                        HeaderText="Member Since" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                        HeaderStyle-Width="100px" DataFormatString="{0:MMMM dd, yyyy}" SortExpression="MemberSince">
                                        <HeaderStyle Width="100px" />
                                    </telerik:GridDateTimeColumn>
                                </Columns>
                            </MasterTableView>
                            <ExportSettings FileName="CustomerReport">
                            </ExportSettings>
                            <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                            </ClientSettings>
                            <HeaderStyle HorizontalAlign="Center" />
                        </telerik:RadGrid>
                    </td>
                </tr>
            </table>
            <table>
            </table>
        </asp:Panel>
        <table>
            <tr>
                <td>
                      
                </td>
            </tr>
            <tr>
                <td>
                      
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
 
=============================================================================
 
Search click event contains these lines of code
 
 Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles btnSearch.Click
        gvCustomer.DataSource = Nothing
        objSQLDataClient = New SQLDataClient
        dtReport = GenerateCustomerReportTable()
        PnlCustomerGrid.Visible = True
        dtGrdSrc = objSQLDataClient.SearchCustomer(dtReport)
        Session("GridSrc") = dtGrdSrc
        gvCustomer.DataSource = dtGrdSrc
        gvCustomer.DataBind()
 
 
    End Sub
 
 
 Protected Sub gvCustomer_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles gvCustomer.NeedDataSource
        PnlCustomerGrid.Visible = True
        dtGrdSrc = CType(Session("GridSrc"), DataTable)
        gvCustomer.DataSource = dtGrdSrc
    End Sub
 
 
========================================================================
 
 
so now why is the grid displays data on the first search and not from the second onwards? the ajaxloadingpanel just keeps loading on the gird. There are three pages very similar to this and all have the same problem. I linked the page to a master page which contains the asp script manager along with a loading panel.
 
please help me findout the issue here?i'm about to cross my deadline.
Muhammed
Top achievements
Rank 1
 answered on 05 Jun 2012
2 answers
113 views
Imagine a RadGrid with about 20 rows of data.  Each will have a checkbox.  When the user clicks the checkbox, I need to insert a companion row below it that is closely related to the original row.

I can imagine inserting such a new row into the middle of a DataTable and rebinding the RadGrid to the DataTable but to just do this instantly will be visually confusing to the user.

I'm thus wondering if there's a way to animate the insertion of the new row, where essentially the new row "slides" down from the row where the checkbox was clicked?

I hope I've explained my requirement sufficiently.  Might anyone have any ideas on how to do this?

Robert
Robert
Top achievements
Rank 1
 answered on 05 Jun 2012
2 answers
122 views
Hi everyone, 

i'd just wish to know how to get the Telerik website menu : "Telerik.... Product Families... Account.... About us" ?
My goal is to use only one root item (like "Product families" in our example) with a link. I presently use the RadMenu Control, but i cannot :
- align this root item in the center of my menu,
- use a link instead of the button by default.

Question : is it possible with the radMenu control ?

Thx for your help and advices ;)
David
Top achievements
Rank 1
 answered on 05 Jun 2012
1 answer
141 views
Hi i am using a sitemap. 

My code is;

<telerik:RadSiteMap ID="RadSiteMap1" Runat="server"
            Skin="WebBlue" Font-Bold="True"
            Font-Names="Arial" Font-Size="10pt" Font-Strikeout="False" Height="254px">
            <defaultlevelsettings>
                <listlayout repeatcolumns="3" />
<ListLayout RepeatColumns="3"></ListLayout>
            </defaultlevelsettings>
            <levelsettings>
                <telerik:SiteMapLevelSetting>
                    <listlayout repeatcolumns="3" />
<ListLayout RepeatColumns="3" alignrows="True"></ListLayout>
                </telerik:SiteMapLevelSetting>
            </levelsettings>
            <DataBindings>
                <telerik:RadSiteMapNodeBinding ImageUrlField="NODE_IMG"
                    NavigateUrlField="NODE_LINK" TextField="NODE_SUBJ" ToolTipField="NODE_DESC"
                    ValueField="NODEID_2" />
            </DataBindings>
        </telerik:RadSiteMap>

and 

protected void Page_Load(object sender, EventArgs e)
      {
          OleDbDataAdapter da = new OleDbDataAdapter("Select * from nodes order by node_subj", conn);
          DataTable dt = new DataTable();
          da.Fill(dt);
          RadSiteMap1.DataSource = dt;
          RadSiteMap1.DataBind();
 
 
 
      }

The page is redirect when i  click the any node. it's oke. But how to open a radwindow when the node is clicked. 

Sorry for my english. 

Thanks 



Richard
Top achievements
Rank 1
 answered on 05 Jun 2012
1 answer
176 views
I ma using 2 level hierarchical radgrid. In that i want at a time only one data can be inserted or updated. Like if we click on add link and then on edit link then add link should be closed . In the same way no two edit rows can be opened at a time.


Below is the demo which i am referring:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/threelevel/defaultcs.aspx
Eyup
Telerik team
 answered on 05 Jun 2012
1 answer
95 views
Hi guys,

I working with a radgrid that contains in a column a rad Combobox with multiples columns where the user can search items. I wish when the user select an item found in the rad combobox, it must fill out the others cells in the same row. But all events fired after insert or edit command.

Thanks in advance..

Carlos


This is my code:


<telerik
:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" AllowMultiRowEdit="True" CellSpacing="0" Width="100%" Height="250px"

OnUpdateCommand="RadGrid1_UpdateCommand" OnInsertCommand="RadGrid1_InsertCommand" OnDeleteCommand="RadGrid1_DeleteCommand"

OnNeedDataSource="RadGrid1_NeedDataSource" OnRowDrop="RadGrid1_RowDrop" OnItemDataBound="RadGrid1_ItemDataBound"

AllowPaging="True" GridLines="None" PageSize="20">

<ClientSettings AllowRowsDragDrop="true">

<Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />

<ClientEvents

OnGridCreated="GridCreated"

OnRowDropping="RadGrid1_OnRowDropping"

OnRowClick="RadGrid1_RowDblClick"

OnRowDblClick="RadGrid1_RowDblClick"

OnCommand="RadGrid1_GridCommand" />

<Scrolling AllowScroll="true" />

</ClientSettings>

<MasterTableView Width="100%" HorizontalAlign="NotSet" DataKeyNames="ItemCode"

 

ShowFooter="false" EditMode="InPlace" CommandItemDisplay="Top" PageSize="20">

 

<CommandItemTemplate>

 

<telerik:RadToolBar ID="rtbarGrid" OnButtonClick="rtbarGrid_ButtonClick" runat="server" Width="100%" CausesValidation="false" Visible="false"

 

OnClientButtonClicking="rtbarGrid_ClientButtonClicking">

 

<Items>

 

<telerik:RadToolBarButton Text="Search Item" CommandName="SearchItem" Visible="true" CausesValidation="false"></telerik:RadToolBarButton>

 

<telerik:RadToolBarButton Text="Add new" CommandName="InitInsert" Visible="<%# !RadGrid1.MasterTableView.IsItemInserted %>" CausesValidation="false"></telerik:RadToolBarButton>

 

<telerik:RadToolBarButton Text="Edit Item" CommandName="EditSelected" Visible="<%# RadGrid1.EditIndexes.Count == 0 %>" CausesValidation="false"></telerik:RadToolBarButton>

 

<telerik:RadToolBarButton Text="Update" CommandName="UpdateEdited" CausesValidation="false" Visible="<%# RadGrid1.EditIndexes.Count > 0 %>"></telerik:RadToolBarButton>

 

<telerik:RadToolBarButton Text="Cancel editing" CommandName="CancelAll" Visible="<%# RadGrid1.EditIndexes.Count > 0 || RadGrid1.MasterTableView.IsItemInserted %>" CausesValidation="false"></telerik:RadToolBarButton>

 

<telerik:RadToolBarButton Text="Add this Item" CommandName="PerformInsert" Visible="<%# RadGrid1.MasterTableView.IsItemInserted %>" CausesValidation="false"></telerik:RadToolBarButton>

 

<telerik:RadToolBarButton Text="Delete Item" CommandName="DeleteSelected" Visible="true"></telerik:RadToolBarButton>

 

</Items>

 

</telerik:RadToolBar>

 

</CommandItemTemplate>

 

<RowIndicatorColumn Visible="True"></RowIndicatorColumn>

 

<ExpandCollapseColumn Visible="True"></ExpandCollapseColumn>

 

<Columns>

 

<telerik:GridBoundColumn DataField="ItemCode" Visible="true" HeaderText="Item No" UniqueName="colItemCode"></telerik:GridBoundColumn>

 

<telerik:GridTemplateColumn HeaderText="Manuf Part No." UniqueName="colU_MCGRP_PN" HeaderStyle-Width="200px" ItemStyle-Width="200px">

 

<FooterStyle VerticalAlign="Middle" />

 

<ItemTemplate><%#DataBinder.Eval(Container.DataItem, "U_MCGRP_PN")%></ItemTemplate>

 

<EditItemTemplate>

 

<telerik:RadComboBox ID="rcbItem" runat="server" Height="200px" Width="100%" DataTextField="U_MCGRP_PN"

 

EmptyMessage="Choose a Item" HighlightTemplatedItems="true" DataValueField="ItemCode" DropDownWidth="900px" OffsetX="0"

 

EnableLoadOnDemand="true" Filter="Contains" CloseDropDownOnBlur="true" AutoPostBack="true"

 

OnSelectedIndexChanged="rcbItem_SelectedIndexChange" OnItemsRequested="rcbItem_ItemsRequested">

 

<HeaderTemplate>

 

<ul>

 

<li class="cbLItemName">Manuf Part No.</li>

 

<li class="cbLItemDesc">Description</li>

 

<li class="cbL2">Brand Name</li>

 

<li class="cbLShortNumber">Stock</li>

 

</ul>

 

</HeaderTemplate>

 

<ItemTemplate>

 

<ul>

 

<li class="cbLItemName"><%# DataBinder.Eval(Container.DataItem, "U_MCGRP_PN")%></li>

 

<li class="cbLItemDesc">&nbsp;<%# DataBinder.Eval(Container.DataItem, "FrgnName")%></li>

 

<li class="cbL2">&nbsp;<%# DataBinder.Eval(Container.DataItem, "U_ItmBrndN")%></li>

 

<li class="cbLShortNumber">&nbsp;<%# (DataBinder.Eval(Container.DataItem, "OnHand").ToString())%></li>

 

</ul>

 

</ItemTemplate>

 

</telerik:RadComboBox>

 

</EditItemTemplate>

 

</telerik:GridTemplateColumn>

<telerik:GridBoundColumn DataField="FrgnName" HeaderText="Description" UniqueName="colDescription"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Brand" HeaderText="Brand Name" UniqueName="colU_ItmBrndN" HeaderStyle-Width="120px" ItemStyle-Width="120px"></telerik:GridBoundColumn>

<telerik:GridNumericColumn DataField="Quantity" HeaderText="Quantity" UniqueName="colQty" DefaultInsertValue="0" DecimalDigits="0"

HeaderStyle-Width="50px" ItemStyle-Width="50px" ItemStyle-HorizontalAlign="Right">

</telerik:GridNumericColumn>

</Columns>

<EditFormSettings>

<EditColumn FilterControlAltText="Filter EditCommandColumn column">

</EditColumn> </EditFormSettings> <PagerStyle Mode="NumericPages" PageButtonCount="4" />

 

</MasterTableView><FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid>

Eyup
Telerik team
 answered on 05 Jun 2012
1 answer
140 views

Hi,

I have a PageBase class that inherits from System.Web.UI.Page. I also use web user controls extensively. The RadSkinManager skins all the RadControls consistently if the RadFormDecorator is commented out. But as soon as I uncomment the RadFormDecorator sections, all the RadControls on the page acquire the "Default" skin and all ASP controls acquire the desired skin. (i.e. "Forest"). The behavior I want is for all controls to be skinned consistently. How should I modify it so that it works correctly?

Additional Information:
Using Q3 2011
I am also not allowed to use a master page but web user control solutions are ok.
The PageBase class also contains a RadAjaxManager and ScriptManagerProxy if that is of any relevance??

public abstract class PageBaseControl : Page
    {
           public RadSkinManager DefaultSkinManager;
        //public RadFormDecorator DefaultFormDecorator;
 
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            DefaultSkinManager = new RadSkinManager();
            DefaultSkinManager.ID = "DefaultSkinManager";
            //DefaultFormDecorator = new RadFormDecorator();
            //DefaultFormDecorator.ID = "DefaultFormDecorator";
 
            DefaultSkinManager.Skin = "Forest";
                //DefaultFormDecorator.Skin = "Forest";
            DefaultSkinManager.ShowChooser = false;
            DefaultSkinManager.PersistenceKey = "Skin";
            DefaultSkinManager.PersistenceMode = RadSkinManagerPersistenceMode.Session;
            //DefaultFormDecorator.DecoratedControls = FormDecoratorDecoratedControls.All;
 
               Form.Controls.Add(DefaultSkinManager);
            //Form.Controls.Add(DefaultFormDecorator);
        }
}
Niko
Telerik team
 answered on 05 Jun 2012
1 answer
51 views
Hi,
I'm create an application with the trial version 2011.3.1115.35.
Now I have a licence and I upgrade assembly with the lastest version "Telerik.Web.UI_2012_1_411_Dev_hotfix".
This application has now fonctionnal regression with this version and I want to download DEV version of trial version 2011.3.1115.35
Where I can find it ?

Thanks,
Antoine L.
Rumen
Telerik team
 answered on 05 Jun 2012
0 answers
59 views
Hello,

Were working with Q1 2011 ASP.NET AJAX Controls and we have an issue with DatePicker when we try to select Sept 2nd 2012 we cantt select it, this date is the only one we cant pick in september this year... 

Is there any implicit validation we cannot set (we think is the labor day in US, but It supposed to be the first septembers monday!!) ? I tried to set all the properties of the DatePicker control without success

Please Help!!!

Víctor 
Victor
Top achievements
Rank 1
 asked on 05 Jun 2012
2 answers
47 views
I have an app with a RadScheduler that I am displaying in an Iframe in Sharepoint. For some reason, through the IFrame, the dialogs that open when I insert/update/delete appts are very low on the screen, so that the user has to scroll down to interact with them. This doesn't happen when I use my app directly, only through the IFrame, so I am guessing it is a CSS issue. Any ideas on which Css classes I would need to modify to fix this? Or, perhaps the problem is something else?

Thanks!
acola
Top achievements
Rank 1
 answered on 05 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?