Telerik Forums
UI for ASP.NET AJAX Forum
25 answers
657 views
hi

is there any way of pre - populating the search text from server side , ive looked through the parameters and i cant find anything refering to text or search text.

ive seen a way to do it from client side , but is there any way to set it on server side , i.e after a postback or page refresh ?

Peter.
Mickael
Top achievements
Rank 1
 answered on 11 May 2016
1 answer
148 views

I've been exploring use of the Spreadsheet control. I followed an example which shows me how to define the provider and read from an XLS file in App_Data folder of ASP.NET application. Uses latest versions of UI/AJAX, VS2015, Azure, etc.

I am finding that simple spreadsheets load reliably.

Medium size ones take a few seconds to load, and then show a blank sheet, no error message.

See attachment for this error.

Large size ones take a long time and timeout.

I am wondering whether there are severe capacity and/or performance issues with the Spreadsheet control, or this behavior is a side-effect of reading a file within my app's directory.

 

Nencho
Telerik team
 answered on 11 May 2016
0 answers
115 views

Dear All,

      In  My Application I am using RadGrid Inside the RadWindow. In RadGrid i have used RadTextBox under Item Template. My Requirement is in my form when i will click the button radwindow will be displayed. But the actual problem is i cant set the focus inside the RadTextBox. Because RadGrid was located inside the RadWindow. I have tried the following code. But it doesnt help. I am looking for your valuable help & suggestions.

  private void FocusOriginalRow(short index)
        {
            foreach (GridDataItem gridItem in rGrdItemDet.Items)
            {
                if (gridItem.ItemIndex == Convert.ToInt32(index))
                {
                    gridItem.FindControl("txtSPCS").Focus();
                    return;
                }
            }
        }

AJMALKHAN
Top achievements
Rank 1
 asked on 11 May 2016
3 answers
371 views
We are just now starting to transition to the RadAsyncUpload using a custom HTTP Handler.  The reason for this is that we want to directly pass the files to a WCF service that will scan the file for viruses, encrypt, and store the files as they come in. 

The problem is that when a few people are uploading files at the same time, everybody seems to get hosed and we start getting a 503 error returned to us (can't even go back to the page because we'll get that 503 error).  Is there some configuration change I need to make at the WCF, IIS, or web.config level to accommodate many users uploading large files (anywhere from 1k to 200mb)? 

The applications that are using the RadAsyncUpload are SharePoint 2010 webparts and application pages.  Everythign seems to work fine if a user only uploads 1 file or if there is only one user of the system at any particular time.

