Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
54 views

On the bottom of the http://www.telerik.com/products/whats-new.aspx page, in section 

RadControls for ASP.NET AJAX

there is a grid with text "World Stats" etc.
How can I recreate such layout of the header? Is it simply an added image? If so, to what part of the Grid skin it was added?

Jacek


Tsvetina
Telerik team
 answered on 05 Mar 2012
1 answer
75 views
Hi

I want to apply different style of tool tip. i don't want only a rectangle box.

Regards
Nithya
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2012
1 answer
62 views
Hi

i was not able to set the skin for my tool tip.

Regards
Nithya
Princy
Top achievements
Rank 2
 answered on 05 Mar 2012
1 answer
430 views
I'm trying to add a css class to each RadComboBoxItem in a RadComboBox dunmicaly.

This is not working:
foreach (var status in statuslist)
{
    RadComboBoxItem item = new RadComboBoxItem(status.StockName, status.StockStatusID.ToString());
    item.Attributes.Add("Class", status.StockColor);
    RadComboBox1.Items.Add(item);
}


also tried :
item.CssClass =  status.StockColor;

Neither one uses the css class

any suggestions?

thanks
Princy
Top achievements
Rank 2
 answered on 05 Mar 2012
1 answer
157 views
I'm working with the RadToolBar, and RadToolBarButtons;

My question is how best can I enable rounded corners on the RadToolBarButtons -

EnableRoundedCorners

 

 

="True" is set on the RadToolBar itself;

<telerik:RadToolBar ID="RadToolBar4" Height="30px" runat="server" Width="100%" Skin="Black" OnClientLoad="clientLoad" onbuttonclick="RadToolBar4_ButtonClick" CssClass="SeparatedButtons" OnClientDropDownOpened="dropDownOpened" EnableRoundedCorners="True" >
                             
                <Items>
  
                 <telerik:RadToolBarButton CommandName="Dashboard" Text="Dashboard" ID="rbDashboard" Font-Size="Medium" runat="server" Font-Names="Microsoft Sans Serif" BorderColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                    </telerik:RadToolBarButton>
              
                    <telerik:RadToolBarButton CommandName="Documents" ID="rbDocuments" runat="server" Text="Documents" Font-Names="Microsoft Sans Serif" Font-Size="Medium" BorderColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                </telerik:RadToolBarButton>
  
                     <telerik:RadToolBarButton CommandName="OrgChart" ID="rbOrgChart" runat="server" Text="Organization Chart" Font-Size="Medium" Visible="false" BorderColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                        </telerik:RadToolBarButton>
                          
                     <telerik:RadToolBarDropDown Text="Please Select" Font-Size="Medium" CssClass="rightAligned" DropDownWidth="220px" BorderColor="White" BorderStyle="Solid" BorderWidth="1px">
                        
                        <Buttons>
                          
                                 <telerik:RadToolBarButton runat="server" Text="Profile" Font-Size="Medium" CheckOnClick="true" CommandName="ViewAccountProfile">
                               </telerik:RadToolBarButton>
  
                                <telerik:RadToolBarButton runat="server" Text="Contact Us" Font-Size="Medium" CheckOnClick="true" CommandName="ContactUs">
                                </telerik:RadToolBarButton>
  
                                <telerik:RadToolBarButton runat="server" Text="Sign Out" Font-Size="Medium" CheckOnClick="true" CommandName="SignOut">
                                </telerik:RadToolBarButton>
  
                                 <%-- <telerik:RadToolBarButton runat="server" Text="Change Password" Font-Size="Medium" CheckOnClick="true" CommandName="ChangePassword">
                                </telerik:RadToolBarButton>--%>
  
                        </Buttons>
                    </telerik:RadToolBarDropDown>
           
                         </Items>
            </telerik:RadToolBar>

 

Princy
Top achievements
Rank 2
 answered on 05 Mar 2012
2 answers
278 views
I have created a custom grid column, so that I can create my own filter control (a combo box).

This was working well, but at some point it stopped working.

After a day of debugging, I've honed in on the problem.

