Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
152 views
We've been using the GridSettingsPersister provided in the help here.
What must be done to save the settings per user or per machine in a similar fashion with the new persistence framework?

Regards,

John
Maria Ilieva
Telerik team
 answered on 16 Apr 2013
8 answers
151 views
Hi,

Yesterday i upgraded from Telerik ASP.NET Ajax controls from v2012.3.1205.40 to 2013.1.220.40. I've noticed 2 issues so far, which were not there in the previous version :

1. RADGRID : In the client-side OnRowSelected event, the args.get_gridDataItem().get_element().rowIndex has changed from a 0 based index to 1 based index. So, for the first row, its returning 1, for 2nd row 2 ... and so on. Earlier it used to be 0 for the 1st row, 1 for the 2nd row ...and so on.

2. RADTEXTBOX : Multiline RadTextBox inside a table is not honoring the Width property specified and always showing a fixed size textbox (probably 160px) regardless of whether a fixed width like "420px" or a percentage value like "95%" is specified.

Please confirm if other developers have reported the same issues as well ? I can provide code samples if required !

Nishant
Vasil
Telerik team
 answered on 16 Apr 2013
7 answers
126 views
(This may or may not be a little too proactive but here goes.)

We seem to be having performance problems on our production server.  We have a Dot Net 4.0 web app with a main screen that is basically a RadGrid.  The system currently has 119 records in it and the grid pages at 15 to the page.  Some users are complaining about slowness.  (According to your white paper on page http://www.telerik.com/products/aspnet-ajax/getting-started/top-performance.aspx , the RadGrid is supposed to be able to handle up to a million records 'easily'.)

If I have a question at all it's this.  My grid is driven by a LinqToSQL datasource called from the NeedDataSource event.  I've traced and this is firing every time I page, and presumably bringing back a fresh set of 119 records each time.  Is this the way it's supposed to work?  Am I missing something basic?  Is there anything specific to LinqToSQL I can do to improve performance, if this is actually a data problem?
Jayesh Goyani
Top achievements
Rank 2
 answered on 16 Apr 2013
1 answer
53 views
hi

i m using the radscedular  but when i raise an event and set recureence rule and then go again and try to edit  any one of the event
 and click on " Edit only this occurrence" i get "e.ModifiedAppointment.ID" null here hence error.
    protected void RadScheduler1_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
        {
            AppointmentInfo ai = FindById(e.ModifiedAppointment.ID);// get null
            ai.CopyInfo(e.ModifiedAppointment);
        }

 i was working on  older verion  and has updated to 2013 version of telerik. when i was usin the older version i use to get id . now not for the same case." any help".
Plamen
Telerik team
 answered on 16 Apr 2013
2 answers
84 views
Hi,

With many of our clients now moving to IE10, we've had to upgrade our Telerik products as well. We're using ASP.NET.
In most cases the RadEditor and its popups are displaying correctly.

However when I am trying to dynamically add it onto a webform, the popup does not display as expected and is completely non-functional.

Upon clicking the Image Manager, the following happens.
I am attaching a screen capture so you may have a look at it.

To me it looks like some CSS is not getting applied, but I cannot understand why there would be any missing CSS.

Any help would be appreciated.

FYI: I am using Visual Studio 2010, C#. The version we've upgraded to is: v4.0.30319.

Thanks,
Cameron
Cameron
Top achievements
Rank 1
 answered on 16 Apr 2013
3 answers
106 views
If you are using IE9 or IE10 with Compatibility View enabled the Highlighted Width of the TabStrip in Vertical Mode is no consistat

You can view it on your demo at 
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/functionality/vertical/defaultcs.aspx
Turn Compatibility Mode On

I'm not overly worried about Compatibility Mode, but it is nice to have a constant website.
Nencho
Telerik team
 answered on 16 Apr 2013
2 answers
56 views
With regard to this example:  http://demos.telerik.com/aspnet-ajax/grid/examples/programming/custompaging/defaultcs.aspx

Am I reading this correctly?  It looks to me like in the NeedDataSource, if you have entered any filter or sort, custom paging is disabled.

In my own immediate project I implemented custom paging to deal with a rapidly growing database.  I now have a LinqToSql data layer that returns 15 records at a time (rather than the 1000+ it was doing before).  So far, so good.

Are you saying that if I do any filtering or sorting, I have to disable custom paging and download the whole record set again?
Boris
Top achievements
Rank 1
 answered on 16 Apr 2013
4 answers
204 views
I have problem with iPad and native calling number keyboard.
I use
<telerik:RadTextBox ID="txt1" runat="server" Width="205px" InputType="number"></telerik:RadTextBox>

with Render is everything is ok

but with Radinputmanager is problem, because isn't property to HTML5InputType
<asp:TextBox ID="txt1" runat="server" Width="205px"></asp:TextBox>
 
    <telerik:RadInputManager ID="RadInputManager1" runat="server">
            <telerik:NumericTextBoxSetting BehaviorID="NumericBehavior1"
                Type="Number" DecimalSeparator="," GroupSeparator=" " GroupSizes="3" DecimalDigits="2"
                Validation-IsRequired="false">
                <TargetControls>
                    <telerik:TargetInput ControlID="txt1" />
                </TargetControls>
            </telerik:NumericTextBoxSetting>
    </telerik:RadInputManager>


is posibility to same result ?
Marin
Telerik team
 answered on 16 Apr 2013
1 answer
148 views
Hello,

I have a user control inside an update panel with a radgrid inside of the user control. Further, the radgrid contains a command item template which contains controls such as radbutton and radcombobox. On the client, during the application load event, I $find various controls within the grid's command template and add client side event handlers (e.g. button --> add_clicking). This works perfectly on the initial page load. However, during an update panel post back, the initial user control is swapped out for a different user control by setting one control's visibility to false and the other's to true. The second control is made visible and the first is made invisible as I would expect. However, when I try to repeat this process in order to bring back the initial user control I encounter a problem. I can still $find the radgrid control located within the initial user control, but I can no longer $find the controls within the grid's command item template. It acts as though the client side initialization scripts for the command template items might not have been executed as part of the update panel post back. Does this make sense and what can I do to resolve this?

Thanks.

Angel Petrov
Telerik team
 answered on 16 Apr 2013
3 answers
148 views
Hi all,

I see a lot of implementations and other chatter about this, but I never see full solutions. I've been at it this afternoon, but not for the first time. The best way to go, I found, is a splitter with 2 stacked panes. The top pane containing the radTabStrip, the bottom (body) pane with height=100% containing the RadMultiPage.

Problem is that in my application the user can select the skin. The top pane can be set to height=40px, but with a Touch skin this is not enough. Also, I now have a RadTabStrip with two rows, so the height is heigher.

so, the top pane should ajust it's height to the RadTabStrip, the bottom pane should fille up the splitter.

I have this kind of working using:
height: auto !important; for the top pane (useing CssClass)
but all kind of problem start happening here. The RadMultiPage is not showing, or there are no scrollbars while the height is heigher than screen. 

I've also tried javascript. problem here is that RadTabStrip.offsetHeight always returnes the wrong offset the first time. in black skin ie it always returns 76px at load (all kinds of onClientLoad tried, splitter, pane, page and Splitter's OnClientResized, OnClientLoaded)
while the real offsetHeight = 53px. This happens with the glow skin to: 101 in stead of 63.
The second time (postback or resize browser) it returns the correct value.

