Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
107 views
Hi,
 Great tool, but the fonts are limited in the Editor Lite version. I've checked the product compare list and cannot see if this is limited to the lite version or not. Can you advise?

Thanks,
Jason.
Stanimir
Telerik team
 answered on 15 Jul 2009
1 answer
64 views
ASCX
<telerik:RadAjaxLoadingPanel ID="TheRadAjaxLoadingPanel" runat="server" Height="75px"
    Width="75px" meta:resourcekey="TheRadAjaxLoadingPanelResource1">
</telerik:RadAjaxLoadingPanel>
<
asp:Button runat="server" ID="btnUseDefault" Text="Test" OnClick="btnUseDefault_Click" /> 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="TheRadAjaxLoadingPanelResource1"
    <table cellpadding="5" border="1" runat="server" ID="tblGameSetting"
        <tr> 
            <td> 
                <telerik:RadNumericTextBox ID="txt1" runat="server" MinValue="0"></telerik:RadNumericTextBox> 
            </td> 
            <td> 
                <telerik:RadNumericTextBox ID="txt2" runat="server" MinValue="0"></telerik:RadNumericTextBox> 
            </td> 
            <td> 
                <telerik:RadNumericTextBox ID="txt3" runat="server" MinValue="0"></telerik:RadNumericTextBox> 
            </td> 
            <td> 
                <telerik:RadNumericTextBox ID="txt4" runat="server" MinValue="0"></telerik:RadNumericTextBox> 
            </td> 
        </tr> 
</table> 
</telerik:RadAjaxPanel> 

.CS:
        protected void btnUseDefault_Click(object sender, EventArgs e) 
        { 
            txt1.Value = 11.11; 
        } 

But after click the button, it postback. Please advice.
Princy
Top achievements
Rank 2
 answered on 15 Jul 2009
2 answers
126 views
Hello,
    Is it possible to check if the user is using the "shift" key (i.e. Shift + Tab), in the OnClientKeyPressing Event of Radcombo box?

Thanks,
Rajiv

Rajiv
Top achievements
Rank 1
 answered on 15 Jul 2009
2 answers
70 views
Hi,

when I use (for an example) RadDatePicker - neither the properties window nor Intellisense shows DbSelectedDate.
This happens also to some other properties - and other controls (like RadDropDown) also.

If I enter the property I get no warnings or errors - they work - but they are missing in Intellisense and the property window.

RC: 2009.2.701.35
VS 2008 SP1 German

Regards

Manfred
ManniAT
Top achievements
Rank 2
 answered on 15 Jul 2009
1 answer
62 views
Hello

I have a radwindow which when i close want it to reload page, which is does, but can i also set which view of my multiview to set cos at the moment it goes back to the begining.

many thanks

Caroline
Fiko
Telerik team
 answered on 15 Jul 2009
3 answers
117 views
I have the following markup on my page. The root and the 2nd level hierarchy seem to function well, but the 2nd level should expose a 3rd level hierarchy and this never happens. 

Why don't I get the indicators for the 3rd level ??? 

Thanks for any tips:


