Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
41 views
Hi, I'm trying to create a new style with the stylebuilder and I wish to call it "Black" (also I need to inherit your Black style) but the site warns me about an error.

Steps:
1.- go to http://stylebuilder.telerik.com/New.aspx 
2.- name it "Black" (no quotes)
3.- select the Black style as base skin
4.- select "all controls"
5.- click the Create button
Bozhidar
Telerik team
 answered on 17 Jan 2012
15 answers
164 views
I would like to report a fault on "Calendar". Reviewing the features of "Calendar"in your link:
http://demos.telerik.com/aspnet-ajax/calendar/examples/overview/defaultcs.aspx

and particularly "DataPicker"in: http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx
I get the following error message:

Message:
'iframeShim.style' is null or not an object

Líne: 346
Character: 2
Code: 0
URI:
http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1317/Calendar/RadCalendarCommonScript.js

I have to say the message is only for IE browser, I have tested with IE6, IE7 and IE8 gives me error but not with IE9.
Instead, I tested with Mozilla Firefox and Google Chrome and it works without problem.

Sincerely
,
Jorge Saa-Gerbier
Radoslav
Telerik team
 answered on 17 Jan 2012
3 answers
73 views
Hi

       Please see the screen shot of rad panel bar. If some one have some suggestions. please help me

Thanks
Rajeev

Kate
Telerik team
 answered on 17 Jan 2012
2 answers
86 views
Hello!


I need help. I have problem with running the RadGrid dir="rtl" in Internet Explorer. When screen resolution is 1024 X 768, RadGrid is wider then 1024px. While page is loading, I see horisontal scrolling is begining from right side (pic.1), but in the next second horisontal scrolling turn to begin from left side (pic.2). 

<div dir="rtl">
            <telerik:RadGrid ID="RadGrid2" runat="server" AllowFilteringByColumn="true" AllowPaging="True"  
                AllowSorting="True" Skin="Outlook" OnNeedDataSource="RadGrid2_NeedDataSource" OnSortCommand="RadGrid2_SortCommand" 
                OnItemCommand="RadGrid2_ItemCommand" OnItemDataBound="RadGrid2_ItemDataBound" EnableLinqExpressions="false"
                OnPreRender="RadGrid2_PreRender" AutoGenerateColumns="false" Height="530px"  Culture="he-IL"  > 
                <ClientSettings  EnableRowHoverStyle="true"  AllowKeyboardNavigation="true" KeyboardNavigationSettings-FocusKey="Y"
                    KeyboardNavigationSettings-RebindKey="R" >  
                    <KeyboardNavigationSettings EnableKeyboardShortcuts="true" FocusKey="T" /> 
                    <ClientEvents OnRowDblClick = "RadGrid_RowDblClick"/>  
                </ClientSettings>  
                <PagerStyle NextPageText="דף הבא" PrevPageText="דף קודם" Position="Bottom"  />            
         ....       <MasterTableView dir="RTL">
Michael
Top achievements
Rank 1
 answered on 17 Jan 2012
2 answers
106 views
I am new to telerik and i want to ask how to update in radgrid with EditMode="InPlace" and without user double-click on the row
i saw this demo (http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx) which require user to double-click the row to edit
In my case i want to update the data in RadNumericTextBox without the user double-click on the row.

This is my RadNumericTextBox
<telerik:GridTemplateColumn DataField="quantity"
                FilterControlAltText="Filter TemplateColumn column" UniqueName="quantity"
                HeaderText="Quantity" SortExpression="quantity">
                <ItemTemplate>
                    <telerik:RadNumericTextBox ID="quantityTextBox" runat="server"
                        ShowSpinButtons="True" width="50px"
                        DbValue='<%# Convert.ToDouble(Eval("quantity")) %>'
                        DataType="System.Int32" Culture="en-SG" NumberFormat-DecimalDigits="0" MinValue="0" MaxValue="999" ClientEvents-OnValueChanging="editQuantity">
                </telerik:RadNumericTextBox>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
The RadNumericTextBox ClientEvents-OnValueChanging="editQuantity" and i am stuck at the javascript.
I am not sure of how to update without getting the selected rows.

Sorry about my bad english and thank everyone for reading my problem or giving me advice/help.
Weilun
Top achievements
Rank 1
 answered on 17 Jan 2012
6 answers
126 views
Hello Everyone!

I have a problem regarding the DropdownColumn of the grid.

I have a grid with an inline edit and add mode. I also have a Dropdowncolumn in my grid.

What i want is that when I a new item using inline adding of the grid, the Dropdownlist of the Dropdowncolumn should display Items that are not added in the grid.

In short, The Items that are in the grid (specifically in my dropdown column) should not be displayed in the DropDownList during Adding.

I have tried this link

http://www.telerik.com/help/aspnet-ajax/grdcustomizeconfiguregriddropdowncolumn.html

but If I change the datasource of the DropDownColumn, the grid data of my DropDownColumn will be replaced with the firts item in my dropdownlist during adding mode.
Shinu
Top achievements
Rank 2
 answered on 17 Jan 2012
1 answer
118 views
Hi,

