Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
519 views
Hello!

When uploading an image using ImageManager on the editor I am getting "C:\fakepath\imagename.jpg" as the file path. "fakepath" being the bit I am emphasising.

It also does this on your demo's page "http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx".

Is this a bug, or is this a setting I need to change?

The image uploads fine.

Thanks
Paul Clark
Top achievements
Rank 2
 answered on 09 Jun 2009
6 answers
547 views
Hi,

I've been trying to customize a css for the TreeView and I haven't been able to find the right class to change, or maybe I found but I don't know exactly which property to change. I'm not an expert on css.

Here what I'd like to change:
- Shorten the right margin of the plus/minus sign, so the text is closer to it, I tried
        .RadTreeView_NOutlook .rtPlus,
        .RadTreeView_NOutlook .rtMinus
        {
            background-image: url('TreeView/PlusMinus.png');
            margin-right: 1px;
        }
- Make the height of the node text smaller, so the nodes appear closer to each other. Here I had two problems, the first I couldn't make the height smaller and the second I couldn't make the box of the selected and highlight with no padding. I tried things like
        .RadTreeView_NOutlook .rtIn
        {
            padding: 0;
        }
- I was successful to change the indentation of the internal nodes, but I'm not sure it is the best way to do it, here it is what I did
        .RadTreeView_NOutlook .rtLI
        {
            margin-left: -1.9em;
        }
        .RadTreeView_NOutlook .rtSp
        {
            padding-left: 1.9em;
        }

Thanks,
Eduardo
Yana
Telerik team
 answered on 09 Jun 2009
7 answers
141 views
Hi,

I've used teh radcombo in the application about 100 times... the application is beeing used for weeks withoud change. Today the customer called and reported a weird behaviour:

when clicking on the drop down arrow the lis appears, then i select an item and select the next control. When you look back to the combo, it has the value of the last item of his list, not the selected one! This is in IE7. Client repotred that FireFox had this problem also with using TAB. IE7 does not... When using a mutch, very mutch lower click tempo, the problem almost never ocoures!

The weird thing is that it is just reported today in different browsers with no change whatsoever on the source... Also it is happening in development (VS 2008) and on 3 different servers! I've never seen this behaviour before...

It is a big problem because the user does not alway see the change, and in the test case, is planning a train in sted of a Truck! something that could couse problems so said the client... (realy?? :-) )

So... you get my delemma...

Regards,

Erik

Yana
Telerik team
 answered on 09 Jun 2009
4 answers
130 views
Hi There,

I Just downloaded the new Q1 2009 Controls for ASP.NET.
  1. I uninstalled previous version of Rad controls.
  2. I installed the Q1 2009 Controls 2009.1 527.
Now in Visual Studio 2008 if I create a new website or load an old one I get an error.

System.IO.FileNotFoundException: COuld not load file or assembly 'Teleril.Web.UI, Version=2009.1.527.35, Culture=neautral, PublicKeyToken=121fae78165ba3d4' or one of it's dependencies.

In visual Studio 2005 everything seems to work fine.
Steps I've tried so far to solve my problem for VS2008.
  • I have reset my VS2008 Toolbox and readded the controls.
  • I have deleted the .dll file from my website and re-added it browsing to the new Telerik.Web.UI.
  • I have tried updating the reference of a Telerik.Web.UI.



Please help.
altaf
Top achievements
Rank 1
 answered on 09 Jun 2009
1 answer
121 views

Hello,

I seem to be having an issue with the RadSplitter not assuming the width="100%" property when i have a nested RadGrid with the PageSize property set.  Instead a small amount of margin appears on the right side of the splitter.  If i remove the attribute "PageSize" then the grid renders properly.  Below is a sample of the code.

<telerik:RadSplitter runat="server" Orientation="Horizontal" SplitBarsSize="7px"   
        ResizeWithBrowserWindow="true"   
        ID="splitter"  Height="100%" 
        FullScreenMode="true"   
        VisibleDuringInit="false" Width="100%" style="width:100%">  
          
        <telerik:RadPane ID="detailPanel" runat="server" Height="65%" Width="100%" MaxHeight="540">  
            stuff  
        </telerik:RadPane> 
          
        <telerik:RadSplitBar id="bar" runat="server" CollapseMode="Both" /> 
        <telerik:RadPane ID="drillPanel" runat="server"  Width="100%" > 
            <Telerik:RadGrid Width="100%" runat="server" ID="radGrid" DataSourceID="ds">  
                <MasterTableView   
                    EnableViewState="false" 
                    ShowHeadersWhenNoRecords="true" 
                    AllowFilteringByColumn="true"   
                    AutoGenerateColumns="false"   
                    width="100%" 
                    AllowMultiColumnSorting="true"   
                    CanRetrieveAllData="false"   
                    PageSize="100">  
                    <Columns> 
                        <Telerik:GridTemplateColumn HeaderText="Title">  
                            <ItemTemplate> 
                                To Kill a Mockingbird  
                            </ItemTemplate> 
                        </Telerik:GridTemplateColumn> 
                        <Telerik:GridTemplateColumn HeaderText="Title">  
                            <ItemTemplate> 
                                To Kill a Mockingbird  
                            </ItemTemplate> 
                        </Telerik:GridTemplateColumn> 
                        <Telerik:GridTemplateColumn HeaderText="Title">  
                            <ItemTemplate> 
                                To Kill a Mockingbird  
                            </ItemTemplate> 
                        </Telerik:GridTemplateColumn> 
                        <Telerik:GridTemplateColumn HeaderText="Title">  
                            <ItemTemplate> 
                                To Kill a Mockingbird  
                            </ItemTemplate> 
                        </Telerik:GridTemplateColumn> 
                    </Columns> 
                      
                </MasterTableView> 
            </Telerik:RadGrid> 
        </telerik:RadPane>      
    </telerik:RadSplitter> 