In my case, the field name is "CompanyName", and the user has set the filter value to be "Acme".

The function GridColumn.EvaluateFilterExpression is returning the string:

CompanyName = "Acme".ToUpper()


Obviously, I don't want to convert the string to upper case.

I've overridden the function "EvaluateFilterExpression" as so:

public override string EvaluateFilterExpression(GridFilteringItem filteringItem)
{
    System.Diagnostics.Debug.WriteLine(string.Format("--- GridHyperlinkColumnWithComboFilter.EvaluateFilterExpression({0})", filteringItem));
    var rv = base.EvaluateFilterExpression(filteringItem);
    System.Diagnostics.Debug.WriteLine(string.Format("--- GridHyperlinkColumnWithComboFilter.EvaluateFilterExpression({0}) returning \"{1}\"", filteringItem, rv));
    return rv;
}

And the debug output is:

--- GridHyperlinkColumnWithComboFilter.EvaluateFilterExpression(Telerik.Web.UI.GridFilteringItem)
--- GridHyperlinkColumnWithComboFilter.GetCurrentFilterValueFromControl - returning "Acme"
--- GridHyperlinkColumnWithComboFilter.EvaluateFilterExpression(Telerik.Web.UI.GridFilteringItem) returning "CompanyName = "Acme".ToUpper()"



I've scoured all of the properties of the grid and the column, but can't figure out why "ToUpper" is appearing in the filtering expression.

What would be causing the method "Telerik.Web.UI.GridColumn.EvaluateFilterExpression" to think I want to convert my filter value to upper case?




   
Andrew
Top achievements
Rank 1
Iron
Iron
 answered on 05 Mar 2012
6 answers
226 views
In the radgrid when i want to select the radiobuttonlist in edit mode by selecting the specific row it is not selecting.
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2012
1 answer
112 views
Hi ALL,

I do have a RadGrid with AllowCustomPaging and a CheckBoxList populated on ItemDataBound when user edits a record. 

When user clicks on Update button, NeedDataSource and ItemDataBound events are firing again, so I lose that CheckBoxList selection.

Do you guys have any suggestions?

Thanks,
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2012
1 answer
112 views
Hi Telerik Team,

I have hide\ make uneditable\ uncheckable the base parent node of RadTreeView DragnDrop.
If there is any way please suggest me.


Thanks in advance.
Robin
Princy
Top achievements
Rank 2
 answered on 05 Mar 2012
3 answers
94 views
Hello,

I still have a few problems with the grid:
- the GridBoundColumns column are display, but the only contain blank values while they should not.
- the GridButtonColumn is not showing at all.

<telerik:RadGrid ID="OrderDetail_RadGrid" runat="server" AllowFilteringByColumn="True" AllowSorting="True" CellSpacing="0"
GridLines="None" AutoGenerateColumns="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource">
    <ClientSettings AllowColumnsReorder="True">
        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
    </ClientSettings>
    <MasterTableView AllowFilteringByColumn="True" AllowSorting="True" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource">
    <CommandItemSettings ExportToPdfText="Export to PDF"/>
    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
        <HeaderStyle Width="20px"/>
    </RowIndicatorColumn>
    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
        <HeaderStyle Width="20px"/>
    </ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="p_Name" FilterControlAltText="Product"
            UniqueName="Product" HeaderText="Product"/>
        <%--<telerik:GridBoundColumn DataField="p_Description" FilterControlAltText="Description" UniqueName="p_Description" HeaderText="Description"/>--%>
        <telerik:GridNumericColumn DataField="tool_Quantity" DecimalDigits="2" FilterControlAltText="Quanity" HeaderText="Qantity"/>
        <telerik:GridBoundColumn DataField="unit_Name"  FilterControlAltText="Unit" UniqueName="unit_Name"  HeaderText="Unit"/>
        <telerik:GridButtonColumn FilterControlAltText="Filter column column" UniqueName="Remove"/>
    </Columns>
 
    <EditFormSettings>
        <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
    </EditFormSettings>
</MasterTableView>
 
<FilterMenu EnableImageSprites="false"/>
</telerik:RadGrid>
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?