Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
140 views
Hello,

I have a page with ListView and filters surrounded with RadAjaxPanel (let's say 'Page A'). If any of filters changes, I save the previous state in history (using RadScriptManager AddHistoryPoint). It all works just fine, history is being populated every time I change filter(s) and after clicking browser's back button, ListView loads data with previous filters.
The problem comes up, when I navigate from 'Page A' to any other page in my web project. Then if browser's back button is hitted, ListView loads datasource which has been loaded at the beggining (before any of history points were made) and after approximately 1 second, loads datasource to the one stored in history.
I want, that only datasource from the history is loaded, without the datasource from the start.

Thanks for your reply,
Aleš.
Jure
Top achievements
Rank 1
 answered on 28 Oct 2011
9 answers
241 views
Hi,

Is it possible to set the line height for rows that are marked as separators?
Separator rows have the same height as other rows, but I would like to reduce them if possible.

I have tried altering the css file by adding a height to rcbseparator - but this had no effect.  The combobox is being used for both Template and Non-Template dropdowns.

Thanks
Shimon
Kate
Telerik team
 answered on 28 Oct 2011
1 answer
109 views
In FireFox the image size is visible when drag handle is dragged.
How can this be accomplished in IE?

BR,
Marc
Rumen
Telerik team
 answered on 28 Oct 2011
1 answer
51 views
Here is a sample page:  See the environment information in the UL tag in the markup sample.
Steps to reproduce in IE8:
. Select Image Manager Icon
. Click Cancel button on the image manager dialog
Notice the Scroll bar vanishes.  How can I fix this?  Thanks.

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="ScriptManager1" runat="server" />
        <telerik:RadSplitter ID="splitterOuter" Height="99.9%" Width="99.9%" ResizeMode="Proportional"
            runat="server">
            <telerik:RadSplitBar ID="spVertical2" CollapseMode="Both" runat="server" />
            <telerik:RadPane ID="paneRightOuter" Scrolling="Y" runat="server">
                <telerik:RadSplitter ID="spHorizontalOuter" ResizeMode="AdjacentPane" LiveResize="true"
                    Width="100%" Orientation="Horizontal" runat="server">
                    <telerik:RadPane ID="rPaneTop" runat="server" Scrolling="None">
                        <div>
                        <h2>Environment:</h2>
                            <ul>
                                <li>RadEditor.dll Version 7.3.1.0 </li>
                                <li>TeleriK.Web.UI Version 2011.1.315.40</li>
                                <li>Telerik.Web.Design Version 2011.1.315.40 </li>
                                <li>jQuery-1.4.2.js </li>
                                <li>Visual Studio 2010 </li>
                                <li>IE8 </li>
                            </ul>
                        </div>
                    </telerik:RadPane>
                    <telerik:RadSplitBar ID="spHorizontalInner" AdjacentPanesNames-BottomPaneName="rpPaneBot"
                        runat="server" CollapseMode="Both" />
                    <telerik:RadPane ID="rpPaneBot" Scrolling="none" runat="server">
                        <telerik:RadEditor runat="server" ID="RadEditor1" Height="400px" SkinID="DefaultSetOfTools">
                            <Tools>
                                <telerik:EditorToolGroup Tag="FileManagers">
                                    <telerik:EditorTool Name="ImageManager" />
                                </telerik:EditorToolGroup>
                                <telerik:EditorToolGroup>
                                    <telerik:EditorTool Name="Bold" />
                                    <telerik:EditorTool Name="Italic" />
                                    <telerik:EditorTool Name="Underline" />
                                    <telerik:EditorSeparator />
                                    <telerik:EditorTool Name="ForeColor" />
                                    <telerik:EditorTool Name="BackColor" />
                                    <telerik:EditorSeparator />
                                    <telerik:EditorTool Name="FontName" />
                                    <telerik:EditorTool Name="RealFontSize" />
                                </telerik:EditorToolGroup>
                            </Tools>
                            <ImageManager ViewPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" />
                            <Content>
               The tight integration with ASP.NET AJAX and the powerful new capabilities make Telerik's WYSIWYG Editor a flexible and lightweight component, turning it into the fastest loading Web Editor. Among the hottest features are:
                <ul>
                    <li><em>Single-file, drag-and-drop deployment</em></li>
                    <li><em>Built on top of ASP.NET AJAX</em></li>
                    <li><em>Unmatched loading speed with new semantic rendering </em></li>
                    <li><em>Full keyboard accessibility</em></li>
                    <li><em>Flexible Skinning mechanism</em></li>
                    <li><em>Simplified and intuitive toolbar configuration</em></li>
                    <li><em>Out-of-the-box XHTML-enabled output</em></li>
                </ul>
                            </Content>
                        </telerik:RadEditor>
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>

Rumen
Telerik team
 answered on 28 Oct 2011
1 answer
125 views
Hi,

I've got a page with a RadAjaxManager on with an OnResponseEnd method. It had a single Formview on the page, ajaxified by the RadAjaxManager. In this scenario, the OnResponseEnd method of the RadAjaxManager was called when the Formview updated, as expected.

I've now placed a RadTabStrip on the page, with an associated RadMultiPage control. I've added a RadPageView to the RadMultiPage, and placed my Formview in the RadPageView. Now, the Formview still appears to be ajaxified by the RadAjaxManager, but the OnResponseEnd javascript method is never fired.

Any ideas?

Thanks,

Matt
Maria Ilieva
Telerik team
 answered on 28 Oct 2011
3 answers
215 views
I using following code to implement checkAll functionality using a header template checkbox.it works fine for the current page when pagination is enabled.i need to check all checkboxs in all the pages


 function CheckHeaderCheckBoxIfNeeded(radGrid) {
                var checkHeaderCheckBox = true;
                var dataItems = radGrid.get_masterTableView().get_dataItems();
              
                for (var i = 0; i < dataItems.length; i++) {
                    var dataItem = dataItems[i];
                    var row = dataItem.get_element();
                    var ckeckBox = row.children[0].children[0];
                    if (!ckeckBox.checked) {
                        checkHeaderCheckBox = false;
                    }
                }


                SelectCheckBox(checkHeaderCheckBox);
            } 
Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Oct 2011
2 answers
127 views
I spent a few hours ripping my hair out over this one - but it appears that there is a bug in the NodeCheck event in RadTreeView. It may be specific to Firefox/Mozilla, and i've tried the no-cache fix, with no luck.

As an example, create a TreeView with checkboxes=true, and populate it with say 10 nodes in the Page_Load event. Add a NodeCheck server side event (the function can be empty).  Wrap the TreeView in an AjaxPanel, and run the project.

<telerik:RadAjaxPanel ID="rap2" runat="server">
<telerik:RadTreeView runat="server" ID="tv1" CheckBoxes="true"  onnodeexpand="tv1_NodeExpand" onnodecheck="tv1_NodeCheck"  >
</telerik:RadTreeView>
</telerik:RadAjaxPanel>

protected void Page_Load(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
        tv1.Nodes.Clear();
        for (int i = 0; i < 10; i++)
        {
            tv1.Nodes.Add(new RadTreeNode(i.ToString()));
        }
    }
}

