Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
342 views
Hi Guys,

There is an important Issue which i need to discuss with regard to RADTABSTRIP.

On Click of " Currently Selected TAB " which i am already viewing, the TAB_Click Event is not firing, but when i click the other tab, then the event is fired. But for my implementation, i require to click on same tab and tab_click event should fire.

AutoPostback is true.

Request your help in understanding as to why "Event is not fired" when you click the same tab which you are currently viewing.


Thanks in Advance,
Nencho
Telerik team
 answered on 07 Nov 2014
3 answers
117 views
Hi.

Actually i´m using a PivotGrid and when a FieldsWindow is displayed and the fields are offered to choose, some of them are created by the control.

How is possible to hide or desactivate them?

Thanks in advance.
Guillermo
Top achievements
Rank 1
 answered on 07 Nov 2014
7 answers
491 views
Hi,

On the page for the AutoCompleteBox (http://www.telerik.com/products/aspnet-ajax/autocomplete-box.aspx) where they talk about the Positioning, the entries have a flag and a text.
How can we do this ?
I did not find anything in the samples that look like it.

More specifically I would like to be able to change the background color of the entries based on a property of the entry. (ex: France would be blue, United States would be Green,...)
Boyan Dimitrov
Telerik team
 answered on 07 Nov 2014
3 answers
292 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
124 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
70 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
170 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
243 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
208 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
308 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?