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

I have a query regarding Rad search box. Suppose I'm typing "SCOTT" in the search area. In the firebug console I found 5 different requests to the server. What I need to know is while typing continuously, how can I make the searchbox abort "s", "sc", "sco", "scot" requests and accept only "scott" as the search term so that the server is hit only once and not 5 times.

I have used Ajaxcontroltoolkit autocomplete before which has the same functionality of aborting requests. How can I achieve the same for rad search box. Any idea?

Thanks
Abi
Plamen
Telerik team
 answered on 03 Dec 2013
1 answer
117 views
I have not tried this outside of our application, that is going to be my next step. I just wanted to ask the question to see if anyone had any ideas to look at before I dug any further into the issue. What I am seeing started with the latest version of Firefox (25.0.1). Basically what is happening is we have a combobox dynamically rendered on the page from the server side inside of a asp.net update panel and it renders fine until the user refreshes the page. I have attached two screenshots, one before the refresh to show the combobox rendering properly and a second screenshot to show what the combobox looks like after a refresh. The combobox functions properly it is just missing it's styles.
Shinu
Top achievements
Rank 2
 answered on 03 Dec 2013
8 answers
668 views
Hello,

  I have a radgrid in one of the web pages and in the template column i am using RadAsyncUpload to upload the documents(including PDF). Saving the documents in the database is fine. My problem is with viewing the documents, after they are saved.  I saw in some threads that opening these pdf docs in seperate radwindow is a way to achieve this. How do i do that?  

1) Using the ExportPDF is the right way to do this?
2) RadBinaryImage still not supporting PDF  format?
3) How do i send the binary data of the document to the RadWindow?
4) If i have multiple rows in the grid, then, do i have to select the row first and then click on export pdf?
5) If the file size is 1 MB. Obviously, i don't want to save the document without compressing or resizing it. How do i do that without decreasing the resolution, Since the document will be pulled up for reporting purpose in the future?
6) When i click the export button now, a new window is opening with grid information in it. It is not showing the document.

Where am i doing wrong? 


string url, path = "";
       bool isExport = false;
 
       protected void Page_Load(object sender, EventArgs e)
       {
           url = String.Format("~/{0}.pdf", RadGrid1.ExportSettings.FileName);
           path = Server.MapPath(url);
           
       }
 
 
protected void RadGrid1_GridExporting(object source, GridExportingArgs e)
       {
           if (File.Exists(path))
           {
               File.Delete(path);
           }
 
           using (FileStream fs = File.Create(path))
           {
               Byte[] info = System.Text.Encoding.Default.GetBytes(e.ExportOutput);
               fs.Write(info, 0, info.Length);
           }
 
           Response.Redirect("~/frm_UploadDocs.aspx");
       }
 
       protected void RadToolBar1_ButtonClick(object sender, RadToolBarEventArgs e)
       {
           if (e.Item.Value == "Export")
           {
              //RadGrid1.ExportSettings.ExportOnlyData = false;
               isExport = true;
               RadGrid1.MasterTableView.ExportToPdf();
           }
           else if (e.Item.Value == "Delete")
           {
               if (File.Exists(path))
               {
                   File.Delete(path);
               }
           }
       }

 I followed the demo link below.
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=grid

http://blogs.telerik.com/vladimirenchev/posts/08-12-08/how-to-export-grid-to-pdf-file-and-show-the-result-using-the-window.aspx 



Appreciate the help
Thanks
Ramkumar
Top achievements
Rank 1
 answered on 03 Dec 2013
1 answer
84 views
How to move EditFormSettings Template to bottom after click "Add New Row"

thankห you
Shinu
Top achievements
Rank 2
 answered on 03 Dec 2013
2 answers
430 views
How to visible GridEditCommandColumn some row
ex. visible in rowindex 1 and 3
Nitisak
Top achievements
Rank 1
 answered on 03 Dec 2013
3 answers
100 views
Hello Telerik Team.
There is a problem/Bug in Online demo for Menu . I am using IE9.0.8112.16421
in This page : http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/righttoleft/defaultcs.aspx
When you Don't use Comopatibility Mode ,everyThing is Fine but When you Enable Compatibility Mode
and Mouse over on "Format" then "Font" , submenu appears above the Format's submenu JUST FOR FIRST TIME,but in other tries ,it Apears in correct place.
Is any Solution for solving this Problem?Because I have a Problem Like this.
Thanks.
Princy
Top achievements
Rank 2
 answered on 03 Dec 2013
