Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
625 views
We are moving our .NET application to a new Windows 2008 server. When we move the code, we get this error:

RadUpload Ajax Callback error. Source url was not found

/Telerik.RadUploadProgressHandler.aspx?RadUrid=b157....

I searched your knowledgebase and have confirmed that our web.config does have these entries:

<appSettings>
 <add key="Telerik.RadUpload.ChunkSize" value="5000" />
 </appSettings>
<system.web>
    <httpHandlers>
      <remove verb="*" path="*.asmx"/>
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx"
        type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
       </httpHandlers>

    <httpModules>
      <add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2"/>
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </httpModules>
</appSettings>

Anita
Top achievements
Rank 1
 answered on 18 May 2011
1 answer
132 views
I have a page which displays in a RadWindow.

This page does not have a RadWindowManager on it but I need to fire a radconfirm from it.

I thought I could be clever and write this ...
GetRadWindow().BrowserWindow.radconfirm("Are you sure you want to remove this document?", removeDocument);
and it works. Almost.

The radconfirm appears behind the RadWindow.

Is there any way, short of having to include a RadWindowManager on my popup page, of getting the radconfirm on top?

-- 
Stuart
Marin Bratanov
Telerik team
 answered on 18 May 2011
5 answers
52 views
Suppose you have a dialog with several buttons and other controls that initiate an AJAX request. There is one element in the dialog that might need to be updated by any AJAX request, Do I have to specify this element as the target for each initiator? Or is there some way for saying "whatever AJAX request is done, this element needs to be updated in any case"?

In this case the element in question is some area containing an error message. Most of the time it is hidden, but if any exception is thrown on some AJAX request, the code must make the element visible and fill it with the error message.

Michael G. Schneider
mgs
Top achievements
Rank 1
 answered on 18 May 2011
4 answers
121 views
I want to popup an alert if editor content has been changed before user leave the page. I couldn't find any way to detect it.
Rumen
Telerik team
 answered on 18 May 2011
1 answer
172 views
Hi,
Iam adding items to radcombobox  in javascript method which is called in OnKeyUp event of radcombobox.the problem is items are adding but not visible
my POC is as follows:

<script type="text/javascript">
    function dropdownBindByMatchedText(sender, args) {

        var comboboxSearch = $find("<%= rdcmbSearch.ClientID %>");
        comboboxSearch.clearItems();
        var item1 = new Telerik.Web.UI.RadComboBoxItem();
        var item2 = new Telerik.Web.UI.RadComboBoxItem();
        var item3 = new Telerik.Web.UI.RadComboBoxItem();
        item1.set_text("a");
        item2.set_text("b");
        item3.set_text("c");
        comboboxSearch.get_items().add(item1);
        comboboxSearch.get_items().add(item2);
        comboboxSearch.get_items().add(item3);
    }
</script>
    <telerik:RadComboBox ID="rdcmbSearch" OnKeyUp="dropdownBindByMatchedText()"
        EnableLoadOnDemand="true" Height="200px" Width="220px" DropDownWidth="220px"
        wrap="false" runat="server" >
    </telerik:RadComboBox>


can anybody help me?
Princy
Top achievements
Rank 2
 answered on 18 May 2011
4 answers
224 views
The text of some of my menu items runs too long for the dropdown of the RadMenu.  I tried changing the width of RadMenuItem, but it is not what I want.  I have included a picture of the current menu and what I am trying to achieve.

<telerik:RadMenu ID="menu_ProductType" runat="server" Flow="Horizontal" style="z-index: 1" ClickToOpen="true"
onitemclick="menu_ProductType_ItemClick" ExpandDelay="250" AutoScrollMinimumHeight="200" >   
<Items>
<telerik:RadMenuItem Text="Select a product" PostBack="false" >  
<GroupSettings Height="200px" Width="250px" /> 
</telerik:RadMenuItem>
</Items>
</telerik:RadMenu>
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 May 2011
1 answer
149 views
 

I have added a custom button to the FileExplorer toolbar as per the demo.
How can I invoke the server-side ItemCommand of the FileExplorer control when this button is clicked?
At this point nothing seems to fire when the button is clicked.

Rumen
Telerik team
 answered on 18 May 2011
