Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
188 views
..
Tan
Top achievements
Rank 1
 answered on 16 Feb 2012
1 answer
135 views
hi can i Design RadMenu look like radmenu.jpg
if can't pls tell me how do i apply RadMenu skin to html table or div
and i try to set height of RadMenu to 33px but nothing happened pls tell me how to change the Radmenu height
Princy
Top achievements
Rank 2
 answered on 16 Feb 2012
1 answer
144 views
Hi,

 I have a ComboBox  with checkbox's in RadGrid.
By default, the Button is disabled and should be enabled using javascript.

I could get the reference to the Combobox but not hte Button inside Footer.

Any suggestions??

This is how i got the reference to Combobox..
var cmb = $find('<%# ((GridItem)Container).FindControl("rcbMyCombo").ClientID %>');
Princy
Top achievements
Rank 2
 answered on 16 Feb 2012
1 answer
156 views
I was looking to apply the metro style skin for radwindow same as provided in 
http://demos.telerik.com/aspnet-ajax/window/examples/default/defaultcs.aspx    (Select metro skin)

It has nice titlebar with not left right and bottom thick borders. 

I downloaded the metro style for that and got that skin into the project.
To remove the left and right thick borders i overrided the following styles in Window.Metro.css file

.RadWindow_Metro .rwCorner .rwBodyLeft, 
.RadWindow_Metro .rwCorner .rwBodyRight
{
width: 1px;
display:none;
background-color:Red;
}

but without any effect, the thick borders still stay.

Can you please provide me with the style to get the same metro look available in the demos for radwindow?

mirang
Top achievements
Rank 1
 answered on 16 Feb 2012
1 answer
95 views
Hi,

I have filters in radgird. When i click on filter option the text is not visible fully. Attached is screenshot.
i have used office2007 skin for radgrid

Regards,
Akki
Princy
Top achievements
Rank 2
 answered on 16 Feb 2012
3 answers
145 views
Hi,

I just want to scroll to a special position after the page include dock control posted back.
I have read the article http://www.telerik.com/help/aspnet-ajax/grid-scroll-to-selected-item.html. But I stil have no idea how to find scroll area of a dock control.

For an example,  when i scroll to the bottom item of the RadListView, and click it, the page will reload and the scrollbar for dock control will go back to top. How can I let it scrolling to the selected item? 

       
<telerik:RadDock ID="RadDock2" runat="server" Skin="Black" Height="300px" Width="200px"
    DockMode="Docked">
    <ContentTemplate>
        <telerik:RadListView ID="RadListView1" runat="server" DataSourceID="SqlDataSource1"
            ItemPlaceholderID="SubsystemContainer" Skin="Black">
            <LayoutTemplate>
                <asp:placeholder id="SubsystemContainer" runat="server" />
            </LayoutTemplate>
            <ItemTemplate>
                <table>
                    <tr>
                        <td style="width: 100%; width: 150px; height: 45px;">
                            <asp:linkbutton id="LinkButton1" runat="server" commandname="Select">
                            <div>
                            <asp:Label ID="Label8" runat="server" Text='<%# Bind("CSNAME") %>'/>
                            </div>
                            </asp:linkbutton>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </telerik:RadListView>
        <asp:sqldatasource id="SqlDataSource1" runat="server" connectionstring="" selectcommand="">
</asp:sqldatasource>
    </ContentTemplate>
</telerik:RadDock>


Any comment is appriciated. Thanks.
Charles
Top achievements
Rank 1
 answered on 16 Feb 2012
0 answers
124 views
I'm looking at the CRUD grid example at http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx

I have it working with my table, except it seems the "update" button isn't firing anything other than a AJAX refresh. I've looked at my SQL Server profiler and there is no Update SQL statement ever sent.

I'm also a little confused on the Update Parameters - normally I would expect them to be tied somehow to my drop down boxes, but in the example they're just plain old parameters.  Do they somehow work off the UniqueName of the GridDropDownColumn?