Check off all the boxes, and hit refresh on the browser (CTRL-R or F5). When the page reloads, either none of the nodes will be checked, or only the first node will be checked. It appears that the ViewState is not being saved after a NodeCheck event.

The hack solution i have for the time being is to add in an OnClientNodeChecked handler with the following:
function ClientNodeCheck() {
    var tree = $find("<%= tv1.ClientID %>");
    tree.UpdateState()
}


Could you please confirm if this is in fact a bug, and if there will be a fix for this in an upcoming release?

Thanks,

N.
Princy
Top achievements
Rank 2
 answered on 28 Oct 2011
1 answer
90 views
Hi,

               I have three values in Combo box.
                 1.If i select Value "A" in combo, I want to show the grid column order of "Col1","Col2" and "Col3".
                 2.if i select Value "B" in combo, I want to show the grid column order of "Col2","Col3" and "Col1".
                 3.if i select Value "C" in combo, I want to show the grid column order of "Col3","Col2" and "Col1".

and again if i select "A" from any of the "B" or "C", it should be restored.

i have tried in server side.But when the value go to "A" from either of the value, the grid hasnt been restored,

radGridProjectDisplay.MasterTableView.SwapColumns(

 

"PROJECT_NAME", "MKT_PROD");

 

and it is working fine in one shot.if you go back and flip flop combo value ,
it is not working as expected.

Please give me solution as soonas possible.

Thanks,
Priya
Shinu
Top achievements
Rank 2
 answered on 28 Oct 2011
2 answers
205 views
I am using the latest version of RadControls (2011.2.712.40) and am running into a confusing issue. I have a grid defined with a GroupByExpression like so:
<GroupByExpressions>
    <telerik:GridGroupByExpression>
        <GroupByFields>
            <telerik:GridGroupByField FieldAlias="Status" FieldName="RealStatus" SortOrder="Descending" />
        </GroupByFields>
        <SelectFields>
            <telerik:GridGroupByField FieldAlias="Status" FieldName="RealStatus" />
        </SelectFields>
    </telerik:GridGroupByExpression>
</GroupByExpressions>

When the page loads the grid looks exactly how I want it to, however when I hit the "Add" link (auto-generated in the Command header along with a Refresh link) I get "Too many spaces in field definition: ' RealStatus Status DESC'."

Since the page initially loads fine and only postbacks cause it to die I have no clue what could cause this. If I don't have the SortOrder specified postbacks function as expected (albeit in the wrong order) which is even more confusing.

Any ideas?
digitall
Top achievements
Rank 1
 answered on 28 Oct 2011
3 answers
105 views
 why the splitter work well in IE ,But Can't Work In Firefox. The Splitter can't expand in firefox......

More Information ,please see the attachments....
trampt
Top achievements
Rank 1
 answered on 28 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?