Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
130 views
Hi

I am using rad tree list successfully working

but i have problem is take much time taken for collapsing and expand the nodes.

how reduce this and increase performance

And

also i am taking "TreeListTemplateColumn " for asp checkboxs column in treelist control

when i am clicking the parent checkbook automatically child also cheeked but this functionality not working for me

Please give the this two solutions

Thanks for ur help !
Tsvetina
Telerik team
 answered on 21 Jun 2011
1 answer
88 views
With the following Radslider settings (see below).... The initial state of the slider on the client browser incorrectly displays as SelectionStart= 0 and SelectionEnd=1.  In the code behind the proper values can be retrieved (SelectionStart= .1 and SelectionEnd=.6) before the page is sent to the browser.  It seems at some point a conversion decimal to int is being made for the client display.

<telerik:RadSlider runat="server" ID="RadSlider4" Orientation="Vertical" Height="300" IsDirectionReversed="true" Width="50"
SelectionStart=".1" SelectionEnd=".6"
MinimumValue="0"
MaximumValue="1"
LargeChange=".1"
SmallChange=".05" 
TrackPosition="BottomRight" ItemType="Tick" IsSelectionRangeEnabled="true"  EnableServerSideRendering="true" OnClientValueChanged="HandleValueChanged" >  </telerik:RadSlider>

At the browser, the client-side functionality works correctly when the sliders are moved and proper decimal values  are provided using the function below

function HandleValueChanged(sender, eventArgs) {
            $get("sliderValue").value = sender.get_selectionStart();
            $get("sliderValue2").value = sender.get_selectionEnd();
        }
Niko
Telerik team
 answered on 21 Jun 2011
3 answers
111 views
Hi!

I have built an upload-solution using RadAsyncUpload and a RadProgressArea. This works fine in my dev-environment running 2008R2 and IIS7.5. When i deploy it to staging-servers using only win2008 and IIS7.0, the progressarea only displays "NaNB", "NaN%" etc. as progress.

I have checked permissions in filesystem, web.config for handler-registration but it is all the same as in developement. Do you have any ideas as to where I need to go next in my error-checking?

Regards,
Matts
Genady Sergeev
Telerik team
 answered on 21 Jun 2011
3 answers
468 views
This problem seems to happen only in Chrome.  If you copy text and paste it into the RadEditor (from notepad, so no formatting is applied), the font of the text that is pasted and all other text in the editor is changed to Chrome's default font (whatever that happens to be).  I actually have a short video that demonstrates the issue that was put together by one of our users who reported the issue.   In this case the default font is Times New Roman, size 3 and you can see that when the content is pasted all the fonts in the entire editor are affected.  I changed my default font to "Stencil" in Chrome and was able to reproduce the same thing.  The interesting thing to note is that if you use the RadEditor's Paste toolbar items it seems to work fine.  again this is only an issue in Chrome.  Do you have any suggestions for fixing this issue?  I'm using Telerik.Web.UI.dll version 2011.1.315.35.

Thanks!
-Mark
Marin Bratanov
Telerik team
 answered on 21 Jun 2011
1 answer
220 views
Hello

