Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
112 views
When exporting grouped data, the exports do not contain previous page data when the page selection is anything other than page 1.  Example: If page 2 is selected, the export data begins on page 2 and doesn't contain the data from page 1.  This doesn't happen when the data isn't grouped.  Is this by design?

Christine
Top achievements
Rank 1
 answered on 27 Sep 2012
3 answers
67 views
I've found a minor bug in the listbox client-side function findItemByValue. If you pass it an INTEGER with the value zero, it always returns null. Passing it any other integer (where an item with that value exists) will work correctly. The cause of the problem is that the function findItemByValue is coded as:
function(g){if(!g){return null;}...

When g is an integer 0, !g is true, so the function returns null. (When g is an integer 1, !g is false, when g is a string "0", !g is false.)

The work-around is simple, just don't pass an integer, but to work correctly and consistently, the function should check for "undefined" or null or "" instead of using !g, or it should check the type of the value passed first.

Since findItemByValue actually works correctly when a non-zero integer is passed, it took me a little work to figure out what the problem was. Hopefully this post will help others avoid the problem (I haven't checked, but I'd bet that the same problem occurs in other Telerik controls as well).

Ivana
Telerik team
 answered on 27 Sep 2012
1 answer
131 views
Hello!

AutoCompleteBoxEntry allows to store only two meaningful fields of data: DataTextField, DataValueField

I try to store an object (with many other fields, beside DataTextField and DataValueField) for further processing in a corresponding AutoCompleteBoxEntry.DataItem (within RadAutoCompleteBox.EntryAdded event's code). But DataItem seems not to be stored anywhere (in ViewState?) along with the AutoCompleteBoxEntry instance, so I cannot access a particular AutoCompleteBoxEntry.DataItem later in Button's click event, for example.

Which practice of storing full data object in DataItem would you advise?
Kalina
Telerik team
 answered on 27 Sep 2012
1 answer
65 views
Hi,

This is a weird one, and I am not sure it's a Telerik problem, but I'm hoping you can shed some light on the issue.
The symptom is that the user cannot expand the very last node in the treeview unless they "very carefully" move the mouse over the top portion of the expand image (+) ; then they see the mouse pointer change to the hand and can click to expand.
The user can move the mouse over any portion of the other nodes' expand image without difficulty - it's only the last (bottom) one that exhibits this weird behavior.

The RadTreeView is within a RadPageView within a RadMultiPage within a RadTabStrip within a RadSplitter.
This symptom does not occur in IE or FF, and only in Chrome and Safari for "some" users with small laptop screens (13").

I have attached a screenshot.

Any ideas or suggestions?

Jim
Plamen
Telerik team
 answered on 27 Sep 2012
1 answer
161 views

Hi All

we update latest version of   "Telerik.Web.UI Version=2012.2.912.40," so now we can’t work with user interface because every controllers are not load and appear as 


The server tag 'telerik:RadComboBox' is ambiguous. Please modify the associated registration that is causing ambiguity and pick a new tag prefix.

development team

rohan & hasindu

Kate
Telerik team
 answered on 27 Sep 2012
11 answers
898 views
Hi all,

I am using a rad grid to display data from my data base. The rad grid has bound fields like date, name, user ID, location etc. I need to display the data sorted according to the date field. Also, I need to add a blank separator row after each sorted group. Please help me in this regard.

Thanks
Uday
Tsvetina
Telerik team
 answered on 27 Sep 2012
2 answers
108 views
Hi,

I believe this to be a bug in the ribbon bar (I am on version 2012.2.724.40).  I have a ribbon bar with a RibbonBarButton called "Save" on it.  When the user clicks save, all fields on the current screen are saved to the database.  However, I have found that for telerik fields on the screen (I've reproduced with RadNumericTextBox, RadTextBox, and RadDatePicker, see below code), if the user does not tab off of the field before clicking the ribbon bar button, that the value entered does not save and reverts back to the previous value.  This behavior does not occur if you use a regular asp.net button. My code to reproduce this is below, I have included a radnumerictextbox, raddatepicker, and a regular asp.net textbox.  The regular asp.net textbox always shows correctly, however the telerik ones do not.  If this is indeed a bug, is there a workaround until a fix is available?  I know it seems minor but we have customers who do much data entry, and little things like this can cause big issues.

The steps to reproduce are:
1.  Enter a value in the rad numeric textbox, say 50.  Tab off (or at least set focus somewhere else), then click 'save' in the ribbon bar.  The alert message shows '50' as expected.
2.  Now change the value to '100'.  Do not tab off the numeric textbox, but instead keep focus.  Click 'save' in the ribbon bar.  The alert shows '50' instead of '100', and the value reverts back to '50' in the textbox as well.

Thank you!
Richard

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<telerik:RadRibbonBar ID="BaseRibbonBar" runat="server" OnButtonClick="BaseRibbonBar_ButtonClick"
    EnableAjaxSkinRendering="true" Visible="true" Skin="Windows7">
    <telerik:RibbonBarTab Text="Basilisk">
        <telerik:RibbonBarGroup Text="Actions" Value="Actions">
            <Items>
                <telerik:RibbonBarButton Size="Large" Value="Save" Text="Save" ImageUrlLarge="~/save.png"
                    ImageUrl="~/Images/save.png" ToolTip="Save the current record" />
            </Items>
        </telerik:RibbonBarGroup>
    </telerik:RibbonBarTab>
</telerik:RadRibbonBar>
<telerik:RadAjaxPanel runat="server" ID="testPanel">
    <telerik:RadNumericTextBox ID="tbMonths" runat="server" Width="40px">
    </telerik:RadNumericTextBox>
    <telerik:RadDatePicker runat="server" ID="datepicker"></telerik:RadDatePicker>
    <asp:Button runat="server" ID="btnTest" OnClick="btnTest_Click" Text="Save" />
    <asp:TextBox runat="server" ID="Asptest"></asp:TextBox>
</telerik:RadAjaxPanel>

protected void btnTest_Click(object sender, EventArgs e)
{
    ScriptManager.RegisterStartupScript(this, GetType(), "Test", "alert('result is " + tbMonths.SelectedDate.ToString() + "');", true);
}
 
protected void BaseRibbonBar_ButtonClick(object sender, Telerik.Web.UI.RibbonBarButtonClickEventArgs e)
{
    ScriptManager.RegisterStartupScript(this, GetType(), "Test", "alert('ribbon result is " + tbMonths.Value.Value.ToString() + "');", true);
}

Richard
Top achievements
Rank 1
 answered on 27 Sep 2012
2 answers
105 views
How to show radconfirm with RadButton?On clicking the button it simply disappears..
Shinu
Top achievements
Rank 2
 answered on 27 Sep 2012
1 answer
84 views
How can I add a web form using the telerik scenarios wizard and still select a master page. I realize I can add RadStyleSheetManager, RadScriptManager, and  RadAjaxManager after I create the page, but that seems like a step that should be handled automatically.

Am I missing something obvious? 

Thanks, Marty
Marin Bratanov
Telerik team
 answered on 27 Sep 2012
2 answers
311 views
I have a radGrid control with a nested panel inside.  The panel contains various text boxes.  The only way that I have been able to find the text box within the nested panel is using a foreach loop.  I have not been able to only find the textbox within the selected row.  Below is the code i am using...

            foreach (GridNestedViewItem item1 in rgrdContacts.MasterTableView.GetItems(GridItemType.NestedView))
            {
                if (e.Item.Cells[3].Text == "False")
                {
                    string popupTitle = "Edit Contact";
                    LinkButton linkButton = (LinkButton)item1.FindControl("lbtnEditContact");
                    linkButton.Attributes.Add("onClick", BuildLightBox("../Pages/EditContact.aspx?IsDlg=0&ContactId=" + e.Item.Cells[2].Text, popupTitle, 960, 680));
                    linkButton.CssClass = "cwp-button";
                    linkButton.Visible = true;
                }
}

Thank you
Julio
Top achievements
Rank 1
 answered on 27 Sep 2012
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?