Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
Hi All;

I'm using telerik Calender but when i click Today Date button it doesn't change to today's date..Any Help regarding this will be helpful.

Regards;

Zeeshan Ahmed Khan
RNA Pharmacy Solution
Dimo
Telerik team
 answered on 18 Dec 2009
1 answer
270 views

hey guys,

i have gone through many articles suggesting many solutions, the best one which worked for me on the development enviroment but not on the production is to replace the RadScripManager with the ScriptManager, no script errors appeared any longer but this runied other parts in the content paga, by the way i HAVE A ONE Master page and i put the scriptManager there,

what is ruined from remioving the RadScript and putting the scriptManger:
I have got some many script errors like:

1) Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered

 

 The solution suggested by some people:

  <asp:ScriptManager ID="ScriptManager1" runat="server">

        <Scripts>

            <asp:ScriptReference Name="Telerik.Web.UI.Common.Core.js" Assembly="Telerik.Web.UI" />

            <asp:ScriptReference Name="Telerik.Web.UI.Upload.RadUpload.js" Assembly="Telerik.Web.UI" />

        </Scripts>

     </asp:ScriptManager>

 

 

 


2)  Sys.ScriptLoadFailedException: The script '/ScriptResource.axd?d=jJZh4CK_PGSYJ-f57lEgQFzI3N0cQpNuzrmEgrdYC37pG2G4CbZ9dT8joZiZnlVO0&t=633927569740000000' failed to load.

 

The solution suggested by some people:

// fixing Error: Sys.ScriptLoadFailedException: The script <url for script> could not be loaded.

            if( Sys && Sys.Application )

            {

                Sys.Application.notifyScriptLoaded();

            }

           

            if( typeof(Sys) != "undefined" && typeof(Sys.Application) != "undefined" )

            {

                Sys.Application.notifyScriptLoaded();

            }

           


3) Sys.InvalidOperationExceptionSys.InvalidOperationException: A control is already registered with the element.

The solution suggested by some people:

Use RadScriptManager instead of scriptManager, and this solves the problem, but it keeps showing “sys is undefined” on login page, how can I fix all of these errors without ruining anything.


the weird thing that when i put back the radscriptmanager, i didn''t get the third error, but it still keeps getting "sys is undefined"  on the login page, some people said that is due to authorization, i tried what they recommended but nothing is worked for me..

regardign the web.config, it is configured very well, i reviewd every single line ( handlers, modules ... )..
actually i didn't give up figuring out the problem but it is very kind of you of you give your hand in this.


all the best,
hanan

 

Veselin Vasilev
Telerik team
 answered on 18 Dec 2009
1 answer
136 views

Good morning

 

I’m trying to create a custom skin for  a combobox but the default skin for the combobox in my installed files doesn’t contain the images listed in your tutorial:

default.gif
rcbArrowcell.gif
rcbMoreresults.gif

 

 

It only contains the following 3 attached files:
rcbsprite.png
rcbspriteIE6.png
defult.gif
 

Where can I find the listed files asI urgently need t customise the defulat skin and these files seem incrediblt difficult to customise.

 

Your help will be greatly appreciated!

 

Danielle



    
  

 

Yana
Telerik team
 answered on 18 Dec 2009
2 answers
64 views
Dear All

Can Any One Help Me With This

I am using telerik 2009 Q2 Sp1 , it was working will , but suddenly , all design time features stoped to response and even instead of rendered controls in design time i see the screen capture that i attached with the post 

this happens with previous made or new asp projects 

and if i run it , it works well in run , but not in design 


any one knows how to handle this ? 
alaa ezzat
Top achievements
Rank 1
 answered on 18 Dec 2009
1 answer
81 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
111 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
148 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
723 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
117 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
134 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?