So... What's the best appraotch?

ps: in my secenario there is always a postback. The splitter and script code are in a usercontrol that loads after a postback.

Erik


the aspx code:

<style type="text/css">
    .SystemSettingsTable
    {
        border: 0;
    }
    .SystemSettingsTable tr
    {
        height: 35px;
    }
     
    .AutoHeightPane
    {
        height: auto !important;
    }
    .FullHeightPane
    {
        height: 100% !important;
    }
</style>
<telerik:RadScriptBlock ID="RadCodeBlock_Proovit_NetBas_Modules_SystemModules_SystemSettings" runat="server">
    <script type="text/javascript">
        //<![CDATA[
        //alert('AA');
        //var myPane = $get('<%= RadPane1.ClientID %>');
        //var myMultipage = $get('<%= RadMultiPage1.ClientID %>');
        //var myTabStrip = $get('<%= tabStrip1.ClientID %>');
        //alert(myTabStrip.offsetHeight);
 
        //alert('AAx');
        $(document).ready(function () {
            //var myPane = $get('<%= RadPane1.ClientID %>');
            //var myMultipage = $get('<%= RadMultiPage1.ClientID %>');
            var myTabStrip = $get('<%= tabStrip1.ClientID %>');
            //alert(myTabStrip.offsetHeight);
            //var newHeight = (myPane.offsetHeight - myTabStrip.offsetHeight);
            //var myGrid = $get('<%= tbl_AccountSettings_Gerneral.ClientID %>');
            //myMultipage.style.height = newHeight + 'px';
            //myGrid.style.height = (newHeight - 60) + 'px';
 
            // Within the ready function...
            //Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function (sender, args) {
            //    alert('CC');
            //});
 
        });
 
        function TestOffsetHeight(sender, Args) {
 
            alert(sender.id);
            var myTabStrip = $get('<%= tabStrip1.ClientID %>');
            alert(myTabStrip.offsetHeight);
 
        }
        //]]>
    </script>
