Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
158 views
Hello,

Recently you guys released the new version of controls. After upgrading to the lastest version we  are facing prblem in UI. Please find the screen shots as below. But when we revert back to older version everything is working fine.
sharath
Top achievements
Rank 1
 asked on 18 Nov 2014
1 answer
232 views
Ok, I have gone through the documentation and differetn posts but cannot find an eample that shows for my situation.  i want to change the background color of an ID that comes from my database.  I am bring the intstatusID from my database, where can I assign it that I can get ahold of that value and then change the background color of it based on the value.  thank you

<telerik:RadScheduler ID="rsTACCUsage" runat="server" DataKeyField="intLeaseDateId" Skin="Web20" DataStartField="dtStartDate" DataEndField="dtEndDate" DataSubjectField="Subject"
                           SelectedView="MonthView" Height="800px" AllowEdit="false" AllowInsert="false" AllowDelete="false" CustomAttributeNames="strOrgType">
                       </telerik:RadScheduler>
 
 
 
sql = "select d.intLeaseDateId, d.dtStartDate, d.dtEndDate, 'Lease Name: ' + l.strLeaseeName + '  Event: ' + l.strEventType Subject, l.intStatusID from tblLeaseDates d LEFT JOIN tblTaccLease l on l.intLeaseId = d.intLeaseId where l.intArmoryId = " & Armory
           
           rsTACCUsage.DataSource = getReader(sql)
           rsTACCUsage.DataBind()
Boyan Dimitrov
Telerik team
 answered on 18 Nov 2014
1 answer
162 views
I would like know the compatible version of jQuery for the Telerik.Web.UI 2011.1.614.35.

Any help is appriciated

Thanks
Dan
Danail Vasilev
Telerik team
 answered on 18 Nov 2014
1 answer
130 views
Hi,

I'm trying to set the value of progressbar in the label but sometimes work and sometimes not! I simple copy the code that's in the documentation but sometimes the label appears once and sometimes appers twice.

<telerik:RadProgressBar runat="server" ID="RadProgressBar1"  BarType="Percent" MaxValue="100" Value="33" Width="250" Orientation="Horizontal" ShowLabel="true" Skin="Silk"></telerik:RadProgressBar>

I've attatched a sample image that shows what I'm trying to explain.

I'm using the progress bar inside a template column of a grid.

What's missing me ?

Thanks in advanced.
Luís Maurício
Slav
Telerik team
 answered on 18 Nov 2014
5 answers
276 views
hi
which find control for example, button, in RadListView1_ItemEditing

i try below code,but give error.



  protected void RadListView1_ItemEditing(object sender, RadListViewCommandEventArgs e)
    {
RadListViewEditableItem editedItem = (RadListViewEditableItem)e.ListViewItem;

 RadTextBox txtSubject =(RadTextBox)editedItem.FindControl("txtSubject");

txtSubject .Text="hi";

}
please help me.
thanks
Konstantin Dikov
Telerik team
 answered on 18 Nov 2014
11 answers
726 views
Hi
I have a question regarding radgrid header. I want to make 4 headers  in the grid redirect to a  different page and display as a link. How can i capture the click event of the header as i have to  loop through the radgrid and get the values of that column (header clicked column) to update the table.

Thanks,
Rajeswari Raman
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Nov 2014
6 answers
486 views
Hi,

I am using Radgrid with inline editing... and on clicking on a button inside edited row, I am opening a popup window.

The Popup window has a textbox and a submit button.

Now when I click on submit button from popup, i want to update the textbox value to parent page (inside radgrid edited row).


For more details please have a look on attached screenshot




Thanks
Mukesh
Diego
Top achievements
Rank 1
 answered on 18 Nov 2014
4 answers
252 views
Hello there,

I have a SharePoint 2013 environment with a site collection running in 2010 mode.
(My project is working in 2010 and 2013 as 2013 mode, I tested it in the same WebApplication and the same AppPool.)

I have a RadPane / RadTreeView / ContextMenu.

