Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
93 views

 



Hi,

I have a quick question . In Telerik’s website,

(http://www.telerik.com/) we see this slider/menu bar at the top. When we click on button next to ‘Product families’ it closes or opens menu. What control does it use? Is it using Telrik controls? We want similar function in our website. I tried using RadMenu but I could not find a way to have Open/Close button at the top of menu for closing and opening menu.

Any help would be appreciated.

 

Thanks,

Kate
Telerik team
 answered on 18 Sep 2012
5 answers
332 views
How can we set the default skin sort style to GridTemplateColumn? It is working for GridBoundColumn but not for GridTemplateColumn. I have tried different colors from the Sortedbackcolor but I couldn't find the default color. Can somebody please help me with this?

<telerik:GridTemplateColumn HeaderText="Status" SortedBackColor="???" SortExpression="Active">
</telerik:GridTemplateColumn>

-Sree  
Galin
Telerik team
 answered on 18 Sep 2012
6 answers
102 views
I am using v2011.3.527.35 and I am having a rendering issue with the RadToolBar in IE8.  Please see attachment (RadToolBar2001.jpg).  There seems to be some overlapping or incorrect offset.  There is a default skin to use the "Default" theme.  The OnLoad function only set the visibility.  I am using the previous versions images, I believe.  Suggestions?

<telerik:RadToolBar ID="RadToolBar1" runat="server" EnableRoundedCorners="true" Style="float: right;"
                    OnButtonClick="MainToolbar_ButtonClick" OnClientButtonClicking="OnClientButtonClicking">
        <Items>
            <telerik:RadToolBarButton CommandName="Back" Text="Back" ImageUrl="~/Images/BackButton.gif" />
            <telerik:RadToolBarButton CommandName="Export" OnLoad="InquiryOrMaintenanceControl_Load" Text="Export" ImageUrl="~/Images/Export.gif" />
            <telerik:RadToolBarButton CommandName="Reset" OnLoad="InquiryOrMaintenanceControl_Load" Text="Reset" ImageUrl="~/Images/Reset.gif" />
            <telerik:RadToolBarButton CommandName="DeleteAll" OnLoad="DeleteAllButton_Load" Text="Delete All" ImageUrl="~/Images/Delete.gif" DisabledImageUrl="~/Images/Delete_d.gif" />
            <telerik:RadToolBarButton CommandName="Retrieve" OnLoad="InquiryOrMaintenanceControl_Load" Text="Retrieve" ImageUrl="~/Images/Retrieve1.gif" />
            <telerik:RadToolBarButton CommandName="Import" OnLoad="MaintenanceOnlyControl_Load" Text="Upload" ImageUrl="~/Images/uploadIcon.gif" />
        </Items>
</telerik:RadToolBar>

Thanks,
Rob
Kate
Telerik team
 answered on 18 Sep 2012
3 answers
168 views
I have a custom skin. I want to replace radcombobox with asp:dropdownlist.

I have following setting
<telerik:RadFormDecorator runat="server" ID="RadFormDecorator1" DecoratedControls="Select" />

It works fine but i want to change the font size of dropdownlist. For that i am using following style but it doesn't work. What else am i missing.
<style type="text/css">
       .rfdSelect_SkinName .rfdSelectOuter
       {
           font: 12px "Segoe UI" , Arial, sans-serif !important;
       }
   </style>



Bozhidar
Telerik team
 answered on 18 Sep 2012
3 answers
201 views
I am experiencing a problem where RADComboBox does not display the dropdown in Firefox, Chrome, or Opera.  IE9 does work.

Please help
Nencho
Telerik team
 answered on 18 Sep 2012
1 answer
35 views
Hi,

In VB.NET:
I have code which binds the DataSet during first time load and after postback that binded data exist.
In C#:
The same converted code after posback there is no data in RadCombo.

Below are the Telerik.Web.UI Version:
 VB.NET - Autoupdate(Set in Property pages)
    C#    - 2011.3.1115.40

Note: In watch list i have checked the data count in RadCombo,  i noticed after postback Vb.NET code holds the 2 data but in C# no data(Count = 0)

I am struck in this, Please guide to fix this.

Thanks,
Jawahar.
Andrey
Telerik team
 answered on 18 Sep 2012
3 answers
131 views
If a field used to display the image alt text is NOT type of string (e.g. int) then the alt text is not generated
E.g.

<telerik:GridBinaryImageColumn
        DataField="MyImage"
        DataAlternateTextField="MyId" DataType="System.Int32"
        DataAlternateTextFormatString="{0}"
        ImageAlign="Middle"
        HeaderText="Image" FooterText="Image"
        HeaderStyle-Width="50"
        AllowFiltering="false" AllowSorting="false"
        Groupable="False"  ResizeMode="Fit" ImageHeight="50px" ImageWidth="50px"
        ReadOnly="True" DefaultImageUrl="../img/noimage.png">
</telerik:GridBinaryImageColumn>


Radoslav
Telerik team
 answered on 18 Sep 2012
1 answer
84 views
Hello again,
This time I've encountered a problem with RadGrid.

I have following grid:

<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    <telerik:RadGrid ID="UserGrid" runat="server" Culture="pl-PL" AutoGenerateColumns="False" PageSize="100"
        CellSpacing="0" GridLines="None" OnNeedDataSource="UserGrid_NeedDataSource"
        AllowCustomPaging="True"
        AllowFilteringByColumn="True" AllowSorting="True" EnableLinqExpressions="False"
        EnableHeaderContextMenu="True" OnInsertCommand="UserGrid_InsertCommand" OnUpdateCommand="UserGrid_UpdateCommand"
        OnItemDataBound="RadGrid1_ItemDataBound" GroupingEnabled="False">
        <mastertableview allowcustompaging="true" allowpaging="true" datakeynames="Id"
            pagerstyle-alwaysvisible="true" EditMode="InPlace" CommandItemDisplay="Top"  >
 
        <Columns>
            <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton"
                HeaderStyle-Width="56px" Resizable="false">
                <HeaderStyle Width="56px"></HeaderStyle>
                <ItemStyle CssClass="MyImageButton" />
            </telerik:GridEditCommandColumn>
            <telerik:GridBoundColumn HeaderText="lblName"
                UniqueName="Name" DataField="Name" >
            </telerik:GridBoundColumn>
            <telerik:GridDropDownColumn HeaderText="lblType" ColumnEditorID="GridDropDownColumnEditor1">
            </telerik:GridDropDownColumn>
        </Columns>
   </mastertableview>
 
</telerik:RadGrid>
<telerik:GridDropDownListColumnEditor ID="GridDropDownColumnEditor1" runat="server" />
</ContentTemplate>
 
</asp:UpdatePanel>

I'd like to hide/remove pager, so I try to remove pagerstyle-alwaysvisible property or to set it to false, the grid is rendered correctly and the pager is not shown. But whenever I try to edit a row, a javascript error is shown:

Sys.ArgumentUndefinedException: Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name: type
{name: "element", mayBeNull: true, domElement: true, optional: true}

As a result, DropDownList is disabled (I cannot open the list).

What can be the reason of this strange behaviour? In other pages I just removed all the properties associated with pager/paging and it works fine, but I didn't use GridDropDownListColumnEditor there, so no errors occured.

My web application is being developed using .NET 3.5 and Sharepoint 2010.

Thank you in advance,
Paweł


Edit: I've just noticed that removing allowcustompaging="true" allowpaging="true" properties causes the same problem.
Andrey
Telerik team
 answered on 18 Sep 2012
5 answers
1.4K+ views
Hi,

As soon as I drag a RadGrid onto my page, when loading the page I get the following error:

Please, see whether wrapping the code block, generating the exception, within RadCodeBlock resolves the error.

Exception details:
Error Message Please, see whether wrapping the code block, generating the exception, within RadCodeBlock resolves the error.
Error Source Telerik.Web.UI
Stack Trace at Telerik.Web.SkinRegistrar.RegisterCssReference(Page _page, Control _control, String _url) at Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl _control) at Telerik.Web.UI.RadCompositeDataBoundControl.RegisterCssReferences() at Telerik.Web.UI.RadCompositeDataBoundControl.OnPreRender(EventArgs e) at Telerik.Web.UI.RadGrid.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Target Site Void RegisterCssReference(System.Web.UI.Page, System.Web.UI.Control, System.String)