UPDATE: Using Firebug, I was able to see that the calls to the custom handler are being aborted.  I use the same 6 test files every time I test this issue.  The first and second time I upload all 6 files, everything works fine.  At some point though, any file I upload just stops uploading (or at least that's how it seems). 

Hristo Valyavicharski
Telerik team
 answered on 11 May 2016
3 answers
309 views
I have a quick question, how can I disable the border highlighting of rad grids.  For example I have defined a radgrid in a repeater and when I click on any of the generated tables I see a orange highlight around the edges of the clicked on table.  When I click on the page, in a blank spot the table un-highlights.  This is a feature I can turn off or some weird behavior from my own code?

Thanks,
Eyup
Telerik team
 answered on 11 May 2016
3 answers
130 views

I have a page with a RadEditor on it.  I have a test button that posts causing a model RadWindow to open over the RadEditor. When the page refreshes, the editor gets its text but then disappears when the RadWindow opens over it. The RadEditor text reappears when the RadWindow is closed.

The test window is open from a javascript function that is initiated by code.

Page.ClientScript.RegisterStartupScript(this.GetType(), "OpenTest", "<script type='text/javascript'>Sys.Application.add_load(OpenTestWindow);</script>");

OpenTestWindow is

function OpenTestWindow() {
    Sys.Application.remove_load(OpenTestWindow);

    setTimeout(function () {

        var browserWidth = $telerik.$(window).width();
        var browserHeight = $telerik.$(window).height();

        var oWnd = GetRadWindow();
        console.log("oWnd " + oWnd);
        oWnd.Visible = true;
        oWnd.show();
        oWnd.setSize(Math.ceil(browserWidth * 80 / 100), Math.ceil(browserHeight * 80 / 100));
        oWnd.center();

    }, 300);
}
    function GetRadWindow()
    {
        var manager = $find("<%= RadWindowManagerMessages.ClientID %>");
        return manager.open(null, "TestWindow");
    }

I need to be able to look at the editor contents while the RadWindow is open.

This is a very strange problem

 

Ianko
Telerik team
 answered on 11 May 2016
1 answer
80 views

We were given the below style from a marketing firm who is redesigning our primary website.  It is needed for other area's of the site but it breaks the styling within our RadTreeView.  Without changing the below style how can we get our RadTreeView back to normal?  I have attached what is happening when the style is applied.

.page-content li,
.page-content p,
.page-content ul {
    font-size: 1.1rem
}
 
@media screen and (min-width:40em) {
    .page-content li,
    .page-content p,
    .page-content ul {
        font-size: 1.5rem
    }
}

Magdalena
Telerik team
 answered on 11 May 2016
3 answers
167 views

I have been using two Menu controls with Metro Touch skin applied.

Last year I modified the CSS to remove borders, background and a few other elements, as you can see in the first screen shot (2015)

Sometime this year, in another project with more recent releases, now on the latest Q2, I find that there are vertical lines, as shown in screen shot 2016.

The CSS is identical for both.

All I need is to modify an unknown style that puts the vertical line there, at the right of each of the two menus.

 

 

Magdalena
Telerik team
 answered on 11 May 2016
3 answers
127 views

Hi I need retain the Satete of the panelbar after navigation, but also I need use databind this to SiteMapDataSource

 

This is the code that I use, but not Working, (the idea is expand the parent and set to selected the item node that match with the url (Or cointains this))

what is bad in the code?

<telerik:RadPanelBar RenderMode="Lightweight" OnItemDataBound="RadPanelBar1_ItemDataBound"  
                ID="RadPanelBarMenu" ViewStateMode="Enabled" EnableViewState="true" runat="server"  Width="100%" ExpandMode="SingleExpandedItem"
                DataSourceID="SiteMapDataSource1" DataFieldID="id" DataFieldParentID="ParentId" DataTextField="">
                <DataBindings>
                    <telerik:RadPanelItemBinding  Depth="0" Expanded="true" />
                </DataBindings>
            </telerik:RadPanelBar>

            <asp:SiteMapDataSource runat="server"  ID="SiteMapDataSource1" ShowStartingNode="false"></asp:SiteMapDataSource>

 

In code Behind

 

protected void RadPanelBar1_ItemDataBound(object sender, RadPanelBarEventArgs e)
    {
        System.Web.SiteMapNode row = (System.Web.SiteMapNode)e.Item.DataItem;
     
        string url_menu = row.Url.Replace(".aspx", "").ToLower();


        if (!string.IsNullOrEmpty(row.Url) && Request.Url.AbsoluteUri.ToLower().Contains(url_menu))
        {
            e.Item.Selected = true;

            e.Item.ExpandParentItems();

        }


    }

 

The sitemap

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >

<siteMapNode title="All">
<siteMapNode title="APP">
<siteMapNode title="Historical" url="~/webpages/HistoricalAppMobileSender.aspx" />
<siteMapNode title="Message" url="~/webpages/AppMobileSender.aspx" />
<siteMapNode title="Agenda" url="~/webpages/Scheduler.aspx" />
</siteMapNode>

</siteMap>

 

 

 

Veselin Tsvetanov
Telerik team
 answered on 11 May 2016
1 answer
178 views

Is it possible to load spreadsheet content from an XLS file stored as a BLOB in Azure Storage?

I've gone through the exercise of embedding an XLS file directly in my ASP.NET application

by using an example found here.

  RadSpreadsheet1.Provider = new SpreadsheetDocumentProvider(Server.MapPath("~/App_Data/semda.xlsx"));

Also note that I have uploaded the XLS file using the CloudUpload control, works great!

Now I need to figure out how to make the data connection.

Bozhidar
Telerik team
 answered on 11 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?