Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
98 views
Hi,

at the moment I use a RoundedCorner control of one of you competitors ...
Is there a control within the telerik controls that can be used as a container for other controls and produces rounded corners?

Thanks in advance for your help
Best regards

Thomas
Bozhidar
Telerik team
 answered on 06 Mar 2012
2 answers
152 views
Hi,

I have a RadSplitter (version Q1 2012) with two panes and one splitbar.
At server-side I am hidding pane 2 and the splitbar

pane2.Collapsed = true;
splitbarTop.Visible = false;

I want to show pane2 and the splitbar on the clientside in javascript

var pane = splitter.getPaneById("pane2");
var splitbar = $get(splitbarTop);
pane.expand();
splitbar.style.display = "";

pane.expand works correct.

The code for showing the splitbar is producing an error in IE9:
"Microsoft JScript runtime error: Unable to get value of the property 'style': object is null or undefined"

How can I show and hide a splitbar in jacascript?

Paul
Paul Evers
Top achievements
Rank 2
 answered on 06 Mar 2012
6 answers
164 views
I am getting the following error when trying to bind a radgrid:

'Telerik.Web.UI.GridDynamicQueryable.GroupBy(System.Linq.IQueryable, string, string, params object[])' is inaccessible due to its protection level

Here is my code in my need date source:

var test = from p in DbContext.Entered_Comments
                   where p.comment_id = 1;
        radgrdResultDetail.DataSource = test;


I have my dbContext declared up above, when i try and declare within the method the same error occurs. Here is my radgrid client side code

<telerik:RadGrid ID="radgrdResultDetail" runat="server" AutoGenerateColumns="False"
                   PageSize="20" GridLines="None" Skin="247" EnableEmbeddedSkins="False" AllowPaging="True"
                   CellSpacing="0" AllowSorting="True" OnPreRender="radgrdResultDetail_PreRender"
                   OnItemDataBound="radgrdResultDetail_ItemDataBound" OnNeedDataSource="radgrdResultDetail_GetData"
                   OnItemCommand="radgrdResultDetail_ItemCommand" meta:resourcekey="radgrdResultDetailResource1">
                   <ClientSettings EnablePostBackOnRowClick="false">
                       <Scrolling AllowScroll="false" UseStaticHeaders="true" />
                       <Animation AllowColumnReorderAnimation="True" AllowColumnRevertAnimation="True" />
                   </ClientSettings>
                   <MasterTableView InsertItemPageIndexAction="ShowItemOnFirstPage" EditMode="InPlace"
                       CommandItemDisplay="bottom" DataKeyNames="comment_id" AllowAutomaticInserts="false" AllowAutomaticUpdates="true"
                       runat="server">
                       <PagerStyle AlwaysVisible="true" />
                       <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
                       <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                       </RowIndicatorColumn>
                       <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                       </ExpandCollapseColumn>
                       <Columns>
                       </Columns>
                       <EditFormSettings>
                           <EditColumn UniqueName="EditCommandColumn1" FilterControlAltText="Filter EditCommandColumn1 column">
                           </EditColumn>
                       </EditFormSettings>
                   </MasterTableView>
                   <FilterMenu EnableImageSprites="False">
                   </FilterMenu>
                   <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Hay">
                   </HeaderContextMenu>
               </telerik:RadGrid>

When trying this in a test solution without a telerik grid this works no issues. Are there any specific setting i need to set so this works?
Antonio Stoilkov
Telerik team
 answered on 06 Mar 2012
2 answers
214 views
I would like to display a more info when you hover thumbnail image (products catalog). But for some reason it displays only the TITLE of the product instead the stuff defined there. e.g.

<asp:Image id="imgThumbnail" runat="server" ImageUrl="" />
<telerik:RadToolTip ID="RadToolTip1" runat="server"
                                            Title='<%# Eval("itemSKU") %>'
                                            TargetControlID="imgThumbnail" ToolTip=""
                                            RelativeTo="Element"
                                            Position="BottomRight"
                                            RenderInPageRoot="true"
                                            EnableShadow="true"
                                            Skin="Windows7"
                                            Animation="Fade"
                                            AutoCloseDelay="0"
                                            ShowEvent="OnMouseOver"
                                            HideEvent="LeaveTargetAndToolTip"
                                            ShowDelay="300"
                                            Width="350px"
                                            VisibleOnPageLoad="false">
                        <div style="padding: 10px;">
                            <b>Description:</b><%# Eval("itemDescription") %><br />
                            <b>Category:</b> <%# Eval("categoryName")%>
                            <br /><br />
                        </div>
                    </telerik:RadToolTip>

Am i missing something?
Thanks

Jugoslav
Top achievements
Rank 1
 answered on 06 Mar 2012
1 answer
100 views
How can I access the textbox in button click event?
  <NestedViewTemplate>
      <asp:Button ID="Button1" runat="server" onclick="Button1_Click" />
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</NestedViewTemplate>
Shinu
Top achievements
Rank 2
 answered on 06 Mar 2012
1 answer
97 views
Hi,

I am using radTreeView control.I want to move up and down through the Root,Parent and Child nodes and to expand and collapse the nodes using keyboard ..

Help me..
Thnx in advance..
Princy
Top achievements
Rank 2
 answered on 06 Mar 2012
4 answers
160 views
Hi,

We are facing an issue where radGrid header is not aligned properly. It happens when columns are having lengthy text and folded. Please see the attached screen shot and give me a solution to fix it. This issue occurs in FireFox and not in IE.

Thanks
Venkat
Pavlina
Telerik team
 answered on 06 Mar 2012
1 answer
147 views
Is there a client-side way to change the image for the radtoolbarbutton which is specified in the imageurl?

For example, I am wanting a clip board radtoolbarbutton and change the image between an empty clip board image and a full clip board image.

Thanks in advance
Princy
Top achievements
Rank 2
 answered on 06 Mar 2012
1 answer
242 views
I need to only sort by desc/asc two states and the grid need to show sort icon always (default icon or customed icon).
Please tell me how to do it.

Thanks
Shinu
Top achievements
Rank 2
 answered on 06 Mar 2012
1 answer
159 views
I put in code to change my PageSizeComboBox. The values change but I click on a new value nothing happens. The grid display doesn't change.

Here is the code:

protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
{
    if (e.Item is GridPagerItem)
    {
        var combo = e.Item.FindControl("PageSizeComboBox") as RadComboBox;
        if (combo != null)
        {
            RemoveComboItem(combo, "5");
            RemoveComboItem(combo, "10");
            RemoveComboItem(combo, "20");
            AddComboItem(combo, "100");
            AddComboItem(combo, "150");
            AddComboItem(combo, "200");
            AddComboItem(combo, "300");
        }
    }
}


Shinu
Top achievements
Rank 2
 answered on 06 Mar 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?