Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
73 views
Can we disable fill position when docking a toolwindow on raddock. 

Namely, we want a toolwindow to dock to those postions: top, bottom, left, right and also float on any position.
but we do not want a toolwindow to dock to a fill position,
Ming Zhao
Top achievements
Rank 1
 answered on 16 Feb 2011
1 answer
106 views
I have a RadMenu with all items, and multiple levels of sub-items, populated by a webmethod. IE8 is perfect, and the tree is working as it should, all items are correctly fetched and placed, etc. The same goes for Firefox - as long as you take your time and allow menus to expand fully, etc, though performance is noticeably slower than in IE8.

The problem I have is if I click on an item that has started to fetch its child items - I get an error saying that the "The server method 'xxx' failed". This only occurs in FF - IE handles cancellation of the Web method perfectly.

I tried the following to intercept and catch any error raised in the fetch like this :
I set  

OnClientItemPopulationFailed="javascript:supressErrors();"

in the RadMenu control, then included this script in the page

   <script language="javascript" type="text/javascript">
       function supressErrors(sender, eventArgs) {
           eventArgs.set_cancel(true);
       }</script>

But in both browsers, this prevents any webservice calls, and I don't even get the > (right arrow) on the root items.

Anyone come across this before? 
Andrew
Top achievements
Rank 1
 answered on 16 Feb 2011
1 answer
206 views
Is it possible (or recommended) to use both Telerik MVC controls and Telerik Asp.net Ajax Radcontrols in the same MVC3 / EF 4 application?

I just noticed that the rad controls offer a lot more controls (nice!) - just wondering how one would go about using those also with the Telerik MVC controls.

If not recommended - are there plans to port the Rad Controls to your Telerik MVC Controls framework?

Sebastian
Telerik team
 answered on 16 Feb 2011
2 answers
204 views
Hi there,

I am using a div with fixed width and height and also setting overflow:auto. It works all right on ie7, but I do not get a horizontal scrollbar on ie8. I do get the vertical bar wherein the text wraps down

I tried looking upon on your forums but it appears to eb a bug with ie 8

Thanks & Regards
Mark
Top achievements
Rank 1
 answered on 16 Feb 2011
3 answers
127 views
Hi,

For Imagemanager in Editor control, i have set path like

 

<ImageManager ViewPaths="~/images" UploadPaths="~/images" DeletePaths="~/images" SearchPatterns="*.jpg,*.gif,*.jpeg,*.png" MaxUploadFileSize="900000" />

 

 

But it shows like /[VirtualDirecotry]/images as a path for imagemanage, and after adding image it saves file like
<img src="/[VirtualDirecotry]/images/image.jpg"/>

So is there any way to display path like images instead of /[VirtualDirecotry]/images for imagemanage?
And store imagepath like only images/image.jpg, instead of ="/[VirtualDirecotry]/images/image.jpg"/

I want to get rid of virtual direcory name. Because i want to use same folder strucure for another project as well. So it will create problem, because virtual directory name is different, so path of image will not get for another site if i have to copy whole site to another site.

Is there any alternate way for my solution?

Thanks,
Sachin kotak

Rumen
Telerik team
 answered on 16 Feb 2011
7 answers
275 views
Hi, this seems very obvious but I haven't found any answer so far.

I have multiple tabs that have enough content in them to require scrolling.  When I scroll down in a tab, then change to another tab, when I come back to the first tab I am positioned back to the top of the page.  My assumption is that this is just showing and hiding divs (or whatever) in the browser and that bringing a different tab to the top would leave the position alone.  I would expect this to be default behavior.

Is there a property I can set to do this or do I have to write code to save my position each time?  As a side note, is this just showing and hiding panels or is it doing a postback each time I change tabs?

Thanks!
Peter
Telerik team
 answered on 16 Feb 2011
1 answer
569 views
Hi @