<telerik:RadGrid ID="tgrdProducts" runat="server" AllowSorting="false" AllowPaging="true" AllowFilteringByColumn="false" EnableViewState="false"   
    AutoGenerateColumns="false" Skin="WebBlue" AllowCustomPaging="true" AllowMultiRowSelection="true">  
    <MasterTableView ClientDataKeyNames="ProductNumber, RecordID, ParentID" AllowSorting="false"   
        HierarchyLoadMode="Client">  
        <NoRecordsTemplate> 
            <div>There are no records to display</div> 
        </NoRecordsTemplate> 
        <DetailTables> 
            <telerik:GridTableView ClientDataKeyNames="LicensableNumber, RecordID, ParentID" Width="100%" 
                AutoGenerateColumns="false" 
                HierarchyLoadMode="Client" 
                runat="server">  
                <PagerStyle AlwaysVisible="false" Position="Top" Mode="NextPrevNumericAndAdvanced" /> 
                <ParentTableRelation> 
                    <telerik:GridRelationFields DetailKeyField="ParentID" MasterKeyField="RecordID" /> 
                </ParentTableRelation> 
                <NoRecordsTemplate> 
                    <div>There are no records to display</div> 
                </NoRecordsTemplate> 
                <DetailTables> 
                    <telerik:GridTableView ClientDataKeyNames="ItemPartNumber, RecordID, ParentID" Width="100%" 
                        AutoGenerateColumns="false"   
                        HierarchyLoadMode="Client" 
                        runat="server" > 
                        <ParentTableRelation> 
                            <telerik:GridRelationFields DetailKeyField="ParentID" MasterKeyField="RecordID" /> 
                        </ParentTableRelation> 
                        <NoRecordsTemplate> 
                            <div>There are no records to display</div> 
                        </NoRecordsTemplate> 
                        <Columns> 
                            <telerik:GridBoundColumn DataField="RecordID" DataType="System.Int32"   
                                HeaderText="RecordID" SortExpression="RecordID" UniqueName="RecordID" Visible="false">  
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="ParentID" DataType="System.Int32"   
                                HeaderText="ParentID" SortExpression="ParentID" UniqueName="ParentID" Visible="false">  
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="ItemPartNumber" ItemStyle-Wrap="false" 
                                HeaderText="Item PartNumber" SortExpression="ItemPartNumber"   
                                UniqueName="ItemPartNumber">  
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="Description" HeaderText="Description" ItemStyle-Wrap="false" 
                                SortExpression="Description" UniqueName="Description">  
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="PartType" HeaderText="Part Type" ItemStyle-Wrap="false" 
                                SortExpression="PartType" UniqueName="PartType">  
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="Licensed" HeaderText="Licensed" ItemStyle-Wrap="false" 
                                SortExpression="Licensed" UniqueName="Licensed">  
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="LineItem" HeaderText="Line Item" ItemStyle-Wrap="false" 
                                SortExpression="LineItem" UniqueName="LineItem">  
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="EndItemAccess" DataType="System.Int32" ItemStyle-Wrap="false" 
                                HeaderText="End Item Access" SortExpression="EndItemAccess"   
                                UniqueName="EndItemAccess">  
                            </telerik:GridBoundColumn> 
                        </Columns> 
                    </telerik:GridTableView> 
                </DetailTables> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="RecordID" DataType="System.Int32"   
                        HeaderText="RecordID" SortExpression="RecordID" UniqueName="RecordID" Visible="false">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="ParentID" DataType="System.Int32"   
                        HeaderText="ParentID" SortExpression="ParentID" UniqueName="ParentID" Visible="false">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="LicensableNumber" ItemStyle-Wrap="false" 
                        HeaderText="Licensable Number"   
                        SortExpression="LicensableNumber"   
                        UniqueName="LicensableNumber">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Description" HeaderText="Description" ItemStyle-Wrap="false" 
                        SortExpression="Description" UniqueName="Description">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="PartType" HeaderText="Part Type" ItemStyle-Wrap="false" 
                        SortExpression="PartType" UniqueName="PartType">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Language" HeaderText="Language" ItemStyle-Wrap="false" 
                        SortExpression="Language" UniqueName="Language">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="PricingBasis" HeaderText="Pricing Basis" ItemStyle-Wrap="false" 
                        SortExpression="PricingBasis" UniqueName="PricingBasis">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="BillingType" HeaderText="Billing Type" ItemStyle-Wrap="false" 
                        SortExpression="BillingType" UniqueName="BillingType">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="LicensableStatus"   
                        HeaderText="Licensable Status" SortExpression="LicensableStatus" ItemStyle-Wrap="false" 
                        UniqueName="LicensableStatus">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Licensed" HeaderText="Licensed" ItemStyle-Wrap="false" 
                        SortExpression="Licensed" UniqueName="Licensed">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="StartDate" DataType="System.DateTime" ItemStyle-Wrap="false" 
                        HeaderText="Start Date" SortExpression="StartDate" UniqueName="StartDate">  
                    </telerik:GridBoundColumn>                                          
                    <telerik:GridBoundColumn DataField="EndDate" DataType="System.DateTime" ItemStyle-Wrap="false" 
                        HeaderText="End Date" SortExpression="EndDate" UniqueName="EndDate">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="LineItem" HeaderText="Line Item" ItemStyle-Wrap="false" 
                        SortExpression="LineItem" UniqueName="LineItem">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="LicensableAccess" DataType="System.Int32" ItemStyle-Wrap="false" 
                        HeaderText="Licensable Access" SortExpression="LicensableAccess"   
                        UniqueName="LicensableAccess">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="ProductFamilyName"   
                        HeaderText="Product Family Name" SortExpression="ProductFamilyName" ItemStyle-Wrap="false" 
                        UniqueName="ProductFamilyName">  
                    </telerik:GridBoundColumn> 
                </Columns> 
            </telerik:GridTableView> 
        </DetailTables> 
        <Columns> 
            <telerik:GridBoundColumn DataField="RecordID" DataType="System.Int32"   
                HeaderText="RecordID" SortExpression="RecordID" UniqueName="RecordID" Visible="false">  
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="ParentID" DataType="System.Int32"   
                HeaderText="ParentID" SortExpression="ParentID" UniqueName="ParentID" Visible="false">  
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="ProductNumber" ItemStyle-Wrap="false" 
                DataType="System.Int32" HeaderText="Product Number"   
                SortExpression="ProductNumber" UniqueName="ProductNumber">  
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="Description" HeaderText="Description" ItemStyle-Wrap="false" 
                SortExpression="Description" UniqueName="Description">  
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="PartType" HeaderText="Part Type" ItemStyle-Wrap="false" 
                SortExpression="PartType" UniqueName="PartType">  
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="EstimatedAnnualVolume" ItemStyle-Wrap="false" 
                DataType="System.Decimal" HeaderText="Estimated Annual Volume"   
                SortExpression="EstimatedAnnualVolume" UniqueName="EstimatedAnnualVolume">  
            </telerik:GridBoundColumn> 
        </Columns> 
    </MasterTableView>                          
    <SortingSettings SortedBackColor="Beige" /> 
    <PagerStyle AlwaysVisible="true" Position="TopAndBottom" Mode="NextPrevNumericAndAdvanced" /> 
    <ClientSettings AllowExpandCollapse="true" AllowColumnsReorder="false"  > 
        <Selecting AllowRowSelect="true" /> 
        <ClientEvents OnCommand="tgrid_Command" OnHierarchyExpanded="tgrid_OnRowExpand" /> 
    </ClientSettings> 
