Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
166 views
hi,

My Browser is IE8. I am using comboBox like that;

<telerik:RadComboBox ID="rcbEquipmenList" runat="server" Width="300px" Height="150px"
                EmptyMessage="Malzeme Seçiniz" EnableLoadOnDemand="True" ShowMoreResultsBox="true"
                EnableVirtualScrolling="true" OnItemsRequested="rcbEquipmenList_ItemsRequested">
            </telerik:RadComboBox>

When I convert my scriptmanager EnableHistory propert TRUE, then OnItemsRequested not fired. On chrome and mozilla it is working very well. but on IE8  not work. if I close EnableHistory false then it is working.. 

Conditions;

first click combobox. you will see, the data is coming. then click button and postback , add history property. After that click again combobox, the data not come.. 

<form id="form1" runat="server">
<div>
    <asp:ScriptManager runat="server" ID="ddd" EnableHistory="true" AsyncPostBackTimeout="30">
    </asp:ScriptManager>
 
    <telerik:RadAjaxPanel ID="pmnl" runat="server">
        <telerik:RadComboBox ID="rcbEquipmenList" runat="server" Width="300px" Height="150px"
            EmptyMessage="Malzeme Seçiniz" EnableLoadOnDemand="True" ShowMoreResultsBox="true"
            EnableVirtualScrolling="true" OnItemsRequested="rcbEquipmenList_ItemsRequested">
        </telerik:RadComboBox>
 
        <asp:Button id="dd" runat="server" onclick="dd_Click" ></asp:Button>
    </telerik:RadAjaxPanel>
</div>
</form>

private const int ItemsPerRequest = 20;
   protected void rcbEquipmenList_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
   {
       //Random r = new Random(1000);
       //string s = r.Next().ToString();
       //ddd.AddHistoryPoint(s, "dd");
       List<string> lst = new List<string>();
       lst.Add("111");
       lst.Add("2222");
       lst.Add("333");
       lst.Add("444");
       lst.Add("555");
       lst.Add("66");
       lst.Add("77");
       lst.Add("88");
       lst.Add("9999");
       lst.Add("100");
       lst.Add("111");
       lst.Add("122");
       lst.Add("1333"); lst.Add("2222");
       lst.Add("333");
       lst.Add("444");
       lst.Add("555");
       lst.Add("66");
       lst.Add("77");
       lst.Add("88");
       lst.Add("9999");
       lst.Add("100");
       lst.Add("111");
       lst.Add("122");
       lst.Add("1333"); lst.Add("2222");
       lst.Add("333");
       lst.Add("444");
       lst.Add("555");
       lst.Add("66");
       lst.Add("77");
       lst.Add("88");
       lst.Add("9999");
       lst.Add("100");
       lst.Add("111");
       lst.Add("122");
       lst.Add("1333");
 
       int itemOffset = e.NumberOfItems;
       int endOffset = Math.Min(itemOffset + ItemsPerRequest, lst.Count);
       e.EndOfItems = endOffset == lst.Count;
 
       for (int i = itemOffset; i < endOffset; i++)
       {
           rcbEquipmenList.Items.Add(new RadComboBoxItem(lst[i], lst[i]));
       }
   }
   protected void dd_Click(object sender, EventArgs e)
   {
       Random r = new Random(1000);
       string s = r.Next().ToString();
       ddd.AddHistoryPoint(s, "dd");
   }
Simon
Telerik team
 answered on 23 May 2011
3 answers
108 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
125 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
89 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
77 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
78 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
255 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
104 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
101 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
34 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?