Wrapping the RadGrid into a radCodeBlock doesn't solve the problem. Only removing the RadGrid from the page gets everything back to normal.
Any idea?

Thanks,
John
Houda
Top achievements
Rank 1
 answered on 18 Sep 2012
2 answers
84 views

<telerik:GridTemplateColumn UniqueName="rdbnot" DataField ="Escalation_Notify_ID" SortExpression="Escalation_Notify_ID" ItemStyle-BorderStyle="None" HeaderText="<%$ Code:Resources.Escalation.Notification_Freq%>">
<ItemStyle Width="150px" BorderStyle="None" HorizontalAlign="Left" />
                                                                                                            <ItemTemplate>                                                                                                           
<asp:LinkButton ID="btnNotify" runat="server" OnClientClick="AddNotify()"></asp:LinkButton>                                                                                                                       
</ItemTemplate>
<ItemStyle Width="150px" BorderStyle="None" HorizontalAlign="Left" />
</telerik:GridTemplateColumn>

link button row select is work in Ie 9, It's Not worked in Mozilla and chroma ,

<ClientSettings AllowRowsDragDrop="True">
<ClientEvents OnRowSelected="RowClicked" />
</ClientSettings>

function RowClicked(sender, eventArgs) {
                rowCounts = grid.get_masterTableView().get_selectedItems().length;
            }
 

Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 18 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?