</telerik:RadGrid> 

Sebastian
Telerik team
 answered on 15 Jul 2009
1 answer
134 views
Hello,

I have 2 questions about the Radeditor MOSS control. I have added a hyperlink.

Can I maximize the length of the tooltip text to 1000
Can I set the time of visibility of the tooltip. When I hover with the mouse the tooltip is shown 12 secs and then closes.

Thanks in advance
Danny
Stanimir
Telerik team
 answered on 15 Jul 2009
1 answer
91 views
Any one can explain to me because this code don't work?
On submit the grid is binding with excel version without open excel application.
This is ASCX file:
----------------------------------------------------------------------------------------------------------------------------------------------------

 

 

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

 

 

<script type="text/javascript">

 

 

function mngRequestStarted(ajaxManager, eventArgs) {

 

 

if (eventArgs.EventTarget == "mngBtnExcel") {

 

eventArgs.EnableAjax =

false;

 

}

}

 

</script>

 

</

 

telerik:RadCodeBlock>

 

 

<

 

asp:Button ID="mngBtnExcel" runat="server" Text="EXPORT GRID" OnClick="Vai" />

 

 

 

 

<telerik:RadGrid ShowStatusBar="true" EnableAJAX="True"

 

 

ID="RadGrid1" runat="server" Width="97%" Skin="Web20"

 

 

AllowPaging="True" AllowSorting="true" AllowMultiRowSelection="True"

 

 

AutoGenerateColumns="true" GroupingEnabled="true" ShowGroupPanel="true"

 

 

GridLines="Both" >

 

 

<ClientSettings ColumnsReorderMethod="Swap" ReorderColumnsOnClient="true"

 

 

AllowColumnsReorder="true" AllowDragToGroup="true">

 

 

<Selecting AllowRowSelect="True"></Selecting>

 

 

<Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True"

 

 

ResizeGridOnColumnResize="False"></Resizing>

 

 

</ClientSettings>

 

 

<GroupPanel Text="Per raggruppare secondo una colonna, trascinare l'intestazione della colonna su quest'area "></GroupPanel>

 

 

<MasterTableView Width="100%" />

 

 

<PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" Position="TopAndBottom"/>

 

 

<FilterMenu EnableTheming="True">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</FilterMenu>

 

 

</telerik:RadGrid>

 

 

 

<telerik:RadAjaxLoadingPanel Skin="Web20" ID="RadAjaxLoadingPanel1" runat="server">

 

 

</telerik:RadAjaxLoadingPanel>

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >

 

 

<ClientEvents OnRequestStart="mngRequestStarted"/>

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1" >

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

----------------------------------------------------------------------------------------------------------------------------------------------------------
Is very simple and i disabled AJAX function how you can see.
Now this is the code of APSX page to import usercontrol in code behind:
---------------------------------------------------------------------------------------------------------------------------------------------------

 

