Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
142 views
I have two questions regarding the grid.  One is a problem and the other is a "how to" or "can I".

(1) I have a grid which is used to page through search results (refer to attached graphic radgridquestion1.png).  The first page of the grid displays just fine, but when I click on the grids 'next' button, the page is displayed with nothing but blank space where the grid was on the first page (refer to attached graphic radgridquestion2.png).  The following code is the definition of the grid in the .aspx file.

<telerik:RadGrid ID="RadGrid1" runat="server" EnableEmbeddedSkins="true" Skin="Sitefinity" ShowHeader="false" AllowPaging="True" PageSize="5" Height="700px" >
    <PagerStyle Mode="NextPrevAndNumeric" />
    <MasterTableView TableLayout="Fixed">
        <ItemTemplate>
            <table>
                <tr>
                    <td>
                        <asp:Image ID="Image1" Style="float: left;" Width="150px" Height="100px" ImageUrl='<%# Eval("PicturePath")%>'
                            BorderWidth="1px" runat="server" AlternateText="Stock Image" />
                    </td>
                    <td>
                           
                    </td>
                    <td>
                        <div>
                            <ul>
                                <li>
                                    <%# Eval("ListingStreetAddress")%>
                                </li>
                                <li>
                                    <label>Beds:</label><%# Eval("Bedrooms")%>
                                </li>
                                <li>
                                    <label>Baths:</label><%# Eval("Bathrooms")%>
                                </li>
                                <li>
                                    <label>Price:</label><%# Eval("ListingPrice")%>
                                </li>
                            </ul>
                        </div>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </MasterTableView>
    <ClientSettings AllowDragToGroup="false">
        <Scrolling AllowScroll="true" UseStaticHeaders="false" />
    </ClientSettings>
</telerik:RadGrid>

Obviously, I don't understand why the second page won't display.  Any ideas or assistance would be greatly appreciated!

(2) A "how to" question:  In the first attached graphic, you can see search criteria in the left-most column, the grid containing results in the middle column, and the right-most column is blank.  I will be putting a small Google map in this space and want it to only contain "push pins" for the properties displayed in the current page of the grid.  Is there a way I can do this?  How and in what grid event would I be able to put the code to add the "push pins" each time a new grid page is displayed?  In what event would I place the code to "clear the map" to ready it for the next n number pins?  Feel free to ask questions if I did not explain myself adequately.

Thanks in advance for your help.  I know the attached page still looks a little rough, but it's still a work in progress!

Thanks again!

Lynn
Daniel
Telerik team
 answered on 23 May 2011
2 answers
145 views
 Radfilter.rootgroup.expression.clear()   this work at server side.

is there any way to clear rootgroupexpression at client side by java script.

Thanks
Bharat Veer
bharat veer
Top achievements
Rank 1
 answered on 23 May 2011
1 answer
130 views
I just wanted to make everyone aware of a small mistype in the documentation for ASP.NET AJAX Q1 2011 SP1.

In an examples listed you have:

protected void HandleNodeEdit(object sender, RadTreeNodeEventArgs NodeEvents)
{            
    RadTreeNode nodeEdited = NodeEvents.NodeEdited;
    string newText = NodeEvents.NewText;

    nodeEdited.Text = newText;
}

which, of course, should be RadTreeNodeEditEventArgs.

URL to the help page is below.

http://127.0.0.1:47873/help/1-7288/ms.help?method=page&id=P:TELERIK.WEB.UI.RADTREEVIEW.ALLOWNODEEDITING&product=TELERIK_RC_AJAX&productversion=2011_Q1&locale=en-US&topiclocale=EN-US&topicversion=100&SQM=2


Kate
Telerik team
 answered on 23 May 2011
1 answer
92 views
Hi there,

Is there a control I can use which will show a loading image as part of a list? For example, I want to show the progress of multiple actions in the following format:

<green tick>    Syncing Item A
<red X>    Syncing Item B
<loading image here>    Syncing Item C

Basically, a loading image needs to be displayed next to the item which is currently being synced. When an item has been successfully synced, a green tick needs to show next to the item. If an error occurs with the sync, I want to show a red X.
Pavlina
Telerik team
 answered on 23 May 2011
2 answers
96 views
Hi,

I have a problem with RadMenuItem,