Here's my code
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
        <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="P21_Customers" AllowPaging="True"
            AllowSorting="True" CellSpacing="0" GridLines="None" Skin="Office2010Blue" Width="100%"
            EditItemStyle-Width="100%" AllowAutomaticUpdates="True" >
            <MasterTableView AutoGenerateColumns="False" DataSourceID="P21_Customers" DataKeyNames="Customer_ID"
                EditMode="InPlace" >
                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                </RowIndicatorColumn>
                <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                        ItemStyle-Width="5%" >
                        <ItemStyle CssClass="MyImageButton" />
                    </telerik:GridEditCommandColumn>
                    <telerik:GridBoundColumn DataField="customer_id" FilterControlAltText="Filter customer_id column"
                        SortExpression="customer_id" UniqueName="customer_id" DataType="System.Decimal"
                        ItemStyle-Width="5%" HeaderText="Customer ID" ReadOnly="True">
                        <ItemStyle Width="5%"></ItemStyle>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="customer_name" FilterControlAltText="Filter customer_name column"
                        SortExpression="customer_name" UniqueName="customer_name" HeaderText="Customer Name"
                        ReadOnly="True">
                    </telerik:GridBoundColumn>
                    <telerik:GridDropDownColumn DataField="class_1id" DataSourceID="P21_Class1_Lookup"
                        HeaderText="Class 1" ListTextField="class_description" ListValueField="class_id"
                        UniqueName="class_1id" ColumnEditorID="GridDropDownColumnEditor1" ItemStyle-Width="10%">
                        <ItemStyle Width="10%"></ItemStyle>
                    </telerik:GridDropDownColumn>
                    <telerik:GridDropDownColumn DataField="class_2id" DataSourceID="P21_Class2_Lookup"
                        HeaderText="Class 2" ListTextField="class_description" ListValueField="class_id"
                        UniqueName="class_2id" ColumnEditorID="GridDropDownColumnEditor2" ItemStyle-Width="10%">
                        <ItemStyle Width="10%"></ItemStyle>
                    </telerik:GridDropDownColumn>
                    <telerik:GridDropDownColumn DataField="class_3id" DataSourceID="P21_Class3_Lookup"
                        HeaderText="Class 3" ListTextField="class_description" ListValueField="class_id"
                        UniqueName="class_3id" ColumnEditorID="GridDropDownColumnEditor3" ItemStyle-Width="10%">
                        <ItemStyle Width="10%"></ItemStyle>
                    </telerik:GridDropDownColumn>
                    <telerik:GridDropDownColumn DataField="class_4id" DataSourceID="P21_Class4_Lookup"
                        HeaderText="Class 4" ListTextField="class_description" ListValueField="class_id"
                        UniqueName="class_4id" ColumnEditorID="GridDropDownColumnEditor4" ItemStyle-Width="10%">
                        <ItemStyle Width="10%"></ItemStyle>
                    </telerik:GridDropDownColumn>
                    <telerik:GridDropDownColumn DataField="class_5id" DataSourceID="P21_Class5_Lookup"
                        HeaderText="Class 5" ListTextField="class_description" ListValueField="class_id"
                        UniqueName="class_5id" ColumnEditorID="GridDropDownColumnEditor5" ItemStyle-Width="10%">
                        <ItemStyle Width="10%"></ItemStyle>
                    </telerik:GridDropDownColumn>
                </Columns>
                <EditFormSettings>
                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>
            <EditItemStyle Width="100%" />
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
        </telerik:RadGrid>
        <asp:SqlDataSource ID="P21_Customers" runat="server" ConnectionString="<%$ ConnectionStrings:P21_ConnectionString_SQLAuth %>"
            SelectCommand="SELECT customer_id, customer_name, class_1id, class_2id, class_3id, class_4id, class_5id FROM WF_CustomerView ORDER BY customer_name"
             
            UpdateCommand="EXEC WF_UpdateCustomerClass @customer_id, @class1_id, @class2_id, @class3_id, @class4_id, @class5_id"
            >
            <UpdateParameters>
                <asp:Parameter Name="Customer_id" Type="Int32" />
                <asp:Parameter Name="class1_id" Type="String" ConvertEmptyStringToNull="true" />
                <asp:Parameter Name="class2_id" Type="String" ConvertEmptyStringToNull="true"/>
                <asp:Parameter Name="class3_id" Type="String" ConvertEmptyStringToNull="true"/>
                <asp:Parameter Name="class4_id" Type="String" ConvertEmptyStringToNull="true"/>
                <asp:Parameter Name="class5_id" Type="String" ConvertEmptyStringToNull="true"/>
            </UpdateParameters>
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="P21_Class1_Lookup" runat="server" ConnectionString="<%$ ConnectionStrings:P21_ConnectionString_SQLAuth %>"
            SelectCommand="SELECT class_id, class_description FROM WF_lkp_Class1 ORDER BY class_description">
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="P21_Class2_Lookup" runat="server" ConnectionString="<%$ ConnectionStrings:P21_ConnectionString_SQLAuth %>"
            SelectCommand="SELECT class_id, class_description FROM WF_lkp_Class2 ORDER BY class_description">
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="P21_Class3_Lookup" runat="server" ConnectionString="<%$ ConnectionStrings:P21_ConnectionString_SQLAuth %>"
            SelectCommand="SELECT class_id, class_description FROM WF_lkp_Class3 ORDER BY class_description">
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="P21_Class4_Lookup" runat="server" ConnectionString="<%$ ConnectionStrings:P21_ConnectionString_SQLAuth %>"
            SelectCommand="SELECT class_id, class_description FROM WF_lkp_Class4 ORDER BY class_description">
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="P21_Class5_Lookup" runat="server" ConnectionString="<%$ ConnectionStrings:P21_ConnectionString_SQLAuth %>"
            SelectCommand="SELECT class_id, class_description FROM WF_lkp_Class5 ORDER BY class_description">
        </asp:SqlDataSource>
    </div>
    </form>
