Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
115 views
Hi
One of my developers just got an email stating the following:
Our team decided to create a brand new RadPageView control which is designed
to replace and extend the functionality of both RadTabStrip and RadPanelBar.
Furthermore, it will provide greater flexibility and better performance than
its ancestors. The trend our team would like to follow is enhancing
RadPageView and discontinuing RadTabStrip and RadPanelBar. Please note that
from Q3 2011 the obsolete controls will be removed from our suite.

I am in the last phases of a new site that uses both controls.

1) is RadPanelBar and RadTabStrip gone in 3rd quarter?
2) where is the sample for converting functionality?

Phil 
Kate
Telerik team
 answered on 15 Dec 2011
5 answers
85 views
Hello,

I have a gird with products. And I added a FilterTemplate for 1 column so there will be:
- an Image if there is only 1 image in DB for that product
- a RadRotator if there is more than 1 image in DB for that product,

The problem is - sometimes (mostly in Internet Explorer 8) the image if displayed wrongly (please check attached image).
Then after refreshing it's ok, but it's  avery annoying bug.

For 100% it's nothing with CSS - I have no custom css on the page. It's an empty template with custom widget.

I can attach full source + db contents for tests if needed.

Regards
Darek
Dariusz
Top achievements
Rank 1
 answered on 15 Dec 2011
0 answers
169 views
Is there anywhere that shows a general breakdown on the syntax of how to do format string in the RadGrid. I'd prefer to keep this out of the code behind databound event. I figured out how to do basic currency, however I want negatives to display with parenthesis instead of a minus symbol.

For example: (224,563.30) instead of -224,563.30

Here is one of the columns from my grid.:
<telerik:GridBoundColumn DataField="warehouse_249000" HeaderText="249000" UniqueName="warehouse_249000" DataFormatString="{0:$###,##0.#0}"></telerik:GridBoundColumn>

Normally, if I was using a repeater I would use something like "$#,##0.#0;($#,##0.#0);$#,##0.#0". What's the syntax for doing this with the RadGrid?
License
Top achievements
Rank 1
 asked on 15 Dec 2011
1 answer
122 views
Hi

I have several grids which have a selection column.

When I select the individual rows I get an ItemCommand 'RowClick' event.
When this happens I want to manipulate the UI depending on the number of items selected.

If its a single selection I do certain things. If its a multi-selection I want to do something different.

Obviously if I click the checbox in the column header ALL the items get marked as selected,
but I don't get an ItemCommand 'RowClick' event.

So my UI doesn't behave as I want.

Presumably there is some event getting fired. I just don't know what to detect.

TIA
Shinu
Top achievements
Rank 2
 answered on 15 Dec 2011
2 answers
102 views
Hi,
We're using the RAD Editor in an application where screen space is limited. For that reason we opted to use the 'Show on focus' method of displaying/hiding the editor toolbar as it doesn't require any space at the top of the editor content area.

Unfortunately, on some screens the toolbar obscures other screen content above the editor. If the editor was configured to use the 'Floating' toolbar mode (which allows the toolbar to be re-positioned), is there any way that displaying/hiding the toolbar can be controlled from a custom toggle image or button on the application screen? As part of this approach, we would obviously need to hide the table row at the top of the editor content area that's used for standard editor toggle button.

Thanks, Ian
Ian
Top achievements
Rank 1
 answered on 15 Dec 2011
3 answers
72 views
Hi Telerik Team,

Please I need to know how to change the HeaderContextMenu items order.
For example, I want the item "Columns" to be the 1st item in the HeaderContextMenu.

Please let me know how can I achieve this.

Thanks,
Bilal
Marin
Telerik team
 answered on 15 Dec 2011
3 answers
102 views
Hello,

I just added my first webresource/scriptresource to a project.
The class for which I added this contains a RadTreeView.
Since I added this, I get this (server-side) error when the browser tries to load Telerik.Web.UI.WebResource.axd:

   bei Telerik.Web.UI.CombinedScriptWriter.RegisterNamespace(TextWriter builder, String typeName, Boolean isDebug)
   bei Telerik.Web.UI.CombinedScriptWriter.WriteAssemblyScriptResources(TextWriter outputWriter, ScriptEntry scriptEntry)
   bei Telerik.Web.UI.CombinedScriptWriter.WriteScripts(List`1 scriptEntries, TextWriter outputWriter)
   bei Telerik.Web.UI.CombinedScriptWriter.GenerateResponse(List`1 scriptEntries, String hiddenFieldName, String combinedScripts)
   bei Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile()
   bei Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile(Page page, HttpContext context)
   bei Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context)
   bei System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

This is the code which leads to the exception (the class implements IScriptControl):
public IEnumerable<ScriptReference> GetScriptReferences()
 {
         yield return new ScriptReference("HierarchyTree1.HierarchyTree.js", GetType().Assembly.FullName);
}

