Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
240 views
I get the following error but i can not seem to find anybody else who has on the forum. Thanks

adUpload Ajax callback error. Source url returned invalid content:



<html>

    <head>

        <title>The resource cannot be found.</title>

        <style>

         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}

         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}

         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

         pre {font-family:"Lucida Console";font-size: .9em}

         .marker {font-weight: bold; color: black;text-decoration: none;}

         .version {color: gray;}

         .error {margin-bottom: 10px;}

         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

        </style>

    </head>



    <body bgcolor="white">



            <span><H1>Server Error in '/newcart' Application.<hr width=100% size=1 color=silver></H1>



            <h2> <i>The resource cannot be found.</i> </h2></span>



            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">



            <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.

            <br><br>



            <b> Requested URL: </b>/newcart/Admin/Telerik.RadUploadProgressHandler.ashx<br><br>



            <hr width=100% size=1 color=silver>



            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053



            </font>



    </body>

</html>

<!--

[HttpException]: The file '/newcart/Admin/Telerik.RadUploadProgressHandler.ashx' does not exist.

   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)

   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)

   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)

   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)

   at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)

   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)

Peter Filipov
Telerik team
 answered on 29 Mar 2011
1 answer
77 views
Hi,

we have been using telerik controls throught different webparts during 6 or 7 months. At the beggining we were using the dll version 2010.2.713.35, but for some reasons some projects we had to use 2010.2.826.35 (the radgrid didn´t work properly on a toolpart).

We have realized now that in some pcs with versions 2010.2.713.35 and  2010.2.826.35 installed. Controls like RadComboBox, stop working. Throwing exceptions like Telerik.Web.UI.RadComboBox is not compatible with control type Telerik.Web.UI.

All the controls are used in Visual WebParts with the <%@ Register directive with the specified version some ones uses 713 others 826. 


What shall we do? Is it possible to have different projects using different dlls on the same pc?

Thanks

Apologize for my English skills, i will be happy to answer any questions.
Helen
Telerik team
 answered on 29 Mar 2011
2 answers
85 views
Hi,

I'am using this exemple :
http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/checkboxes/defaultcs.aspx

Each node is equal to a text, but to insert it in the database i need to pass an ID.
So is there a way to get ID from all the checkbox that are seleted?
By ID i mean the id that i passing from the database

Ex : If the user click the node
École Donat-Robichaud then this school as an unique id from the database = 1
École Secondaire-Assomption same thing id = 19

I hope i explan my self correctly

Here how i create my treeView :


<telerik:RadTreeView runat="server" ID="RadTreeView1" 
               DataSourceID="SqlRegionEcole" DataFieldID="id" 
               DataFieldParentID="parentId" CheckBoxes="true" TriStateCheckBoxes="true"  CheckChildNodes="true"
               DataValueField="Luc" Skin="Sunset">
                   <DataBindings>
                       <telerik:RadTreeNodeBinding TextField="Name" />
                         
                   </DataBindings>
              </telerik:RadTreeView>

With this i code i get all the name that are selected :
But i don't want the FullPath i need the ID that is selected

Protected Sub ShowCheckedNodes(ByVal treeView As RadTreeView)
        Dim message As String = String.Empty
        Dim nodeCollection As IList(Of RadTreeNode) = treeView.CheckedNodes
        For Each node As RadTreeNode In nodeCollection
                  message += node.FullPath + "<br/>"
        Next
        Label4.Text = message
    End Sub
  
  
  
    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
        ShowCheckedNodes(RadTreeView1)
    End Sub

Tks
Luc
Veronica
Telerik team
 answered on 29 Mar 2011
1 answer
107 views
Hi
I'm totally new to Telerik.
Is there a combobox component that populate results into a selectbox?
And not only that. I want a text field that I can search a term there, and the results populates into a selectbox, which I can work with.

Was I clear enough?

Thank you.
Shlomi.
Princy
Top achievements
Rank 2
 answered on 29 Mar 2011
2 answers
96 views
I have using RadAjaxManager.Redirect("url") to redirect a page within the server.  This is work well in Window 7 and Windows server 2008.  When I try to run this code in window 2003, it not work.  I change it to response.redirect, it work in window 2003 but not work in windows 7 and window server 2008.  Any idea why this happen and how i can solve it? Please help.
Derick
Top achievements
Rank 1
 answered on 29 Mar 2011
1 answer
69 views

Hi there –

 

This is Carlos Mendoza from Accenture, US.

I’m not sure if this is also the same email address for requesting technical assistance so I’d appreciate it if you just forward to the correct group if so.

Our project purchased Telerik’s HTML editor product, and implemented it on our corporate web site, www.accenture.com

That web site is built on MOSS 2007. We have another web site, microsite.accenture.com, built in MOSS 2007 too, in which Telerik’s HTML editor is implemented in there too.

On the Microsite web site, Telerik’s toolbar is able to retrieve the site’s alternate CSS file (.css), and display the CSS classes defined inside the CSS file on the Style dropdown of Telerik’s toolbar, so they can be used by our end users. See screenshot below, or see my attached images.

 

On the www.accenture.com web site, this is not happening on Telerik’s Style dropdown section.