My Question is, I have created one RadMenu with RadMenuItems, where the RadMenuItems will display in horizontal direction.

Up to now it is working fine, but when i click on outside of RadMenu, the RadMenuItems are not displaying

How to display the RadMenuItems continuously ...


Please help me..
Naresh
Top achievements
Rank 1
 answered on 23 May 2011
6 answers
302 views
Hello
I have telerik:RadListBox.  I have a tooltip manager .
<telerik:RadToolTipManager runat="server" ID="radTTMgr" CssClass="prodOPB" Position="BottomRight" RelativeTo="Element"
    Width="180px" Height="100px" Animation="Fade" ShowCallout="false" OffsetX="-70" OffsetY="-1"
    ShowDelay="0" ShowEvent="OnClick" OnAjaxUpdate="OnAjaxUpdate" Skin="MySkin" HideEvent="LeaveTargetAndToolTip"       
    EnableEmbeddedSkins="false" >
</telerik:RadToolTipManager>

On RadListBox OnItemDataBound  I add controls to target controls collection
Control image = e.Item.FindControl("imgMenu");
this.radTTMgr.TargetControls.Add(image.ClientID, e.Item.DataKey.ToString(), true);

Everything is working fine except one minor thing that needs to be adjusted. When I do following sequence tooltip closes
1.   Click on target
2.   Move mouse to tooltip
3.   Move back to target and tooltip disappears.
At the same time as I do step 3 my ListItem is getting a “hover” class, so I’m wondering if that’s what causes my issue. I tried to use OnClientBeforeHide  to cancel close if my mouse is over target control but I could not figure that out. Can you please help
Thank you
Svetlina Anati
Telerik team
 answered on 23 May 2011
3 answers
134 views
Does anyone know how to remove the space before the text on the button. It looks like space for an icon but I dont want to use an icon. I just want to display text.

Thanks
Shinu
Top achievements
Rank 2
 answered on 23 May 2011
3 answers
117 views
This seems like something that would be fairly straightforward to do.  In my grid, I want to have the 2 letter state abbreviation show up as a gridbound column.  But, when you go to edit or create a new record, I want the state column to be a griddropdowncolumn.  I'm would like to use the autogenerated form for this, not have it be inline edit.  What's the best way to go about this?  Thanks.
Princy
Top achievements
Rank 2
 answered on 23 May 2011
1 answer
49 views
hi,

have you seen this problem?

http://clip2net.com/s/WFXo

I don't know how to solve this one.

I have this code in my radgrid and I also declare a javascript "dblClickRow" in the head but it keeps popping up.
<ClientSettings>
<Resizing EnableRealTimeResize="True" AllowColumnResize="True"></Resizing>
        <ClientEvents OnRowDblClick="dblClickRow" />
<Selecting AllowRowSelect="True" EnableDragToSelectRows="False"></Selecting>
</ClientSettings>

Pavel
Telerik team
 answered on 23 May 2011
4 answers
134 views
First off, awesome 2011 Q1 release.  The new RibbonBar control is awesome!  I do have one question/issue though.

I have a pretty basic RibbonBar setup:

<telerik:RadRibbonBar ID="RibbonBar" runat="server">
        <telerik:RibbonBarTab Text="Home">
        </telerik:RibbonBarTab>
        <telerik:RibbonBarTab Text="Issue Tracker">
            <telerik:RibbonBarGroup>
                <Items>
                    <telerik:RibbonBarButton Text="Project Summary" ID="btnIssueTracker_ProjectSummary"
                        runat="server" Size="Large" />
                    <telerik:RibbonBarButton Text="Add Issue" ID="btnIssueTracker_AddIssue" runat="server"
                        Size="Large" />
                </Items>
            </telerik:RibbonBarGroup>
        </telerik:RibbonBarTab>
        <telerik:RibbonBarTab Text="Administration">
        </telerik:RibbonBarTab>
    </telerik:RadRibbonBar>

On the page below the RibbonBar, I have some controls (dropdowns, textboxes, etc) with validators attached to them.  However if I am on a page with validators and click on a different tab, it triggers a validation check.  I am using the RibbonBar as a sort of navigation menu so I need to be able to click any of the tabs without validating the page.  I didn't find a CausesValidation method on the control or button, am I missing it somewhere?
Simon
Telerik team
 answered on 23 May 2011
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?