Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
406 views
I am working in asp.net and I need to disable whole page with ajax update panel. There is a button on usercontrol and on click this button I need to disable whole page. Please let me know how I can do this.

Kuldeep Dwivedi
Kuldeep
Top achievements
Rank 1
 answered on 25 Jan 2013
1 answer
170 views
Hi there,

I have a problem in using the radListView with AJAX.

As you can see in the enclosed image I want the user be able to download a file. (radlistview.png)
When I enable AJAX an error occurs (error.png).
I use the following code:

<
asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
       
    <telerik:RadAjaxManagerProxy ID="rampRequest" runat="server">
        <AjaxSettings>  
            <telerik:AjaxSetting AjaxControlID="paRequestListView">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="paRequestListView" LoadingPanelID="raLoadingPanel"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
       
    <asp:Panel ID="paRequestListView" runat="server">
         <NMHG:RequestListView id="RequestListView" runat="server"></NMHG:RequestListView>
    </asp:Panel>
     
</asp:Content>

protected void rlvRequest_ItemCommand(object source, RadListViewCommandEventArgs e)
        {
            //Download file
            if (e.CommandName == "Download")
            {
                //show save as dialog
                System.Web.HttpResponse response = System.Web.HttpContext.Current.Response;
                response.ClearContent();
                response.Clear();
                response.ContentType = "text/plain";
                response.AddHeader("Content-Disposition", "attachment; filename=" + RequestDownloadFileName + ";");
                response.TransmitFile(ConfigurationManager.AppSettings.Get("Download directory") + RequestDownloadFileName);
                response.End();
            }
        }


When I remove the <telerik:RadAjaxManagerProxy> tag from the code above i am able to download the file.
Any idea why my download not works when AJAX is enabled?

I also noticed the LoadingPanel for my RadListView is never shown. AJAX functions normal in my RadListView.
I use the same code for my RadGrids were the LoadingPanel is shown.


Regards,

Marcel

Maria Ilieva
Telerik team
 answered on 25 Jan 2013
4 answers
267 views
Hi,
I know we can export grid to excel/pdf (opens the save/open dialog box on IE).  However, my client needs a "email as Excel / pdf"  functionality.  Is it possible to get a byte[] of the exported content, so we can attach it to an email.

Thanks,
Anand
Mike
Top achievements
Rank 1
 answered on 25 Jan 2013
4 answers
191 views
I am using RadGrid.Net2 dll having 5.1.6.0 version

strangely on staging and local environment i have my Page Size combo box enabled showing default 10,15,20 and 50 as value in it.

But on Production this combobox is readonly and disabled. why so ? there is not code i have writtent to disabled it.

following is my control declaration
<rad:RadGrid ID="rgUserList" runat="server" Width="100%" AutoGenerateColumns="false"
AllowPaging="true" PageSize="10" PagerStyle-Mode="NextPrevAndNumeric" EnableTheming="true"
GridLines="Vertical" OnItemDataBound="rgUserList_ItemDataBound" AllowSorting="true"
AllowFilteringByColumn="false" OnNeedDataSource="rgUserList_NeedDataSource"
Maria Ilieva
Telerik team
 answered on 25 Jan 2013
3 answers
110 views
I am trying to match a four digit number with a radautocompletebox using the contains filter. It works great except for when the last digit is a 0, in which case it doesn't filter by that digit (The same thing happens with a 9). For example, if I type 7260, the first match I get is for 7264 even though there is an entry of 7260 in the list. Any ideas?
Kevin
Top achievements
Rank 1
 answered on 25 Jan 2013
3 answers
319 views
By default there is a black bounding border one pixel wide around the ListView. Setting BorderColor, Style, and/or Width has no effect. Is there a way to remove the border?
Eyup
Telerik team
 answered on 25 Jan 2013
6 answers
291 views
Here is my html

<center>
        <div id="divloading" style="z-index: 9000;">
    <table class="centertable" border="0" style="width: 400px;" cellpadding="0" cellspacing="0">
        <tr>
            <td style="text-align: center;">
            <center><telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" HorizontalAlign="Center" runat="server"
    Skin="Outlook" MinDisplayTime="1500" IsSticky="True" Style="position: absolute; top: 0; left: 0; height: 100%; width: 100%;" Transparency="20"  >
             <img src="ajaxloadingpanel_images/Loading.gif" title="Processing..." />
            </telerik:RadAjaxLoadingPanel>
            </center>
           
            </td>
        </tr>
    </table></div></center>


Please see the attached screenshot to see example.

Thanks,




Angel Petrov
Telerik team
 answered on 25 Jan 2013
1 answer
149 views
Firefox is fine (just needs a Shift button in addition) and Safari works, too
haven't tried Opera or Chrome (yet)
IE8 in gulp! XP does squatz
used to work....

tried Opera and Chrome
Opera does not work
Chrome does

also, if alt- whatever means something already it does that
Danail Vasilev
Telerik team
 answered on 25 Jan 2013
1 answer
84 views
I upgraded a site that gets used only twice a year to the latest version and the access keys on my RadNumericTextBoxes are throwing the following error

Error: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.

this was working in earlier version
please advise
the site goes live in less than a month

correction - the accesskeys are on buttons but the text is in the textbox
Eyup
Telerik team
 answered on 25 Jan 2013
1 answer
100 views
I have veritcal radmenu containing root items of different lengths and sub menus under the root items. When the page first opens the sub menus correctly show on top of the root items when expanded. After moving the mouse back and forth expanding the root items eventually the sub menus are showing behind some of the root menus. When I inspect the elements I can see that normally the root items swap between a 7000 and 8000 z-index depending if the sub menu is expanded or not. When the root items start to show through the sub menus I can see that the z-index for the root item showing through the sub menu is stuck at 8000. It is as if a javascript stopped working correctly. This is happening in Chrome, Safari and Firefox so far.

Any ideas on how to get this to work? I have attached an image of the issue.
Boyan Dimitrov
Telerik team
 answered on 25 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?