I am using Telerik Rad Grid in which my requirement is:
I have a button in one of the columns of the grid on click of which i have to fire some event of code behind. Before that I have to call some javascript function and set some hidden variable.
I am using __doPostBack to fire the code behind event. Here the page does complete postback. Now I want to make this a Ajax postback.
Please help me how to achive this. Is there any sample which can help me.

Thanks in advance.
Iana Tsolova
Telerik team
 answered on 16 Feb 2011
3 answers
110 views
Hi all. I'm trying to use rad menu control with a web service loadondemand. I set property ClickToOpen="true" and the root menu opens on click. I want to do the same with the other menu items, to open on mouse click and not on mouse hover. Is this possible?
Yana
Telerik team
 answered on 16 Feb 2011
7 answers
142 views
I am having an issue with a lot of columns that the headers and items do not line up properly when using non-resizable columns, scrolling and IE 8 Compatibility mode. They seem to be shifting to the left some. Is there a style fix or something for this. See attached screenshot and code below. Thanks in advance.

<table align="center" width="99%" style="table-layout:fixed">
    <tr>
        <td>
            <telerik:RadGrid ID="rgMelissaOutputReport_Report" runat="server" 
                AllowFilteringByColumn="False" 
                AllowPaging="True" 
                AllowSorting="True"
                ClientSettings-AllowColumnHide="true" 
                AutoGenerateColumns="True" 
                ShowGroupPanel="False"
                ShowFooter="False"
                EnableHeaderContextMenu="true"
                OnNeedDataSource="rgMelissaOutputReport_Report_NeedDataSource"
                OnItemDataBound="rgMelissaOutputReport_Report_ItemDataBound"
                OnPageSizeChanged="rgMelissaOutputReport_Report_PageSizeChanged"
                OnPageIndexChanged="rgMelissaOutputReport_Report_PageIndexChanged"
                OnExcelExportCellFormatting="rgMelissaOutputReport_Report_ExcelExportCellFormatting" 
                ExportSettings-IgnorePaging="true"
                ExportSettings-OpenInNewWindow="true"
                ExportSettings-ExportOnlyData="true" 
                CssClass="RadGrid_Default RadGrid_Default2">
            <MasterTableView
                CommandItemDisplay="Top"
                CommandItemSettings-ShowAddNewRecordButton="false"
                PageSize="50">
            <HeaderStyle Wrap="false" />
            <ItemStyle Wrap="false" />
            <RowIndicatorColumn>
            <HeaderStyle Wrap="false"></HeaderStyle>
            </RowIndicatorColumn>
            <ExpandCollapseColumn>
            <HeaderStyle Wrap="false"></HeaderStyle>
            </ExpandCollapseColumn>
            <NoRecordsTemplate>
            <asp:Label ID="lblNoTotalsRecords" runat="server" CssClass="LabelBold" Text="No records for the filtering selections you have chosen."></asp:Label>
            </NoRecordsTemplate>
            </MasterTableView>
                <ClientSettings 
                    Resizing-AllowColumnResize="false"
                    EnableRowHoverStyle="false" 
                    ReorderColumnsOnClient="false">
                    <Selecting AllowRowSelect="false" />
                    <Scrolling AllowScroll="True"
                    UseStaticHeaders="True" />
                    <ClientEvents OnCommand="rgMelissaOutputReport_Report_RaiseCommand" />
                </ClientSettings>
                  
            </telerik:RadGrid>
        </td>    
    </tr>
</table>
Pavlina
Telerik team
 answered on 16 Feb 2011
7 answers
214 views
Hi!

We just updated our site to use .net 4.0 and also we updated AjaxControlToolkit to version 4.1.40412.2. Im also pretty sure we use the 4.0 versions of telerik dll (2010.3.1109.40).
After the updates RadFileExplorer stoped working as it did before. I have attached a screenshot.

The problem is that when i click on an folder in the left pane, the animation starts in the right pane but it never ends and I cant see the content of my folder. Although when the control binds the first time I can se the contents of the root-folder and open the files there etc.

Any ideas what Im missing here?

Regards,

Christian
Andrey
Top achievements
Rank 1
 answered on 16 Feb 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?