Our clients would like the same behavior of the Style dropdown as the Microsites web site. Is there any configuration or line of code we should implement on the www.accenture.com platform so additional CSS classes defined on the site’s alternate CSS would appear on the Style dropdown of Telerik’s HTML editor toolbar?

 

Please advise.

 

I’d be glad to hop into a call if needed. Just tell me the telephone number of your technical support team.

 

Looking forward to hearing from you!

Rumen
Telerik team
 answered on 29 Mar 2011
1 answer
67 views
Good day!

I have got such a grid:

<telerik:RadGrid ID="grDefects" runat="server" CssClass="MyGridClass"
        AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" Skin="FarmPortal" EnableEmbeddedSkins="false"
        GridLines="None" Width="100%" PageSize="10" GroupPanel-Width="100%" OnDetailTableDataBind="DetailDataBind">

<MasterTableView TableLayout="Auto" Width="100%" EnableNoRecordsTemplate="false" NoDetailRecordsText="Нет разбракованных препаратов, привязанных к данному" HierarchyLoadMode="ServerBind">
            <DetailTables>
                <telerik:GridTableView Width="100%" ShowHeader="false" EnableNoRecordsTemplate="false" ShowFooter="false"   runat="server">
                                <Columns>
                                    <telerik:GridBoundColumn DataField="Id" HeaderText="Id" ReadOnly="True" UniqueName="Id" SortExpression="Id"  Visible="false"/>
                                    <telerik:GridBoundColumn DataField="PreparationName" HeaderText="Наименование" ReadOnly="True" UniqueName="PreparationName" SortExpression="PreparationName" />
                                    <telerik:GridBoundColumn DataField="Series" HeaderText="Серия" ReadOnly="True" UniqueName="Series" SortExpression="Series" />
                                    <telerik:GridBoundColumn DataField="DefectStatus" HeaderText="Статус" ReadOnly="True" UniqueName="DefectStatus" SortExpression="DefectStatus" />
                                </Columns>
                            </telerik:GridTableView>
            
            </DetailTables>
    <Columns>
        <telerik:GridBoundColumn DataField="Id" HeaderText="Id" ReadOnly="True" UniqueName="Id" SortExpression="Id"  Visible="false"/>
        <telerik:GridBoundColumn DataField="PreparationName" HeaderText="Наименование" ReadOnly="True" UniqueName="PreparationName" SortExpression="PreparationName" />      
        <telerik:GridBoundColumn DataField="DefectStatus" HeaderText="Статус" ReadOnly="True" UniqueName="DefectStatus" SortExpression="DefectStatus" />

    </Columns>
    <PagerStyle AlwaysVisible="true"   />
</MasterTableView>
    <ClientSettings EnableRowHoverStyle="true" AllowColumnsReorder="True" AllowDragToGroup="True" Resizing-EnableRealTimeResize="true"
        ReorderColumnsOnClient="True">
        <Selecting AllowRowSelect="True" />
    </ClientSettings>
</telerik:RadGrid>

we build it this way

var newSource= new List<DefectWithUndefect>();
                Mapper.CreateMap<DefectDTO, DefectWithUndefect>();
                foreach (var defectDto in source.Where(s => s.ParentDefectId == 0).ToList())
                {
                    var def =Mapper.Map<DefectDTO, DefectWithUndefect>(defectDto);
                    var undefects = source.Where(s => s.ParentDefectId == defectDto.Id).ToList();
                    foreach (var undefect in undefects)
                        def.Undefects.Add(undefect);
                    newSource.Add(def);
                }
                grDefects.DataSource = newSource;

It looks like at the attached image.

So if grid element has got Undefect child, the element has got a child grid. It's a seldom situation but we can open child grid of each grid item :( What can I do to let open child grid only if child grid exists? For not to see text "no records to display"?

Thank you!
All best wishes.
Lina
Princy
Top achievements
Rank 2
 answered on 29 Mar 2011
1 answer
107 views
Is there a way to show inplace editing of radgrid items on checked of a checkbox inside template column?
Princy
Top achievements
Rank 2
 answered on 29 Mar 2011
1 answer
116 views
I have a grid with multiple items.. on insert I want to fill one item on the insert window with data from the grid. the item is just data column not a datakeyvalue. It is also visible = false in the grid

Thanks
Princy
Top achievements
Rank 2
 answered on 29 Mar 2011
8 answers
534 views
Hello.

We were using telerik controls (2009 Q2). After upgrading to 2010 Q3, the loading panel image has started coming twice.
Previously, we had transparency set to 5, but after upgrade, image was not showing. So then we changed the transparency to 0 then image started showing up.

But in some pages, there are 2 images showing up (please see the image attached). The loading panel is used as following:

<telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" BackgroundPosition="Top"
            Transparency="0" HorizontalAlign="Center" >
            <img src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
                alt="<%= GetWebString("Loading...")%>" style="border: 0;" />
        </telerik:RadAjaxLoadingPanel>

The same code is working fine in some pages, but in some other pages, it is showing 2 images. I want my own image. 
Any help is appreciated..


Ira
Top achievements
Rank 1
 answered on 29 Mar 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?