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

I currently have a list of objects in session memory.  I am wondering if there is an efficient way of rendering the changes of a specific object to a repeater without having to call DataBind() on the whole list.

John
Konstantin Dikov
Telerik team
 answered on 06 Nov 2014
3 answers
162 views
Does Telerik have any examples of the use of SignalR and a Rotator?.  I'd be interested establishing a Master-to-Child relationship between Rotators.  Where a 'start' command on the master rotator would broadcast a move to a slide.

Cheers
Slav
Telerik team
 answered on 06 Nov 2014
1 answer
79 views
hello, 

is it possible to display the rowheader/rowzone and datazone on the right side instead of the left side?

thanx
Antonio Stoilkov
Telerik team
 answered on 06 Nov 2014
3 answers
186 views
Hi,

I am having an issue with scroll position of ComboBox with load on demand, in the Cities ComboBox on dropdown opening we will be listed with first ten cities. And I have selected a city directly by scrolling say Colorado and when I click on the ComboBox to change my selection my first item will be Colorado in the list which is good and if I keep scrolling down on every callback for getting the data the scroll position moves to the selected city which is Colorado and again I have to keep scrolling to move to the last which is very annoying. I have checked the Demo link the issue which I am facing is not present there. Can you help me in fixing this issue. 

And I am using OnClientDropDownOpening and OnClientItemsRequesting client side events.

I am using OnClientDropDownOpening event to fix an issue with setting up a initial value for the ComboBox on page load. I am successful in adding a RadComboBoxItem to the RadComboBox on Page load. But adding it broke load on demand as on clicking the ComboBox nothing was loading and even the ShowMoreResults is blank. So to fix it up I am calling requestItems in the OnClientDropDownOpening event. The code is added below:

function OnClientDropDownOpening(sender) {
    var attributes = sender.get_attributes();
    //An attribute to check if an Initial Value is set for the ComboBox
    var enableInitialValue = attributes.getAttribute('EnableIntialValue');
    if (enableInitialValue != null && enableInitialValue == "true") {
        sender.requestItems("", false);
    }
}

function OnClientItemsRequesting(sender, eventArgs) {
    var attributes = sender.get_attributes();
    //Attribute to set the name of the DataAccess which will be read in BasePage
    //WebMethod and DataAccess object is fetched from the repository
    var dataAccess = attributes.getAttribute('DataAccess');
    //Filters to be applied on the DataAccess
    var filters = attributes.getAttribute('DataFilters');
    var context = eventArgs.get_context();
    context["DataAccess"] = dataAccess;
    context["DataFilters"] = filters;
    //Added this code as the Selected Item text was being passed on every callback after selecting an item
    //Checking if Context.Text equal to Selected Item text then setting filter text as empty.
    //This issue I could reproduce in the Demo link as well.
    var selectedValue = parseInt(sender.get_value() != "" ? sender.get_value() : 0);
    if (selectedValue > 0 && sender.get_text() == context.Text) {
        context.Text = "";
    }
}
And this is the Common WebMethod which resides in the BasePage which is implemented by all the pages of the Application. So ComboBox user control will not have WebMethod for each instance in each page.

    [WebMethod]
    public static RadComboBoxData FillComboBox(RadComboBoxContext context)
    {
        var comboData = new RadComboBoxData();
        var dropDownFiller = new FillableRepository();
        var dataAccessName = Convert.ToString(context["DataAccess"]);
        var dataAccess = dropDownFiller.GetPropertyValue(dataAccessName);
        var filtersJson = Convert.ToString(context["DataFilters"]);
        var filterConditions = DeserializeFilters(filtersJson);
        if (filterConditions.NotNullAndAny()) dataAccess.SetFilters(filterConditions);
        var fillableList = dataAccess.GetFillableData(context.Text);
        var itemCount = fillableList.Count;
        var itemOffset = context.NumberOfItems;
        var endOffset = Math.Min(itemOffset + ItemsPerRequest, itemCount);
        comboData.EndOfItems = endOffset == (itemCount);
        var result = new List<RadComboBoxItemData>();
        for (var i = itemOffset; i < endOffset; i++)
        {
            var itemData = new RadComboBoxItemData
            {
                Text = fillableList[i].DataField,
                Value = Convert.ToString(fillableList[i].ValueField)
            };
            result.Add(itemData);
        }
        comboData.Message = GetComboStatusMessage(endOffset, itemCount);
        comboData.Items = result.ToArray();
        return comboData;
    }

Please guide me in fixing the issue it is very urgent. 













Boyan Dimitrov
Telerik team
 answered on 06 Nov 2014
1 answer
258 views
I have RadToolTipManager enabled with autotooltipify on. I however only want the tooltips I define. RadGrid is now showing tooltips for the Update, Delete and Cancel buttons. How do I disable those tooltips?

Konstantin Dikov
Telerik team
 answered on 06 Nov 2014
1 answer
224 views
Hi ,

I didn't find any method in Radeditor control to Find a particular word and highlight it.Please throw me any suggestions how can i achieve this ?

Thanks.
Ianko
Telerik team
 answered on 06 Nov 2014
1 answer
347 views
I have a radgrid with a dropdown template for filtering. If there are null values, the dropdown displays a blank row.On click of this nothing happens. How can I catch this and display IS NULL?

void RadComboBoxControl_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
       {           
           string filterExpression;
           filterExpression = "([" + colname + "] ='" + e.Value + "')";
           if (e.Value.Equals("All"))
               filterExpression = " ";        
           radgrid.MasterTableView.FilterExpression = filterExpression;
           selectedValue = e.Value;
           radgrid.MasterTableView.Rebind();                   
       }
if (e.Value.Equals(""));
what should the filterExpression be so that all NULL rows are filtered.
Eyup
Telerik team
 answered on 06 Nov 2014
4 answers
289 views
Hi Team,
Could you please help us to solve the below issue :

Issue :
1) Inserted some text with HyperlinkRangeStart and HyperlinkRangeEnd (with "Track Changes" ON).
2) Selected this text and clicked "Accept".
3) Still the text is in Red color, it's not changed to Blue color.

Attachments :
Step 1 - Insert sample text with Hyperlink Range.png
Step 2 - Select text and Accept.png
Step 3 - Change is Accepted, still its shown in Red Color.png

Thanks,
Obuliraj Ramalingam
Ramalingam
Top achievements
Rank 1
 answered on 06 Nov 2014
1 answer
122 views
I am creating a prototype with tabs similar to the tabbed web browser. I add 2 tabs on intial load. the first tab is bound to a user control and the second tab is a empty stub to create a new tab(just as in tabbed web browsers). When I click on the stub tab, I add a new tab and a pageview to assign to it and also bind a user control to the pageview. the issue is, this newly added tab renders the contents of the previous filled tab instead of empty controls. I also would like to add a little close button to be able to close the tabs. Pls provide any solutions.
Boyan Dimitrov
Telerik team
 answered on 06 Nov 2014
3 answers
163 views
Ever since adding the RadPageLayout control to my master page, design view is broken on pages that use the master page.

Is it just me, or is this control misbehaving? The embedded controls simply don't appear in design view.

Ken
Nencho
Telerik team
 answered on 06 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?