Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
236 views
All,

I'm having a GUI issue with the RadGrid, a problem that I thought I had resolved by setting the EnableTheming to false on the RadGrid itself.

The problem is that I get blanks instead of images for any of the controls on the RadGrid that are supposed to be imaged.  Originally, I got around this problem by setting 'EnableTheming=false', but as soon as I attached a Master page to the screen, the problem came back.

I tried setting the EnableTheming to false for the page and the Master Page and it still doesn't alleviate the problem.  If I remove the Master Page, the images come back.

I'm wondering what else might be causing this conflict.  Based on the behavior, I'm thinking it's something that might be coded on the Master page itself.

Any hints or tips would be greatly appreciated

Ray
Maria Ilieva
Telerik team
 answered on 10 Jul 2012
1 answer
554 views

Hi,

I have an error when clicking a button or Changing Radcombo in a JQuery popup

I am using Updatepanel with RadAjaxManager.

The stack of the error message is:

Stack Trace:

[ArgumentException: Invalid JSON primitive: {"enabled":true,"emptyMessage":"","minValue":1,"maxValue":70368744177664}.]
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) +561472
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +44
   System.Web.Script.Serialization.JavaScriptSerializer.DeserializeObject(String input) +13
   Telerik.Web.UI.RadWebControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +136
   Telerik.Web.UI.RadInputControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +50
   Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +42
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +327
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +878


I appreciate the help.
Dimitar Terziev
Telerik team
 answered on 10 Jul 2012
8 answers
157 views
Hi,

Can any one help me on this.

I want to remove the first column (Enabled false) one from the raddate picker calender popup.

Please refer my attachment for detail.

Thanks in Advance,

Thenmozhi.R
Maria Ilieva
Telerik team
 answered on 10 Jul 2012
3 answers
723 views
Hi,

How can I clear the filter items in the RadFilter programmatically? I want to be able to do programmatically that we can do by clicking "X" to remove a filter item from the RadFilter. Is this possible? If so, can you provide me an example to do this?

I want to remove all filter items and not just one item. (reset to the default RadFilter view with no filter expressions)

Thanks
Mahipal
Maria Ilieva
Telerik team
 answered on 10 Jul 2012
4 answers
199 views
Hi All

RadTicker1.Items.Add(new RadTickerItem("Stuart"));
           RadTicker1.Items.Add(new RadTickerItem("<a href=url>Link text</a>"));
           RadTicker1.Loop = true;         
 
           RadRotator1.Items.Add(new RadRotatorItem(RadTicker1));          
           RadRotator1.Enabled = true;
           RadRotator1.Visible = true;
           RadRotator1.RotatorType = RotatorType.AutomaticAdvance;

This shows my Text but does not format the html link as a link it shows it as "<a href=url>Link text</a>" raw, this code is in a user control. How to I get HTML in a rotator formated? (code behind)"


Thanks
Stuart
Niko
Telerik team
 answered on 10 Jul 2012
2 answers
307 views
Hi,

we just switched from Q3/2011 to Q2/2012 and have a slight layout problem with the RibbonBar since the new version.
The second line of a button's text gets cut off. The text can contain a line break (button.Text = "lineA <br/> lineB");
I attached a screenshot where you can see the problem.

How can I ensure that the second line is displayed correctly like in Q3/2011?
JP
Top achievements
Rank 1
 answered on 10 Jul 2012
11 answers
197 views
Can anyone tell me how to add the time range on the first row?  Please refer to the attachement.

 

Plamen
Telerik team
 answered on 10 Jul 2012
3 answers
243 views
I have a webpage that I need to dynamically set 4 radcombobox onclientselectedindexchanged events to a javascript function, however when the combobox index is changed the event does not get fired, can someone help me please?

here is the javascript:

<script type=
"text/javascript">
    var cbxCSI = new Array(4);
    var rcbCSI = new Array(4);
     function OnLoad() {
        var onLoadCSIs = ['<%=objBidder.BidderCSI1%>', '<%=objBidder.BidderCSI2%>', '<%=objBidder.BidderCSI3%>', '<%=objBidder.BidderCSI4%>'];
 
        var rbWITHOUT = document.getElementById("rbWITHOUT");
        var lblWithoutCSI = document.getElementById("lblWithoutCSI");
 
        cbxCSI[0] = document.getElementById("cbxCSI1");
        cbxCSI[1] = document.getElementById("cbxCSI2");
        cbxCSI[2] = document.getElementById("cbxCSI3");
        cbxCSI[3] = document.getElementById("cbxCSI4");
 
        rcbCSI[0] = $find("clsCSIDivision_rcbClassifier");
        rcbCSI[1] = $find("clsCSIDivision1_rcbClassifier");
        rcbCSI[2] = $find("clsCSIDivision2_rcbClassifier");
        rcbCSI[3] = $find("clsCSIDivision3_rcbClassifier");
 
        rcbCSI[0].onclientselectedindexchanged = 'OnClientSelectedIndexChanged';
        rcbCSI[1].onclientselectedindexchanged = 'OnClientSelectedIndexChanged';
        rcbCSI[2].onclientselectedindexchanged = 'OnClientSelectedIndexChanged';
        rcbCSI[3].onclientselectedindexchanged = 'OnClientSelectedIndexChanged';
 
        function CheckWithoutStatus() {
            var allCbxUnchecked = true;
            for (i = 0; i < cbxCSI.length; i++) {
                if (cbxCSI[i].checked == true)
                    allCbxUnchecked = false;
            }
            if (allCbxUnchecked == true) {
                lblWithoutCSI.disabled = "";
                rbWITHOUT.checked = true;
            }
        }
 
        if (rbWITHOUT.checked == true) {
            for (i = 0; i < cbxCSI.length; i++) {
                if (rcbCSI[i].get_selectedItem().get_value() != "") {
                    rcbCSI[i].disabled = true;
                }
                else {
                    cbxCSI[i].disabled = true;
                }
                cbxCSI[i].checked = false;
            }
        }
        else {
            for (i = 0; i < cbxCSI.length; i++) {
                if (rcbCSI[i].get_selectedItem.get_value() != "") {
                    rcbCSI[i].disabled = !cbxCSI[i].checked;
                }
                else {
                    cbxCSI[i].disabled = true;
                }
            }
            CheckWithoutStatus();
        }
    }
    function OnClientSelectedIndexChanged(sender, eventArgs) {
        RefreshCsiOptions(sender);
    }
    function RefreshCsiOptions(sender) {
        switch (sender.type) {
            case "radio":
                if (sender.checked == true) {
                    for (i = 0; i < cbxCSI.length; i++) {
                        if (rcbCSI[i].get_selectedItem().get_value() != "") {
                            rcbCSI[i].disabled = true;
                        }
                        else {
                            cbxCSI[i].disabled = true;
                        }
                        cbxCSI[i].checked = false;
                    }
                    lblWithoutCSI.disabled = "";
                }
            case "checkbox":
                var cbxNumber = sender.id.substr(6, 1);
                if (sender.checked == true) {
                    rcbCSI[cbxNumber - 1].disabled = false
                    lblWithoutCSI.disabled = "disabled";
                    rbWITHOUT.checked = false;
                }
                else {
                    rcbCSI[cbxNumber - 1].disabled = true;
                }
                CheckWithoutStatus();
            case "select-one":
                var rcbNumber = sender.id.substr(14, 1);
                if (rcbNumber == "_")
                    rcbNumber = "0";
                var rcbValue = rcbCSI[rcbNumber].get_selectedItem().get_value();
                var radcb = $find('CSI' + rcbNumber + '_value');
                var item = radcb.findItemByText(rcbValue);
                if (item)
                {item.select();}
                if (rcbValue != "") {
                    cbxCSI[rcbNumber].disabled = false;
                    cbxCSI[rcbNumber].checked = true;
                    if (rbWITHOUT.checked == true)
                        rbWITHOUT.checked = false;
                }
                else {
                    cbxCSI[rcbNumber].disabled = true;
                    cbxCSI[rcbNumber].checked = false;
                    CheckWithoutStatus();
                }
            default:
                //alert(sender.type);
                break;
        }
    }   
</script>
Nencho
Telerik team
 answered on 10 Jul 2012
1 answer
177 views
How to dynamically add rows to radgrid when press add new button . in my case when i press add  new button in the first time it works fine and it add one row. but after that when i press it wont effect..
Shinu
Top achievements
Rank 2
 answered on 10 Jul 2012
4 answers
210 views
Hello,

I use the component RadTabStrip. It is impossible to change the tooltip of a RadTab. It automatically changes the Text property. The value of the property Tooltip does not work.

cordially
Snoopy
Top achievements
Rank 1
 answered on 10 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?