</telerik:RadScriptBlock>
<telerik:RadSplitter ID="RadSplitter_Module" BorderSize="0" BorderStyle="None" PanesBorderSize="0" Width="100%" Height="100%" Orientation="Horizontal" VisibleDuringInit="false" LiveResize="False" runat="Server" OnClientResized="TestOffsetHeight" OnClientLoaded="TestOffsetHeight">
    <telerik:RadPane ID="RadPane1" Width="100%" Scrolling="None" CssClass="AutoHeightPane" runat="server">
        <telerik:RadTabStrip ID="tabStrip1" runat="server" Style="width: 100%;" MultiPageID="RadMultiPage1" SelectedIndex="0" OnClientLoad="TestOffsetHeight">
            <Tabs>
                <telerik:RadTab Text="Account Settings" Selected="True" runat="server">
                    <Tabs>
                        <telerik:RadTab Text="General" Selected="True" PageViewID="RadPageView_AccountSettings_Gerneral" runat="server" />
                        <telerik:RadTab Text="Page2" PageViewID="RadPageView_AccountSettings_Page2" runat="server" />
                    </Tabs>
                </telerik:RadTab>
                <telerik:RadTab Text="User Group Settings" runat="server">
                    <Tabs>
                        <telerik:RadTab Text="General" PageViewID="RadPageView_UserGroupSettings_Gerneral" runat="server" />
                        <telerik:RadTab Text="Menu" PageViewID="RadPageView_UserGroupSettings_Menu" runat="server" />
                    </Tabs>
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
    </telerik:RadPane>
    <telerik:RadPane ID="RadPane2" Width="100%" Height="100%" CssClass="FullHeightPane" Scrolling="None" BorderColor="Red" BorderStyle="Solid" BorderWidth="1px" BackColor="Yellow" runat="server">
        <telerik:RadMultiPage ID="RadMultiPage1" Height="100%" CssClass="FullHeightPane" SelectedIndex="0" ScrollBars="Both" runat="server">
            <telerik:RadPageView ID="RadPageView_AccountSettings_Gerneral" Selected="True" runat="server">
                <table id="tbl_AccountSettings_Gerneral" border="0" cellpadding="0" cellspacing="0" class="SystemSettingsTable" runat="server">
                    <colgroup>
                        <col style="white-space: nowrap;" />
                        <col style="width: 15px;" />
                        <col style="color: black;" />
                    </colgroup>
                    <tr>
                        <td>
                            <nbui:Label ID="lbl_Account" Text="Account" TextSurfix=":" LanguageKey="General.Account" runat="server" />3
                        </td>
                        <td>
                        </td>
                        <td>
                            <telerik:RadDropDownTree ID="RadDropDownTree_Accounts" AutoPostBack="True" DataTextField="Name" DataFieldID="AccountId" DataFieldParentID="ParentAccountId" DataValueField="AccountId" Width="360px" DefaultMessage="(Please select...)" ExpandNodeOnSingleClick="false" FullPathDelimiter=" » " runat="server">
                                <DropDownSettings Width="360px" Height="400px" />
                            </telerik:RadDropDownTree>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <nbui:Label ID="lbl_AccountMainUser" Text="Account's main user" TextSurfix=":" LanguageKey="General.AccountsMainUser" runat="server" />
                        </td>
                        <td />
                        <td>
                            <telerik:RadDropDownList ID="rdl_SuperUser" DataTextField="FullNameLMF" DataValueField="ContactId" DefaultMessage="(Please select)" Width="360px" DropDownWidth="360" DropDownHeight="400" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="9">
                            <telerik:RadButton ID="rbt_SaveAccountSettings" Text="Save Account Settings" ButtonType="LinkButton" Font-Bold="true" Style="margin-right: 20px;" Icon-PrimaryIconCssClass="rbSave" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="9">
                            <hr />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <nbui:Label ID="lbl_UserGroup" Text="User group" TextSurfix=":" LanguageKey="General.UserGroup" runat="server" />
                        </td>
                        <td>
                        </td>
                        <td>
                            <telerik:RadDropDownTree ID="RadDropDownTree_UserGroups" AutoPostBack="True" DataTextField="Name" DataFieldID="UserGroupId" DataFieldParentID="ParentUserGroupId" DataValueField="UserGroupId" Width="360px" DefaultMessage="(Please select)" ExpandNodeOnSingleClick="False" FullPathDelimiter=" » " runat="server">
                                <DropDownSettings Width="360px" Height="400px" AutoWidth="Enabled" />
                            </telerik:RadDropDownTree>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <nbui:Label ID="lbl_Options" Text="Options" TextSurfix=":" LanguageKey="General.Options" runat="server" />
                        </td>
                        <td />
                        <td>
                            <telerik:RadButton ID="btn_HasMenu" ToggleType="CustomToggle" ButtonType="StandardButton" AutoPostBack="false" Width="100px" runat="server">
                                <ToggleStates>
                                    <telerik:RadButtonToggleState Text="Menu" Value="1" />
                                    <telerik:RadButtonToggleState Text="No Menu" Value="0" />
                                    <telerik:RadButtonToggleState Text="[Like Parent]" Value="^" />
                                </ToggleStates>
                            </telerik:RadButton>
                            <telerik:RadButton ID="btn_HasLeftPanes" ToggleType="CustomToggle" ButtonType="StandardButton" AutoPostBack="false" Width="100px" runat="server">
                                <ToggleStates>
                                    <telerik:RadButtonToggleState Text="Left Panes" Value="1" />
                                    <telerik:RadButtonToggleState Text="No Left Panes" Value="0" />
                                    <telerik:RadButtonToggleState Text="[Like Parent]" Value="^" />
                                </ToggleStates>
                            </telerik:RadButton>
                            <telerik:RadButton ID="btn_HasLeftNavigation" ToggleType="CustomToggle" ButtonType="StandardButton" AutoPostBack="false" Width="100px" runat="server">
                                <ToggleStates>
                                    <telerik:RadButtonToggleState Text="Left Navigation" Value="1" />
                                    <telerik:RadButtonToggleState Text="No Left Navigation" Value="0" />
                                    <telerik:RadButtonToggleState Text="[Like Parent]" Value="^" />
                                </ToggleStates>
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="9">
                              
                        </td>
                    </tr>
                    <tr>
                        <td colspan="9">
                            <telerik:RadTreeList ID="RadTreeList_MenuRights" DataKeyNames="MenuItemId" ParentDataKeyNames="ParentMenuItemId" Width="800px" Height="600px" AutoGenerateColumns="false" AllowMultiItemSelection="true" AllowSorting="true" AllowNaturalSort="true" runat="server">
                                <Columns>
                                    <telerik:TreeListBoundColumn DataField="Caption" UniqueName="Caption" HeaderText="Caption" HeaderStyle-Width="100px" ItemStyle-Wrap="false" />
                                    <telerik:TreeListTemplateColumn DataField="Toggle" UniqueName="Toggle" HeaderText="Option" HeaderStyle-Width="120px" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="false" ItemStyle-Height="20px">
                                        <ItemTemplate>
                                            <telerik:RadButton ID="btn_MenuItemToggleState" ToggleType="CustomToggle" ButtonType="StandardButton" AutoPostBack="false" Width="70px" runat="server">
                                                <ToggleStates>
                                                    <telerik:RadButtonToggleState Text="YES" Value="1" />
                                                    <telerik:RadButtonToggleState Text="NO" Value="0" />
                                                    <telerik:RadButtonToggleState Text="[Parent]" Value="^" />
                                                </ToggleStates>
                                            </telerik:RadButton>
                                            [<asp:Label ID="lbl_TestLabel" Text="?" runat="server" />]
                                        </ItemTemplate>
                                    </telerik:TreeListTemplateColumn>
                                    <telerik:TreeListBoundColumn DataField="Code" UniqueName="Code" HeaderText="Code" HeaderStyle-Width="100px" ItemStyle-Wrap="false" />
                                    <telerik:TreeListBoundColumn DataField="Name" UniqueName="Name" HeaderText="Name" HeaderStyle-Width="150px" ItemStyle-Wrap="false" />
                                    <telerik:TreeListBoundColumn DataField="MenuItemId" UniqueName="Id" HeaderText="Id" HeaderStyle-Width="40px" HeaderStyle-HorizontalAlign="Right" HeaderStyle-ForeColor="GrayText" ItemStyle-HorizontalAlign="Right" ItemStyle-ForeColor="GrayText" ItemStyle-Font-Size="Smaller" />
                                </Columns>
                                <ClientSettings>
                                    <Selecting AllowItemSelection="true" AllowToggleSelection="true" UseSelectColumnOnly="true" />
                                    <Scrolling AllowScroll="false" SaveScrollPosition="true" UseStaticHeaders="true" ScrollHeight="400px" />
                                </ClientSettings>
                            </telerik:RadTreeList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="9">
                            <telerik:RadButton ID="rbt_SaveUserGroupSettings" Text="Save User Group Settings" ButtonType="LinkButton" Font-Bold="true" Style="margin-right: 20px;" Icon-PrimaryIconCssClass="rbSave" runat="server" />
                        </td>
                    </tr>
                </table>
            </telerik:RadPageView>
            <telerik:RadPageView ID="RadPageView_AccountSettings_Page2" runat="server">
                [RadPageView_AccountSettings_Page2]
            </telerik:RadPageView>
            <telerik:RadPageView ID="RadPageView_UserGroupSettings_Gerneral" runat="server">
                [RadPageView_UserGroupSettings_Gerneral]
            </telerik:RadPageView>
            <telerik:RadPageView ID="RadPageView_UserGroupSettings_Menu" runat="server">
                [RadPageView_UserGroupSettings_Menu]
            </telerik:RadPageView>
        </telerik:RadMultiPage>
    </telerik:RadPane>
</telerik:RadSplitter>

Vessy
Telerik team
 answered on 16 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?