When I use a non-existant scriptreference (e.g. "xxx.js") I won't get that error.
Please tell me if you need additional informations.

Regards,
JP

Edit: I just tested this without any telerik component involved and everything works. Somehow the TelerikWebResource won't work together with mine.
Edit2: Using a ScriptManager instead of a RadScriptManager helps.
Simon
Telerik team
 answered on 15 Dec 2011
2 answers
117 views
Hi, I've tried various css/manuals/snippets to get RadSplitter within RadWindow automatically resize on RadWindow resize. I wonder if there's known way to do it without conditionally heavy client-side js.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GlobalException.aspx.cs"
    Inherits="GlobalException" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form2" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <telerik:RadFormDecorator ID="FormDecorator" runat="server" DecoratedControls="all" />
    <telerik:RadSkinManager runat="server" ID="SkinManager" Skin="Windows7" PersistenceKey="Skin"
        PersistenceMode="ViewState" />
    <telerik:RadWindowManager ID="CommonWindowManager" runat="server" Behaviors="Resize, Maximize, Move">
        <Windows>
            <telerik:RadWindow ID="ExceptionWindow" runat="server" VisibleOnPageLoad="true">
                <ContentTemplate>
                    <telerik:RadSplitter ResizeWithParentPane="true" ResizeWithBrowserWindow="true" ID="MainSplitter" runat="server" Orientation="Horizontal">
                        <telerik:RadPane ID="TopPane" runat="server">
                            <telerik:RadTabStrip ID="exceptionTabStrip" runat="server" SelectedIndex="0" MultiPageID="exceptionMultiPage">
                                <Tabs>
                                    <telerik:RadTab runat="server" Text="message" Selected="True">
                                    </telerik:RadTab>
                                    <telerik:RadTab runat="server" Text="details">
                                    </telerik:RadTab>
                                </Tabs>
                            </telerik:RadTabStrip>
                        </telerik:RadPane>
                    </telerik:RadSplitter>
                </ContentTemplate>
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
    </form>
</body>
</html>

I tried clean code from
http://demos.telerik.com/aspnet-ajax/splitter/examples/resizewithwindow/defaultcs.aspx
Everything works in browser page and in RadWindow with Url on another page but not in RadWindow's <ContentTemplate>.

!important: It is only acceptable to me to have a SINGLE page for RadWindow with controls without external url as in windowManager.open("Window.aspx", "Window");

Thanks
Max
Top achievements
Rank 1
 answered on 15 Dec 2011
4 answers
112 views
Everyone at Telerik who has dealt with me knows that I absolutely love your company and the great products you produce.  However, I do have a complaint/suggestion:

I've noticed that the vast majority of your demos and documentation and forum responses are strictly client-side solutions.  I realize that this is great for some developers but I would bet that there are a whole lot of your customers like me who:
  1. Are developing corporate web-based solutions that involve < 500 users.
  2. When it comes to the frequent battle between a Rich-UI and Lightning Fast Speed, often the UI is much more important.
  3. In my particular case, all of my server-side code is written in C#.  There are HUGE benefits to keeping as much of the codebase in C# and minimizing the amount of Javascript & jQuery code.
  4. Because of #1, scalability problems associated with keeping lots of state variables on the server is NOT an issue.

In my particular case, I'm building a web-based intranet app for a multi-billion dollar company.  But within that company its actual userbase will be less than 50.  As was the case with the app's VB6 WinForms predecessor, I will almost certainly be required to make periodic improvements to it over the next decade.  Because of this it's critically important to minimize the amount of client-side code and instead maximize the amount of type-safe, well structured server-side code.

To Telerik, all I'm asking for is this: Wherever possible, please include a server-side solution (or mostly server-side solution) where you have traditionally presented a strictly client-side solution in times past.  This will go a LONG WAY to helping developers (and loyal customers) like myself.

Sincerely,

Robert Werner
Vancouver, BC

Iana Tsolova
Telerik team
 answered on 15 Dec 2011
1 answer
199 views
Is it possible to use JQuery to select and modify properties on Telerik ASP.NET Ajax controls?

For example, I have the follow code which works fine to disable the ASP.NET textboxes on a particular form, but does not touch the RadComboBoxes or the RadDatePickers, even though they have the appropriate class.

        $(".datafield").attr("disabled", "disabled");

Is there any way, or do I have to select the Telerik controls one by one with Javascript, per the samples in help?:

    var combo = $find("<%= RadComboBox1.ClientID %>"); combo.disable();
    var picker = $find("<%= RadDatePicker1.ClientID %>"); picker.set_enabled(false);


Dobromir
Telerik team
 answered on 15 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?