1 answer
84 views
I've find the localization files in italian on this link. I think such files allow me to translate every part of the scheduler component in Italian. Is it right?

How to use them?

Thanks
Nikolay Tsenkov
Telerik team
 answered on 18 May 2011
4 answers
128 views
I have the Editor on a page that has room for the Editor to grow.  But if it gets to big it ends up messing with my masterpage.
So I was wondering if there was a work around to make the Editor AutoResizeHeight, but stop after it gets so big?
Rumen
Telerik team
 answered on 18 May 2011
1 answer
70 views
Hi,


i am working in jquery accordion menu. i want to put treeview in a tab of accordion but its not showing tree view.
when i simple put this on page it is showing. plz help me

code here   : i am populating that treeview dynamically

   <div id="accordion1" class="basic">
            <a href="#">Fleet</a>           
            <div style="width: 100%; height: 100%">                                          
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>                                                  
                            <telerik:RadTreeView runat="server" ID="RadTreeView1" OnClientContextMenuItemClicked="onContextMenuItemClicked"
                                OnNodeClick="NodeClicked" OnContextMenuItemClick="RadTreeView2_ContextMenuItemClick">
                                <ContextMenus>
                                    <telerik:RadTreeViewContextMenu ID="menu1" EnableRoundedCorners="true" EnableShadows="true">
                                        <Items>
                                            <telerik:RadMenuItem Text="MoveUp" />
                                            <telerik:RadMenuItem Text="MoveDown" />
                                            <telerik:RadMenuItem Text="Send E-Mail" />
                                            <telerik:RadMenuItem Text="Refresh" />
                                        </Items>
                                    </telerik:RadTreeViewContextMenu>
                                    <telerik:RadTreeViewContextMenu ID="menu2" EnableRoundedCorners="true" EnableShadows="true">
                                        <Items>
                                            <telerik:RadMenuItem Text="Copy" />
                                            <telerik:RadMenuItem Text="Paste" />
                                            <telerik:RadMenuItem Text="Refresh" />
                                            <telerik:RadMenuItem Text="Properties" />
                                        </Items>
                                    </telerik:RadTreeViewContextMenu>
                                </ContextMenus>
                              
                            </telerik:RadTreeView>
                        
                        </ContentTemplate>
                    </asp:UpdatePanel>            
            </div>
            <a href="#">Administration</a>
            <div>
                <p style="font-weight: bold;">
                    Sed Non Urna</p>
                <p>
                    Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit,
                    dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus
                    libero ac justo.</p>
                <p>
                    Vivamus non quam. In suscipit faucibus urna.</p>
            </div>
            <a href="#">Auto Reports & Alerts</a>
            <div>
                <p>
                    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus
                    pellentesque purus in massa. Aenean in pede.</p>
                <p>
                    Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna
                    quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.</p>
                <ul>
                    <li>List item one</li>
                    <li>List item two</li>
                    <li>List item three</li>
                </ul>
            </div>
            <a href="#">History Playback</a>
            <div>
                <label for="pickerfieldStart">
                    <b>Start date</b></label>
                <input id="pickerfieldStart" type="text" value="2010-08-03 00:12:39"/>
                <br />
                <label for="pickerfieldEnd">
                    <b>End date</b></label>
                <input id="pickerfieldEnd" type="text" value="2010-08-03 08:16:13" />
                <br />
                <input id="btnPlay" type="button" value="Play" onclick="CheckForSnailTrail();" />&nbsp;
                <input id="btnPause" type="button" value="Pause" onclick="TemporarilyPauseSnailTrail();" />&nbsp;
                <input id="btnClear" type="button" value="Clear" onclick="ClearSnailTrail();" />&nbsp;
                <br />
                <div id="divSnailTrailSummary">
                </div>
            </div>
            <a href="#">POI Fences</a>
            <div>
                <p>
                    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus
                    pellentesque purus in massa. Aenean in pede.</p>
                <p>
                    Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna
                    quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.</p>
                <ul>
                    <li>List item one</li>
                    <li>List item two</li>
                    <li>List item three</li>
                </ul>
            </div>
        </div>


With Regards,


Faisal
Nikolay Tsenkov
Telerik team
 answered on 18 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?