I tried the async file upload example from the demos, the one within a grid, and it worked ok on my developer machine, in debug mode.
Then after i deployed it on a remote virtual machine, which runs IIS 6, it stopped working!
The error is a javascript one, saying something about Silverlight, it's quite large but i'll paste it here:
Message: Unhandled Error in Silverlight Application [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60129.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer ;  at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at UploadPrototype.MainPage.ProcessResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassd.<InvokeGetResponseCallback>b__b(Object state2)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Line: 1
Char: 1
Code: 0

I updated the telerik version to the latest from the the site, and also referenced the new dlls in my project, but the problem persists.
Is there a way to solve this?

Thx a lot.
Genady Sergeev
Telerik team
 answered on 21 Jun 2011
2 answers
115 views
how to get radgrid cancel command in radcombobox selectedindexchanged event
abinav
Top achievements
Rank 1
 answered on 21 Jun 2011
3 answers
76 views
Hi

I'm currently working on a web app and I'm using the following technologies: asp, silverlight and ajax. I'm using telerik too (aspnet.net ajax component). My problem is that I need silverlight to talk to my asp code. So, I tried to used a ajax-enabled WCF  service to make the communication, but it seem like telerik doesn't really work with it. I come to that conclusion cause I tried two examples and they both work well with a asp.net application, but not with a RadControl web application. For those who are interested, here are the example :

http://www.dotnetcurry.com/ShowArticle.aspx?ID=235 and http://msdn.microsoft.com/en-us/library/bb924552.aspx.

So, am I missing something, or telerik and ajax-enabled wcf service really don't work together. And if so, what can a use to talk between my server-side code and my silverlight.
Thank you

David 
David
Top achievements
Rank 1
 answered on 21 Jun 2011
1 answer
56 views
Hi

Tried the examples I have found in Telerik site to try and set the forecolor of a hierarchical grids header but nothing works. The back color is setting but not the forcolor. I have tried setting the color in my CSS, I have tried setting the color at the GridGroupHeaderItem level and setting the Forecolor at the GridGroupHeaderItem.DataCell level. Here is the latest code. Can you tell me why this isnt working? I am also wanting to set Font so I assume I will hit a similar issue. Thank you

.nomRed1
{
background-color: #ef1209; 
}
.nomRed2
{
background-color: #c1131e; 
}


protected void clientContribution_ItemDataBound(object sender, GridItemEventArgs e)
{
    if (e.Item is GridGroupHeaderItem)
    {
        GridGroupHeaderItem item = (GridGroupHeaderItem)e.Item;
        DataRowView groupDataRow = (DataRowView)e.Item.DataItem;
        item.CssClass = "nomRed1";
        item.DataCell.ForeColor = Color.Magenta;
    }
}
wonderbison
Top achievements
Rank 1
 answered on 21 Jun 2011
2 answers
110 views
Hi,

Recently, my department upgrade RadControl4AJAX to the latest one. When I tried the RadCombo for search, I think its performance is somewhat badly suffered in loading about 40K rows. Is there anyway to get it works faster or I have to reduce the record load?

Sincerely,

d-cpt
d-cpt
Top achievements
Rank 2
 answered on 21 Jun 2011
6 answers
131 views
Hi,

I've been knocking my head against this problem for a full day now - any help will be very much appreciated.

I have a databound RadPanelBar, each Panel contains a set of search results. The display of results is encapsulated in a user controls, SearchResults. The user control is instantiated in the item template of the panel bar, and on databinding, it's event delegates are set - yest these are never called when the datapager posts back from the client.

The markup looks like this:

<telerik:RadPanelBar ID="resultsPanelBar" runat="server" ExpandMode="FullExpandedItem" >
    <ItemTemplate>                         
        <telerik:RadAjaxPanel ID="wrapperPanel" runat="server" RequestQueueSize="10">               
            <telerik:RadXmlHttpPanel RequestQueueSize="4" LoadingPanelID="searchLoadingPanel" ID="resultsUpdatePanel" runat="server">           
                <selfsvc:SearchResults ID="searchResult" runat="server" />
            </telerik:RadXmlHttpPanel>
        </telerik:RadAjaxPanel>
    </ItemTemplate>
</telerik:RadPanelBar>

The databinding code sets the delegates for the pager's server events as follows:

void resultsPanelBar_ItemDataBound(object sender, Telerik.Web.UI.RadPanelBarEventArgs e)
{
    string sourceName = ((KeyValuePair<string, string>)e.Item.DataItem).Key;
    RadXmlHttpPanel panel = (RadXmlHttpPanel)e.Item.FindControl("resultsUpdatePanel");
    if (panel != null)
    {
        selfService.UserControls.SearchResults results = (selfService.UserControls.SearchResults)panel.FindControl("searchResult");
        if (results != null)
        {
            results.SourceName = sourceName;
            RadDataPager pager = (RadDataPager)results.FindControl("RadDataPager1");
            if (pager != null)
            {
                pager.Command += new EventHandler<RadDataPagerCommandEventArgs>(pager_Command);
                pager.PageIndexChanged += new EventHandler<RadDataPagerPageIndexChangeEventArgs>(pager_PageIndexChanged);
            
        }
        clientPnlSrcMap.Add(panel.ClientID, sourceName);
        panel.ServiceRequest += new XmlHttpPanelEventHandler(panel_ServiceRequest);
    }
Rob
Top achievements
Rank 1
 answered on 21 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?