Dim userControl As New asxc_Griglia25

 

UserControl = LoadControl(

"Griglia.ascx")

 

UserControl.ID =

"Griglia"

 

updCaricaGriglia.ContentTemplateContainer.Controls.Add(userControl)



Daniel
Telerik team
 answered on 15 Jul 2009
2 answers
144 views
I have a website where the Spellchecker uses the PhoneticProvider even though we are trying to use the EditDstanceProvider.
We are running on RadEditer version 7.3.5 and RadSpell version  3.2.7

The ConfigFle.xml  located at Webroot/Radcontrols/Editor contains the following:
......
<property name="RadSpellTypeName">Telerik.WebControls.RadSpell, RadSpell.Net2</property>
......
 <!-- RadSpell properties -->
 <property name="SpellAllowAddCustom">true</property>
  <property name="SpellCheckProvider">EditDistanceProvider</property>
  <property name="SpellCustomDictionarySourceTypeName"></property>
  <property name="SpellCustomDictionarySuffix">-custom</property>
  <property name="SpellDictionaryPath"></property>
  <property name="SpellDictionaryLanguage"></property>
 <property name="SpellEditDistance">1</property>
 <property name="SpellFragmentIgnoreOptions">None</property>
 <property name="SpellWordIgnoreOptions">RepeatedWords</property>
 <!-- /RadSpell properties -->
......
We placed these three test pages in the webroot:
Spelltest.aspx

<%@ Page Language="C#" MasterPageFile="MasterPages/CambridgeshireRight.master" Title="Register for Cambridgeshire.net" %>
<%@ Register Assembly="CCCDIT.InfoCam.Controls" Namespace="CCCDIT.InfoCam.Controls.UI"    TagPrefix="cc1" %>
<%@ Register Assembly="RadSpell.NET2" Namespace="Telerik.WebControls"    TagPrefix="cc2" %>
<%@ Register Assembly="RadEditor.Net2" Namespace="Telerik.WebControls"    TagPrefix="cc3" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainArea" Runat="Server">
  <div class="content">
   <asp:TextBox ID="gf" runat="server" TextMode="MultiLine" Width="100%" Height="200px" Text="arange arrrange"></asp:TextBox>
     <cc2:RadSpell ID="spell1" Runat="Server" ControlToCheck="gf" RadControlsDir="~/RadControls/" DictionaryLanguage="en-GB" />
  </div>
</asp:Content>

SpelltestPhonetic.aspx
as above except
     <cc2:RadSpell ID="spell1" Runat="Server" ControlToCheck="gf" RadControlsDir="~/RadControls/" DictionaryLanguage="en-GB" SpellCheckProvider="PhoneticProvider" />

SpelltestDistance.aspx

as above except
     <cc2:RadSpell ID="spell1" Runat="Server" ControlToCheck="gf" RadControlsDir="~/RadControls/" DictionaryLanguage="en-GB" SpellCheckProvider="EditDistanceProvider" EditDistance="1" />

SpellTest and SpellTestPhonetic identify both arange and arrrange a being misspelled with suggestions given of:
  arange    -    orange    arrange    oranges    arranged    arranger    arranges 
  arrrange    -    no suggestions

SpellTestDistance again shows both arange and arrange as misspelled with suggestions:
   arange    -    range    grange    orange    arrange
  arrrange    -    arrange

Utilising the online test at http://demos.telerik.com/aspnet-ajax/spell/examples/whatsnew/defaultcs.aspx
  With EditDistanceProvider selected the results match SpellTestDistance.aspx
  With PhoneticProvider selected the results match both SpellTest.aspx and SpellTestPhonetic.aspx

The spellchecker on this text boc matches the behaviour of the PhoneticProvder.  

To me this shows the default behaviour being used by my site is the PhoneticProvider even though we have specified the EditDistanceProvider in the ConfigFile.xml.

Can anyone spot what is wrong or do I need to do something else?
Tervel
Telerik team
 answered on 15 Jul 2009
6 answers
368 views
Hi All,

We have front end designers on our team who would prefer to create and maintain stylesheets for styling the controls as opposed to using Visual Style Builder. When I look at the css classes in firebug, they all seem to be coming from WebResources etc.

I suppose we can just apply CssClass attributes to different elements to override it? But what would be the recommended way of doing it?

Ideally we want to change as little as possible in the aspx page itself and control the styling from our own CSS files as much as possible. Any suggestions and best practices?

Thank You,
Manoj
Alex Gyoshev
Telerik team
 answered on 15 Jul 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?