5 answers
417 views
Please Anybody can help me? 
I cann't change parent window url after radwindow close.
this is code on parent window .
 function UpdateParentPage(args) {

                if (args != null && args != '') {
                    if (args.startsWith('MoveReservation')) {
                        UpdateParentPageWithAjaxRequest('GrpResRoomRebind');
                    }
                    else if (args.startsWith('CheckIn')) {
                        window.location.reload();
                    }
                    else {
                        UpdateParentPageWithAjaxRequest('ReBindTransList');
                       // RedirePage();
                    }
                }
            }
            function RedirePage()
            {
               top.location.href= "../../Reservation/FolioNew.aspx";
            }
.....
Code on RadWindow
   function ResizeAndClose(width, height, key) {
                    //if (document.referrer.indexOf("/Update/ReservationDetails.aspx") > 0) {

                    //    top.location.href = '../../Reservation/FolioNew.aspx?';

                    //}
                    GetRadWindow().setSize(width, height);
                   
                    setTimeout('GetRadWindow().close("")', 100);
                   
                    GetRadWindow().BrowserWindow.UpdateParentPage(key);
                    GetRadWindow().BrowserWindow.RedirePage();

                   
                }

What i want is after process this  GetRadWindow().BrowserWindow.UpdateParentPage(key), want to go redirepage. 

Shinu
Top achievements
Rank 2
 answered on 03 Dec 2013
4 answers
333 views

Hi,

I can not find any properties to maintain the current position of Multipage after the postback.

In my case, I define multipage in usercontrol from which is added to target control of RadToolTipManager.  The scroll position is always back on the top after the postback.

Regards,

Duy
Duy
Top achievements
Rank 1
 answered on 03 Dec 2013
12 answers
205 views
Hi, im using a template to create a "Close" icon where user can close particular tabs. When I drag/drop any tab to reorder, I lose the icon. Im using Q3 2012 (2012_3_1205). I fill the control dynamically in code-behind but I also experience it if defining tabs in the markup. Here is the code:

<telerik:RadTabStrip  ID="RadTabStrip1" runat="server" EnableDragToReorder="true"  >
                         <TabTemplate>
                                 <div class="CloseIcon">
                                 </div>
                                     
                                <div class="TabWrapperRight">
                                    <%# DataBinder.Eval(Container, "Text") %>
                                </div>
                        </TabTemplate>
</telerik:RadTabStrip>

CSS
.CloseIcon
{
    width: 13px;
    height: 11px;
    background:url("/Images/Icons/close.png") 0 0;
    margin: 4px 0px 0px 25px;
}

.CloseIcon:hover
{
background:url("/Images/Icons/close.png") 0 -11px;
}

.TabWrapperRight
{
position:relative;
float:right;
}

Let me know if you need more code to reproduce it.

TIA
Chanan Zass
Top achievements
Rank 1
 answered on 02 Dec 2013
1 answer
57 views
We're evaluating the trial version of the controls, but we're not getting a splitbar image, no matter which skin we select or which browser we use.
The test project is referencing runtime version v4.0.30319 of both Telerik.Web.UI.dll  and Telerik.Web.UI.Skins.dll.

The ultra simple code of our testpage:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TestRadSplitter.aspx.vb"
    Inherits="WebwareNET.TestRadSplitter" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadSplitter ID="RadSplitter1" Width="100%" Height="100%" Orientation="Vertical"
            LiveResize="True" runat="server" Skin="MetroTouch">
            <telerik:RadPane ID="LeftPane" MinWidth="200" Width="200"
                Scrolling="None" runat="server">
                Inside left pane
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitBar1" runat="server">
            </telerik:RadSplitBar>
            <telerik:RadPane ID="RightPane" Scrolling="Both" runat="server">
                Inside right pane
            </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>

And what we see in the browser can be seen in the attached screenshot.

What do we need to do to get the splitbar image in the RadSplitBar?
Vessy
Telerik team
 answered on 02 Dec 2013
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?