Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
166 views
We are using the built in MOSS spell checker to check spelling for all controls on the page which includes text boxes as well as rad editor controls. The checker reads the html in the rad editors and thus picks up lots of html coding that it thinks are spelling errors.

Since the rad editors have their own spell checkers which work fine, we want to configure the MOSS spell checker to skip any Rad editor controls. I read here: http://www.codedigest.com/Articles/Sharepoint/231_How_to_skip_SharePoint_spell_check_for_an_input_control.aspx
that you can add an attribute (excludeFromSpellCheck="true") to a control to have the MOSS spell checker skip it but I have tried this and the MOSS spell checker is still catching html code in the Rad Editor control and reporting it as a spelling error.

Any ideas how I can prevent the MOSS spell checker from checking Rad Editors while still letting it check text boxes on the page?

Thanks,
-Carl
Stanimir
Telerik team
 answered on 09 Sep 2010
2 answers
153 views
Hi

I use radgrid with SqlDataSource and paging enabled.
On asp page there is a select command in sqldatasource.

On codebehind i change select command of sqldatasource when page loads and on some circumstances
it works ok at first page.

but when click next page or any page on pager
it clears the sqlcommand which i changed from codebehind and gets the records according to the
sqldatasource's select command which i put asp page at first.

fer
Top achievements
Rank 1
 answered on 09 Sep 2010
1 answer
76 views
Hi,

I want to apply my custom skin for this I gone through the below link and do the same in my DNN application but slider control not taking custom skin. It is taking from web resource.

http://www.telerik.com/help/aspnet-ajax/slider_appearancecustomskin.html

I have applied custom skin and many controls like telerik Grid and so on. but with slider control it is not working

Can you please give me more detail how can I apply custom skin on Slider control.

Regards
Reetesh
Tsvetie
Telerik team
 answered on 09 Sep 2010
3 answers
300 views
Hi,

Is there a way to cancel an AJAX request in progress (after the onRequestStart stage)?

My use case is as follows: I have some search controls on a page with a RadGrid below.  When the search control values change, I trigger a second AJAX request to update the grid.  The DB search behind the grid can take a long time, so in this way, the user may still modify the search controls while the grid is updating.

Currently however, when the search controls change, the first grid update must complete before the next AJAX request actually fires, so there isn't really a speed improvement despite the controls being active during the grid update (the requests are queued and fired serially).  What I would like to do is cancel any running grid update when the controls change and fire the updated one.

Is this possible?  I know it isn't a limit of JavaScript since I've managed this with hand-coded JavaScript & the YUI JavaScript framework, but I can't seem to find a way to do it with RadControls nor with a cursory inspection of the jQuery docs.

Thanks!

Derek
Pavlina
Telerik team
 answered on 09 Sep 2010
2 answers
147 views
Hello,

there is a method to set the FormatString in the GroupByEspression to show custom strings for the boolean values?

I have in a Radgrid a GroupByExpressions which is:
                                                       
<telerik:GridGroupByField FieldName="ExpectFlag " FieldAlias="Expect" FormatString="{0:???}" />

I need something similar: {0: (true string, ex Expected) or (false string, ex Not expected)}

Thank you!
                                                   
Daniel
Telerik team
 answered on 09 Sep 2010
1 answer
127 views

Environment:
ASP.NET 3.5, VS2008 professional, C#, Windows7, IE8
RAD Control v 2010.1.309

I am creating an extended server control that inherits from the RadCombo box.   The reason is that I want to be able to dynamically add asp.net validation controls based on a property (ValidatorCollection) that is set from the code behind of the containing page.  I have successfully accomplished this with an asp.net text box (and other controls).  I override the CreateChildControls method. Next I dynamically create the needed validation controls.

The odd thing is that the events seem to fire in a different order compared to other asp.net or Telerik controls (like the RadDateInput). 

With ASP.NET controls the events fire in this order:

Hosting Web Page (uses a Master Page) OnInit fires
   I set the ValidatorCollection property on the custom web control

On the Custom Control the RenderChildren fires
   I dynamically create the needed ASP.NET validation controls.


On the custom Telerik ComboBox control

The ComboBox RenderChildren fires
    No dynamic validator will be created since the ValidatorCollection will always be empty.

The hosting Page OnInit fires  ….
   I set the ValidatorCollection property, but it's too late, render Children already executed.


I tired the page OnPreInit, but it's to early and I get Object not set errors.  I don't know if there's anything we can about this.  I may just be the nature of a CompositeControl (which I believe the ComboBox is).  But, any assistance would be appreciated!

Thanks!

