Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
571 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
160 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
754 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
203 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
314 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
202 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
251 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
178 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
216 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
5 answers
150 views
Hi,

I'm experiencing problems with the RadUpload sometimes working great with progress indicator for files up to 2GB and sometimes I get "Internet Explorer cannot display the web page."  The files can be as smaller than 1MB and I can still have the same problem.  I did not seem to have this problem when the server was on our internal network, where of course the network speeds are much faster.  Tthe "Internet Explorer cannot display the web page" can come up after 10 seconds, 20 seconds, 30 seconds, 40 seconds, ...after executing the Submit button to perform the upload.  I've played with client browser timeout settings, set IIS 7.5 uploadReadAheadSize to 5MB, set IIS 7.5 connection timeout to 3 hours (10800 seconds), but I can't seem to solve this problem.  The RadUpload utility logs in the IIS web logs that it is uploading, and the last log when I get "Internet Explorer cannot display the web page" is that it is uploading.  There are no other logs anywhere.  Even if the network is dropping packets or something, is there a way to build in some better error control handling so that when this happens the upload session can stay in progress?

Mary
Peter Filipov
Telerik team
 answered on 10 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?