Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
The upload button is 22px high while the RadFormDecorator one is 21px. I am using the WebBlue skin.

Any way to make them use the same skin image?

Genady Sergeev
Telerik team
 answered on 18 Dec 2009
2 answers
102 views
Hi,

I have just upgraded my application  to "2009.3.1208.20" from "2009.2.826.35". Its geeting compiled without any errors, however at runtime while loading the first page its throwing following error -

"Could not load file or assembly 'Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

I have not used any version reference for Telerik dll. Also I have cleared "Temporary ASP.NET Files" from framework folder.
Reset IIS done. Reset system is also done :( But I could not get any success. I am just wondering, for what reason its trying to look for older version. Pasting web.config values here. Please help.

<controls> 
  <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" /> 
</controls> 
 <httpHandlers> 
 <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /> 
     <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> 
     <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> 
     <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> 
     <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
     </httpHandlers> 
 <httpModules> 
        <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
     <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> 
     <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 
     </httpModules> 
 
 <modules> 
        <remove name="ScriptModule"/>  
        <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> 
    <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 
     </modules> 
 
<handlers> 
<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
     <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
     <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
     <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
     <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
</handlers> 
 
 
Vinayak Chitre
Top achievements
Rank 1
 answered on 18 Dec 2009
1 answer
141 views

Hello Everyone!

How do I increase font size in RadComboBox (2009 Q3 release)?

            <telerik:RadComboBox ID="RadComboBox1" runat="server" Skin="Office2007" Font-Size="14pt">  
                <Items> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" Value="RadComboBoxItem1" /> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem2" Value="RadComboBoxItem2" /> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem3" Value="RadComboBoxItem3" /> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem4" Value="RadComboBoxItem4" /> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem5" Value="RadComboBoxItem5" /> 
                </Items> 
            </telerik:RadComboBox> 

 

Setting font size property leads to the picture attached

Setting height property does not help.

Observed with IE 6,7,8.
Not appearing in Firefox.

Thank You!

Yana
Telerik team
 answered on 18 Dec 2009
2 answers
713 views
ID="NotarySearchResultsGrid" runat="server" AutoGenerateColumns="false" OnNeedDataSource="NotarySearchResultsGrid_NeedDataSource" 
            OnItemCommand="NotarySearchResultsGrid_ItemCommand" AutoGenerateDeleteColumn="false" AutoGenerateEditColumn="false"    
            AllowDelete="false" AllowEdit="false" AllowInsert="false" AllowSorting="true"   
             ShowViewDetailsCommandColumn="false"   
            AllowPaging="true" PageSize="100" PagerStyle-Position="Bottom" PagerStyle-Mode="NextPrevAndNumeric" 
            > 
            <MasterTableView DataKeyNames="CommissionNumber" CommandItemDisplay="None"  > 
                <Columns> 
                    <telerik:GridButtonColumn HeaderText="Commission #" UniqueName="CommissionNumberColumn" ButtonType="LinkButton" DataTextField="CommissionNumber"      
                        CommandName="CommissionSelected" SortExpression="CommissionNumber" ></telerik:GridButtonColumn> 
                    <telerik:GridBoundColumn HeaderText="Name" UniqueName="NotaryNameColumn" DataField="Name" SortExpression="Name"></telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn HeaderText="Address" UniqueName="AddressColumn" DataField="Address" SortExpression="Address"></telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn HeaderText="City" UniqueName="CityColumn" DataField="City" SortExpression="City"></telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn HeaderText="Zip" UniqueName="ZipColumn" DataField="Zip" SortExpression="Zip"></telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn HeaderText="County" UniqueName="CountyColumn" DataField="County" SortExpression="County"></telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn HeaderText="Status" UniqueName="StatusColumn" DataField="Status" SortExpression="Status"></telerik:GridBoundColumn> 
                </Columns> 
                <NoRecordsTemplate> 
                    <div> 
                        No records to display.  
                    </div> 
                </NoRecordsTemplate> 
            </MasterTableView> 
I am using a subclassed RadGrid control. The instance of which is defined as seen above.
However, the DeleteCommandColumn still appears with what looks to be a hyphen for the title. How can I remove this column?

Dennis
Top achievements
Rank 1
 answered on 18 Dec 2009
1 answer
115 views
I am running http://demos.telerik.com/aspnet-ajax/scheduler/examples/customization/defaultcs.aspx.

I changed Day start from 08:00 to 06:00.

I double clicked in the 6am time slot and pressed the Options button.

The Start time in the New Appointment dialog is selected as 6:00 AM. However, when I go to select another time, the first option in the list box is 8:00 AM; I expected it to be 6:00 AM. Why is that?

The same behaviour occurs in my test project using a trial version of ASP.NET AJAX Q3 2009.

Thanks






Peter
Telerik team
 answered on 18 Dec 2009
0 answers
131 views

 

Originally I posted this question:
How can I debug to find out why rows are missing from the grid?
In debug mode I can examine  RadGrid1.DataSource (it is a DataTable).  The rows property shows count=68.  However only 4 rows display in the grid.

I discovered the problem.  This web page automatically applies a filter that reduces the number of rows displayed.  Apparently this filter applies AFTER the data from datasource is fed to the grid.  Below is the code that applies the filter, in case it could help someone.

 

 

Protected Sub RadGrid1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.PreRender

 

 

If (Not Page.IsPostBack) Then

 

 

 

 

RadGrid1.MasterTableView.FilterExpression =

"([QtyShort] > '0') "

 

 

 

 

 

Dim column As GridColumn = RadGrid1.MasterTableView.GetColumnSafe("QtyShort")

 

column.CurrentFilterFunction = GridKnownFunction.GreaterThan

column.CurrentFilterValue =

"0"

 

 

 

 

RadGrid1.MasterTableView.Rebind()

 

End If

 

 

 

 

 

End Sub

 

John Davis
Top achievements
Rank 2
 asked on 18 Dec 2009
1 answer
65 views
Hi,
I have a Hierarchial RadGrid. My page is "role driven" which means, I need to show hierarchy for one role and not for others. How can I control it from codebehind.
Mira
Telerik team
 answered on 18 Dec 2009
3 answers
170 views
Has anyone tried to use RadControls within ASPDotNetStorefront?  We are trying to use the RadMenu and Rad Panel as part of our templates and running into multiple form tag issues.  I'm just curious if anyone else has tried to do this, and if so how you got around those problems.
Bodevain Svensson
Top achievements
Rank 1
 answered on 18 Dec 2009
1 answer
157 views
I have a solution in which I have created a file upload with the file explorer in a Rad Window as per one of your tutorials.  The tutorial works but my solution does not.  Can someone see what I have missed.

Please see below for my code.

ASPX
<%@ Page Language="C#" %> 
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<script runat="server"
 
</script> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <style type="text/css"
        html, body 
        { 
            margin: 0; 
            padding: 0; 
        } 
    </style> 
    <title></title
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        </telerik:RadScriptManager> 
        <telerik:RadFormDecorator DecoratedControls="All" ID="RadFormDecorator1" runat="server" /> 
 
        <script type="text/javascript"
            //A function that will return a reference to the parent radWindow in case the page is loaded in a RadWindow object 
            function getRadWindow() { 
                var oWindow = null
                if (window.radWindow) oWindow = window.radWindow; 
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; 
                return oWindow; 
            } 
            function OnClientGridDblClick(sender, args) { 
                var item = args.get_item(); 
 
                //If file (and not a folder) is selected - call the OnFileSelected method on the parent page 
                if (item.get_type() == Telerik.Web.UI.FileExplorerItemType.File) { 
                    args.set_cancel(true); 
                    //Get a reference to the opener parent page using rad window 
                    var wnd = getRadWindow(); 
                    var openerPage = wnd.BrowserWindow; 
                    //if you need the URL for the item, use get_url() instead of get_path() 
                    openerPage.OnFileSelected(wnd, item.get_path()); 
                    //Close window 
                    wnd.close(); 
                } 
            } 
        </script> 
 
        <telerik:RadFileExplorer runat="server" ID="FileExplorer1" VisibleControls="All" 
            Width="530" Height="500" EnableViewState="true" OnClientFileOpen="OnClientGridDblClick" DisplayUpFolderItem="True" 
            Language="en-GB"
            <Configuration SearchPatterns="*.*" DeletePaths="~/Uploads" UploadPaths="~/Uploads" 
                ViewPaths="~/Uploads"></Configuration> 
        </telerik:RadFileExplorer> 
    </div> 
    </form> 
</body> 
</html> 
 

Fiko
Telerik team
 answered on 18 Dec 2009
1 answer
65 views
First of all Thanks To telerik Teanfor give us Such Great Tools...........

I need drag n drop functionality between two grids and that i implemented by following sample given at( http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx ) it works fine if the structure of both grid same ...Now my Problem is that i want to add one Extra column to my destination grid (GridHTMLeditiorColumnEditor) ...  
In this column the user will enter some feedback text.



I
Pavlina
Telerik team
 answered on 18 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?