Calleigh
Top achievements
Rank 1
 answered on 09 Sep 2010
3 answers
99 views

Hi,

I have a panelbar in a radpane which is supposed to fill 100% of the browser height. 

I'm then using the panelitem template to place another radpane inside of it. There are two issues:

  1. In the first panelitem I've managed to make the radpane correctly fill 100% of the panelitem template height (using ChildGroupCssClass="splitterItem"), however, there is a scrollbar which I can't get rid of. I've tried things like overflow: hidden !important, but that doesn't seem to work. This scrollbar ends up obfuscating other scrollbars that appear in the itemtemplate radpane (such as one made by a radgrid).
  2. In the second panelitem, there is no css so the scrollbar works correctly, however, it doesn't correctly fill 100% of the panelitem template height.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
<head runat="server">
    <title></title>
    <style type="text/css">
        html
        {
            margin: 0px;
            padding: 0px;
            height: 100%;
            overflow: hidden;
        }
        body
        {
            margin: 0px;
            padding: 0px;
            height: 100%;
            overflow: hidden;
        }
        form
        {
            margin: 0px;
            padding: 0px;
            height: 100%;
        }
        .splitterItem .rpItem, .splitterItem .rpTemplate
        {
            height: 100%;
        }
    </style>
</head>
<body scroll="no">
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" Height="100%">
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="100%" />         
        <div style="height: 100%">
            <telerik:RadSplitter ID="RadSplitter1" runat="server" Height="100%" BorderSize="0" Orientation="Vertical" LiveResize="False" ResizeWithBrowserWindow="true" ResizeWithParentPane="true" VisibleDuringInit="true">
                <telerik:RadPane ID="RadPane1" runat="server" Scrolling="None" Width="250px" Height="100%" MinWidth="0" BackColor="Red">
                    <telerik:RadPanelBar ID="RadPanelBar1" runat="server" ExpandMode="FullExpandedItem" Height="100%">
                        <Items>
                            <telerik:RadPanelItem ID="RadPanelItem1" runat="server" Text="RadPanelItem1" ChildGroupCssClass="splitterItem" Selected="true" Expanded="true">
                                <Items>
                                    <telerik:RadPanelItem>
                                        <ItemTemplate>
                                            <telerik:RadSplitter ID="RadSplitter3" runat="server" ResizeWithParentPane="false" Height="100%">
                                                <telerik:RadPane ID="RadPane3" runat="server" Scrolling="None" Height="100%">
                                                    don't want that scrollbar
                                                </telerik:RadPane>
                                            </telerik:RadSplitter>
                                        </ItemTemplate>
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                            <telerik:RadPanelItem ID="RadPanelItem2" runat="server" Text="RadPanelItem2">
                                <Items>
                                    <telerik:RadPanelItem>
                                        <ItemTemplate>
                                            <telerik:RadSplitter ID="RadSplitter4" runat="server" ResizeWithParentPane="false" Height="100%">
                                                <telerik:RadPane ID="RadPane4" runat="server" Scrolling="None" Height="100%">
                                                    without the css, doesn't fully fill the pane
                                                </telerik:RadPane>
                                            </telerik:RadSplitter>
                                        </ItemTemplate>
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>                    
                        </Items>
                    </telerik:RadPanelBar>
                </telerik:RadPane>
            </telerik:RadSplitter>
        </div>
    </telerik:RadAjaxPanel>
    </form>
</body>
</html>

In 2010.1.519.35, this wasn't an issue, but in further versions (I'm using  2010.2 826 in this example).

Any help is appreciated!
Yana
Telerik team
 answered on 09 Sep 2010
2 answers
1.4K+ views
When a dropdown list contains a large number of items the dropdown list opens up instead of down.
How can I force it to always drop down?
Ryan
Top achievements
Rank 1
 answered on 09 Sep 2010
2 answers
260 views
Hi,

I'm have problems styling a page-size dropdown box in a Radgrid. The Page-size dropdown is to big in width and height.

Link to my page
Could anyone help me please?
Dimo
Telerik team
 answered on 09 Sep 2010
4 answers
141 views
I have a RadComboBox in a RadWindow that has functioned correctly(expanding up) for nearly a year.  I then updated to the latest rad controls and now my combo expands down on the first click and then up on the second click. I've attached 2 images to show what happens.  I noticed that the "ExpandDirection" option has been added in the last release or two and was wondering if this could the issue.  I tried adding this attribute with "Up" option but the control only goes down when that is added.   I am using the 2010.2.826.40 release.
Michael
Top achievements
Rank 1
 answered on 09 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?