I have taken on Label Control to display Margin. I can do grand total but I am not able to do total when it group by. 

 <telerik:GridTemplateColumn AllowFiltering="false" HeaderText="HGU Margin %" SortExpression="HGUMargin"
                                UniqueName="HGUMargin"  ColumnEditorID="HGUMarginEditor">
                                <ItemTemplate>
                                    <asp:Label ID="lblHGUMargin" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "HGUMargin", "{0:P2}")%>'></asp:Label>
                                </ItemTemplate>
                                <FooterTemplate>
                                    <asp:Label runat="server" Text="test" ID="lblforHGUMargin"></asp:Label>
                                </FooterTemplate>
                                <FooterStyle Width="50px" />
                            </telerik:GridTemplateColumn>

On Code behind I am trying to display margin like this:

 if (e.Item.ItemType == GridItemType.GroupFooter)
            {              
 GridGroupFooterItem itemGroupFooter = e.Item as GridGroupFooterItem;
(itemGroupFooter["HGUMargin"].FindControl("lblforHGUMargin") as Label).Text = hgusp.ToString("00.00") + "%";
}
It gives me null label.


My question is How to find label control in code behind or client id of label when I do group by.



Thanks,
Mona

Shinu
Top achievements
Rank 2
 answered on 17 Jan 2012
2 answers
123 views
I am trying to get scheduler resources working the same as the First Look Demo, however the Telerik\RadControls for ASP.NET AJAX Q3 2011\Live Demos  code dowloaded with the 2011 Q3 update to my program files directory doesn't work.  When you uncheck the marketing button, nothing happens. Then if you uncheck the Development button then both marketing and development dissappear.  Checking and unchecking boxes gives strange results.

However the live demo on the web site works perfectly. The Javascript functions to rebindScheduler etc are all identical and work on the onchange event of the html check box.  Can you tell me what you have updated to make the live demo work?
Russell Shannon
Top achievements
Rank 1
 answered on 17 Jan 2012
3 answers
425 views
I have Treeview (attached) and I want to decrease the vertical spacing.

Here is the CSS file.
.RadTreeView_tree_2,
.RadTreeView_tree_2 a.rtIn,
.RadTreeView_tree_2 .rtEdit .rtIn input
{
    color: #000000;
    font: 12px/18px "Segoe UI", Arial, sans-serif;
    /*line-height: inherit;*/
}
 
.RadTreeView_tree_2 .rtPlus,
.RadTreeView_tree_2 .rtMinus
{
    background-image: url('TreeView/PlusMinus.png');
}
 
.RadTreeView_tree_2 .rtChecked,
.RadTreeView_tree_2 .rtUnchecked,
.RadTreeView_tree_2 .rtIndeterminate
{
    background-image: url('TreeView/TriState.png');
}
 
.RadTreeView_tree_2 .rtHover .rtIn,
.RadTreeView_tree_2 .rtSelected .rtIn
{
    color: #363636;
    border: 1px solid #fcd132;
}
 
.RadTreeView_tree_2 .rtHover .rtIn
{
    background-color: #fcf9de;
    background-image: url('TreeView/ItemHoveredBg.png');
}
 
.RadTreeView_tree_2 .rtSelected .rtIn
{
    background-color: #fcecb1;
    background-image: url('TreeView/ItemSelectedBg.png');
}
 
.RadTreeView_tree_2 .rtSelected .rtLoadingBefore,
.RadTreeView_tree_2 .rtSelected .rtLoadingAfter,
.RadTreeView_tree_2 .rtSelected .rtLoadingBelow
{
    color: #333333;
}
 
.RadTreeView_tree_2 .rtLI .rtEdit .rtIn
{
    border-color: #fcd132;
    background: #ffffff;
}
 
.RadTreeView_tree_2_disabled .rtIn,
.RadTreeView_tree_2 .rtDisabled .rtIn
{
    color: #cccccc;
}
 
div.RadTreeView_tree_2 .rtIn
{
    /*font-size: 11px;
    line-height: normal;*/
    font-weight: normal;
}
 
div.RadTreeView_tree_2 .rtHover .rtIn
{
    line-height: normal;
    font-weight: bold;
}
 
div.RadTreeView_tree_2 .rtSelected .rtIn
{
    font-weight: bold;
}
 
div.RadTreeView_tree_2 .rtIn
{
    /*font-size: 10px;
    line-height: 12px;*/
}
 
div.RadTreeView_tree_2 .rtHover .rtIn
{
    border-right-color: rgb(252,209,50);
    /*line-height: 12px;
    font-size: 10px;*/
}
 
div.RadTreeView_tree_2 .rtSelected .rtIn
{
    /*font-size: 10px;*/
    font-weight: bold;
}
Richard
Top achievements
Rank 1
 answered on 16 Jan 2012
1 answer
228 views
hi

Im trying to insert a row at the bottom of Grid view with out postback
My Grid has one coloum with rad Combo

placed my Grid view and button in Update panel  and in code behined on button click add a new row to datatable and Binding It to grid view

in Upadate panel gave trigger attributes

 

<Triggers>

 

 

<asp:AsyncPostBackTrigger controlid="btnAddrw" eventname="Click" />

 

 

</Triggers>

im getting the below error as attached

if i remove the above trigger  code  row is getting added but page is getting Postback

How to fix this?

thanks, Harin

 



Richard
Top achievements
Rank 1
 answered on 16 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?