When I cause a PostBack by moving the splitter, expanding a pane, opening the context menu or whatever belonging to my custom user control using RadControls a postback is caused, the server is successfully proceeding the ajax request but on callback I get a recursive call of WebForm_InitCallback (_layouts/1031/init.debug.js) and the RadControls disapear:

function DeferWebFormInitCallback()
{ULSA13:;
    if (typeof(WebForm_InitCallback)=='function')
        window['_WebForm_InitCallback']=window['WebForm_InitCallback'];
    window['WebForm_InitCallback']=function ()
    {ULSA13:;
        if (firstCalled)
        {
            firstCalled=false;
            _callbackinitdelayed=true;
            _spBodyOnLoadFunctionNames.push('WebForm_InitCallback');
        }
        else
        {
            _callbackinitdelayed=false;
            if (typeof(window._WebForm_InitCallback)=='function')
                window._WebForm_InitCallback();****
        }
    }
    if (typeof(WebForm_DoCallback)=='function')
        window['_WebForm_DoCallback']=window['WebForm_DoCallback'];
    window['WebForm_DoCallback']=function(eventTarget, eventArgument, eventCallback, context, errorCallback, useAsync)
    {ULSA13:;
        if (_callbackinitdelayed)
        {
            _callbackinitdelayed=false;
            if (_spBodyOnLoadFunctionNames !=null)
            {
                var count=_spBodyOnLoadFunctionNames.length;
                for (var i=0; i<count; i++)
                {
                    if (_spBodyOnLoadFunctionNames[i]=="WebForm_InitCallback")
                    {
                        _spBodyOnLoadFunctionNames.splice(i,1);
                        break;
                    }
                }
            }
            if (typeof(window._WebForm_InitCallback)=='function')
                window._WebForm_InitCallback();
        }
        window._WebForm_DoCallback(eventTarget, eventArgument, eventCallback, context, errorCallback, useAsync);
    }
}

The exception is thrown at the position marked with ****. The error in IE10 (document mode 9) is "Not enough stack space". In IE10 with document mode IE8 the error is "This object doesn't support this property or method."

I'm running Telerik.Web.Design and Telerik.Web.UI version 2013.1.417.35.

Please help me, I'm stuck :(
Suresh
Top achievements
Rank 1
 answered on 17 Nov 2014
3 answers
224 views


below code is working only for first ajax request . in my
page i have multiple(3) calls but i am unable to use the xmlhttprequest
again. is there any way i can make it work? for example i have below 2
calls, only for first one is i am good but the second one requests are
not getting. any thoughts?

loadDiv("dataProcessing", "FileDropReceiver.aspx?id=1&fileName=" +
FilePath[row - 1] + "&client=" + clientCodeAndName.replace('&',
'|'));

loadDiv("dataProcessing",
"FileDropReceiverRags.aspx?setSecurity=yes&postMyGroup=" +
postMyGroup + "&postPermission=" + postPermission);

below is my code

var xhr;
var isNotIE = false;

var uploading = false;
function loadAjax(div) {
try { xhr = new ActiveXObject('Microsoft.XMLHTTP'); }
catch (e) {
try { xhr = new ActiveXObject('Msxml2.XMLHTTP'); }
catch (e2) {
try {
xhr = new XMLHttpRequest();
isNotIE = true;
}
catch (e3) {
xhr = false;
}
}
}
if (!xhr) {
alert("fail!");
}

xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {

var ajaxDisplay = document.getElementById(div);

ajaxDisplay.innerHTML = xhr.responseText;

if (xhr.status == 200) {
xhr.responseText;
}
else {

}
}
};
}
function loadDiv(div, page) {
loadAjax(div);
xhr.open("GET", page, false);
xhr.send(null);
}

let me know how to reuse the xmlhttprequest again and again?

Rags
Top achievements
Rank 1
 answered on 17 Nov 2014
5 answers
695 views
Hi,

Is it possible to invoke radgrid batcheditcommand from code behind.

I saw a mthod to call it from javascript but i want to do it in Vb.net
Mitch
Top achievements
Rank 1
 answered on 17 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?