</body>

David
Top achievements
Rank 2
 asked on 16 Feb 2012
2 answers
91 views
Hi Team we have developed a ASP.NET intranet application which uses the master page layout.

We use few telerick controls in our page.
but after page loads when I look the View Source Code, I am surprised to see all following external links.
Since our application is intranet and more secure application, we don't want to make external http calls. How can avoid this?
Because of the external references, does it hit the performance (i.e page load duration?).

i see that this is for have enable the Telerik CDN but my question is how i cant remove this ?
how disable Telerik CDN and then how to disable this links

<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Core.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/FormDecorator/RadFormDecorator.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Popup/PopupScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/jQuery.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/jQueryPlugins.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Animation/AnimationScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Window/RadWindowScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Window/RadWindowManager.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Scrolling/ScrollingScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Navigation/NavigationScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Menu/RadMenuScripts.js" type="text/javascript"></script>
<script type="text/javascript">
CEFRA
Top achievements
Rank 1
 answered on 15 Feb 2012
1 answer
151 views
hi, I am using a radUpload, my telerik version is 2011.3.1305.40, in the radUpload, I include the Clear button, code as followed:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PaulTest.aspx.cs" Inherits="PSR.WebApp.Pages.PaulTest" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:ScriptManager ID="ScriptManager1" runat="server"
        EnableSecureHistoryState="False" EnableHistory="True">
         
    </asp:ScriptManager>
     
    <telerik:RadUpload ID="uplDocument" runat="server" 
                        ControlObjectsVisibility="ClearButtons"  MaxFileInputsCount="1"
                        ReadOnlyFileInputs="True" InputSize="20"
            meta:resourcekey="uplDocumentResource1" Width="500px" Skin="Forest"
                        >
                    </telerik:RadUpload>  
    </div>
    </form>
</body>
</html>

for some reason, the select and clear buttons always stick to each other with the clear button positioned slightly lower than the select button (see pic in attachment), The browser we are using is IE7 but the same style issue is present in FireFox 8.01 please let me know how to resolve this style issue.
Richard
Top achievements
Rank 1
 answered on 15 Feb 2012
6 answers
241 views
I built a custom skin from the "Black" Standard skin using the Visual Style Builder, but when the CSS are generated the images are loaded using ImageHandler.ashx, so I have this on my CSS files: 
background-imageurl('ImageHandler.ashx?mode=get&suite=aspnet-ajax&control=Button&skin=BEEnterprise&
file=btn_corner_unselect.png&t=1824754566');
The problem is that ImageHandler.ashx is failing to load the images because the complete skin is under App_Themes, I put all the stuff here because I'm using the skin as a theme so I don't need to register the CSS files, exists some way to fix this using the skin under this folder? Best Regards.
Omar
Top achievements
Rank 1
 answered on 15 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?