Any thoughts as to what's causing the issue?

Thanks,
Ernie
Dimo
Telerik team
 answered on 09 Jun 2009
2 answers
140 views
Hi,

I've just downloaded the new versions of the radgrid ajax. I've used the VS addin to upgrade the application, and now the layout i've created for the grid is not applied... Why is this? 

My layout is a changed css from the original office2007 layout. The earlier version was january 2009.

Thanks,

Erik
Erik
Top achievements
Rank 2
 answered on 09 Jun 2009
3 answers
478 views

Hello,

I am writing a simple ASP.net user control that utilizes the RadTimePicker in order to calculate punch-in and punch-out times for a timesheet.  I'm trying to use the <ClientEvents-OnBlur /> to fire some javascript that will sum the values of my 4 inputs and place the total in the textbox 'txtTimeTotal'.  The problem I have is when using the <ClientEvents-OnBlur /> tag you must use an event handler function and I don't have anywhere that I can pass it arguments.  I need the function that is called to know the client ID's of each one of the controls in the .ascx in order to properly make the calculation.  I will also be using this same control multiple times on the same page so I wouldn't be able to just put the JS in <script></script> tags at the top of the page and use <%= rtpPunchInTime.ClientID %> to get the client ID's for the controls, I'll have to pass it into the function when it's called.  Here is the code for my .ascx file:
 

<%@ Control Language="VB" AutoEventWireup="false" CodeFile="TimesheetCell.ascx.vb" Inherits="admin_controls_TimesheetCell" %> 
<asp:Panel ID="FieldContainer" runat="server" > 
 
    <telerik:RadTimePicker ID="rtpPunchInTime" runat="server"   
        TimePopupButton-Visible="false"   
        Width="100%" > 
        <DateInput ClientEvents-OnValueChanged="SumTimeFields" />          
    </telerik:RadTimePicker> 
    <telerik:RadTimePicker ID="rtpPunchOutTime" runat="server" 
        TimePopupButton-Visible="false"   
        Width="100%" > 
        <DateInput ClientEvents-OnBlur="SumTimeFields" />    
    </telerik:RadTimePicker> 
    <asp:DropDownList ID="ddlLunchTime" runat="server" Width="100%">  
        <asp:ListItem Text="" Value="0" /> 
        <asp:ListItem Text="30 mins" Value=".5" /> 
        <asp:ListItem Text="45 mins" Value=".75" /> 
        <asp:ListItem Text="1 hour" Value="1" /> 
    </asp:DropDownList><br /> 
    <asp:DropDownList ID="ddlDinnerTime" runat="server" Width="100%">  
        <asp:ListItem Text="" Value="0" /> 
        <asp:ListItem Text="30 mins" Value=".5" /> 
        <asp:ListItem Text="45 mins" Value=".75" /> 
        <asp:ListItem Text="1 hour" Value="1" /> 
    </asp:DropDownList><br />      
    <telerik:RadTextBox ID="txtTimeTotal" runat="server" Width="100%" Enabled="false" Text="0:00" /><br /> 
      
</asp:Panel> 

Here is the signature for my event handler (pretty simple):

function SumTimeFields(sender, e) {  
    //Do some code to sum the fields  

So knowing all this, is it possible at all to somehow pass the relevant client ID's to e so that I can sum the fields via the client side?  Any help is greatly appreciated.

Thanks

Dimo
Telerik team
 answered on 09 Jun 2009
1 answer
50 views
Hi,

I am having some problems with the skins when we updated to the newest version of Telerik. In our app, the grid is still accessing the old skin files. Like in the grouping of the grid, it is still accessing the rgGroupHeader class instead of the GroupHeader class. Is there any way to fix this? When I create a new project, this does not happen.

Best Regards,
Von
Dimo
Telerik team
 answered on 09 Jun 2009
3 answers
140 views
Hi,

I just registered and on the register page I recognized one bug:
If you use AutoFill Country drop down list will be filled automatically by browser but when you try to continue, error message appears saying that country is not entered. Missing ID?
Simon
Telerik team
 answered on 09 Jun 2009
3 answers
104 views
I am using RADScheduler and have a slot book for 10:00 to 10:10 on the Scheduler i have it setup for 30 mins slots. This booked slot takes up the whole slot e.g. 10:00 to 10:30. How can i get this to show the actual time of the slot booked and not fixing it into a slot?
Peter
Telerik team
 answered on 09 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?