
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
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
| <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> |
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!
| 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> |
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