Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
78 views
Hi -

Im new to Telrik and have downloaded a trial.

Using ASP.NET AJAX, playing with the RadMenu bound to a SQL datasource. This works nicely.

But then, is there any other control that would be suitable to create a Admin System for the menu, so that webmaster can add/remove root menu items, sub level menu items and so on from a protected page.
Any examples/ videos on how to create a menu Admin System? Please advice.

Kind r

Bjørn.
Veronica
Telerik team
 answered on 02 May 2011
1 answer
98 views
I cannot seem to coax RadEditor into adding custom styles to the ApplyClass dropdown.  [See attached image]

Here is what I'm using for RadEditor:

<telerik:RadEditor ID="RadEditor1" runat="server" Skin="Telerik">
    <CssFiles>
        <telerik:EditorCssFile Value="~/Styles/editor.css" />
    </CssFiles>
    <CssClasses>
        <telerik:EditorCssClass Name="Sample" Value=".sample" />
    </CssClasses>
    <Tools>
        <telerik:EditorToolGroup Tag="Formatting">
            <telerik:EditorTool Name="Bold" />
            <telerik:EditorTool Name="Italic" />
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup>
            <telerik:EditorDropDown Name="FormatBlock">
            </telerik:EditorDropDown>
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup>
            <telerik:EditorDropDown Name="ApplyClass">
            </telerik:EditorDropDown>
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="InsertUnorderedList" />
            <telerik:EditorTool Name="InsertOrderedList" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="Outdent" />
            <telerik:EditorTool Name="Indent" />
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup Tag="MainToolbar">
            <telerik:EditorSplitButton Name="Undo">
            </telerik:EditorSplitButton>
            <telerik:EditorSplitButton Name="Redo">
            </telerik:EditorSplitButton>
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="Cut" />
            <telerik:EditorTool Name="Copy" />
            <telerik:EditorTool Name="Paste" ShortCut="CTRL+V" />
        </telerik:EditorToolGroup>
    </Tools>
    <Content></Content>
</telerik:RadEditor>

And here is the referenced Editor.css file (shown above):

body  
{
    background: #ffffff;
}
.sample
{
    color: Red;
}

Does anyone see why this won't work?  

Gabe
=================
Rumen
Telerik team
 answered on 02 May 2011
1 answer
78 views
I have an asp:button in ma webpage.... but while adding formdecorator, the button is disappearing...but when i checked the source code from the browser i can see thatt the button is there ....but the button is not displaying(both in IE and firefox)... what the reason for this ?...

plss help me......
Bozhidar
Telerik team
 answered on 02 May 2011
3 answers
82 views
When using the scheduler within visual studio I have no problems at all. When I publish the project to the webserver the vertical resource headers don't expand. After some investigation it seems the style sheets are different. Please see screen shots. Any idea how to fix this? I've tried to incorporate some inline style, but without much luck.

Hmm, this seems to be an IE9 issue.
Veronica
Telerik team
 answered on 02 May 2011
2 answers
91 views
Hi Telerik Team,

I don´t know what´s happening. I go to next page in RadGrid and in aleatory way the error message appears (please, see attached image).
I investigated my code line-by-line and I don´t found any problem related with this.
Please, what can I search in my code?

Thanks, best.

Daniel
Daniel Aquere
Top achievements
Rank 2
 answered on 02 May 2011
6 answers
121 views
hello,
I have a grid which has a number of columns,
one of the columns is combobox,
I am getting Data from DB from 2 Tables:

1. a table that populates the combobox - display, code.
2. a table that populates the grid - fields+display.

my problem is that I Indeed get the comboboxes full, but the selected items are always blank .

i tried to change it to label instead of combobox and then i got it right,
but I want it to be combobox.

P. S. I want the combobox to be always avalable to change, without editmode.
Yoni
Top achievements
Rank 1
 answered on 01 May 2011
4 answers
181 views
I'm having a problem with the Editor.  First, it seems to be working just fine, except...

When I create a large block of text in the Editor and then save that text in a SQL Server table, wherever the text ended a line, there is no blank character at the end of the line.  I've attached a screen capture of the SQL server record and you can see (just above the red arrow) where there is no space between the word 'Homes' and the word 'Online', yet when I take this data out the record and display it on a web page, it displays just fine.

Here's my issue...after the editor contents are saved in the SQL database, I process the record searching for certain multi-word strings for some special editing issues involved in translation (without going into too much detail).  If I search this stored string for 'Homes Online Network' the instance shown in the attached graphic is never found -- but it displays just fine with a space between the two words.

Is there some method I can use when retrieving the text field from the SQL database table that will allow my multi-word text search to be successful?

This is probably some kind of stupid question, but I do need the help.  I've read the Editor documentation and searched the knowledgebase, but haven't found anything obvious that helps me.

Thanks in advance!

Lynn
Lynn
Top achievements
Rank 2
 answered on 01 May 2011
2 answers
121 views
Hi:

I am launching a Window maximized, so I just added maximize() to the javascript as follows:

<!-- windows -->
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableViewState="true">
    <Windows>
        <telerik:RadWindow ID="RadWindow1" runat="server"
            Height="600" Width="900" Title="Order Maintenance"
            KeepInScreenBounds="True" VisibleTitlebar="true" Modal="true"
            DestroyOnClose="False" ReloadOnShow="true"
            Behaviors="Close, Maximize, Move, Resize" InitialBehaviors="Maximize" />
    </Windows>
</telerik:RadWindowManager>
<!-- javascript -->
<telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">
    <script type="text/javascript">
        //<![CDATA[
        function orderMaintenanceOpenWindow(ordNbr) {
            var winurl = "OrdersMaintenance.aspx?ordernbr=" + ordNbr;
            var oWnd = radopen(winurl, "orderMaintenanceWindow");
            oWnd.maximize();
            return false;
        }
        //]]>
    </script>
</telerik:RadScriptBlock>

Now, the second launch of the window is maximized, but the complete window is modal.  Can not close it, etc...
What am I missing?
Phil
P.S. Sorry the WindowManager is named ordersSelectionRadWindowManager and the window is named orderMaintenanceWindow.
Phil
Top achievements
Rank 2
 answered on 30 Apr 2011
2 answers
200 views
Hello,

I am using Telerik.Web.UI version 2010.2.826.35, and I have a grid with the column shown below. When I export to Excel, I would expect the formatting of the column to be "Short Date" or at least match the date format string that I've defined. However, the cells in Excel show a formatting of "Custom" with the formatting string of "m/d/yyy h:mm". 

This is not the desired behavior since we have clients all over the world and the 'slash' divider means something different in different parts of the world. Instead, we would like it formatted as a Date cell and then it would pick up the local formatting of that user.

<telerik:GridDateTimeColumn
DataField="trans_dt"
HeaderText="Purchase Date"
SortExpression="trans_dt"
UniqueName="PurchaseDate"
CurrentFilterFunction="StartsWith"
AutoPostBackOnFilter="true"
Display="true"
DataFormatString="{0:dd-MMM-yyyy}">
<HeaderStyle Width="130px" />
</telerik:GridDateTimeColumn>


Please let me know if anything can be done.

Thank you,

Scott McNeany
Scott McNeany
Top achievements
Rank 1
 answered on 30 Apr 2011
0 answers
54 views
hi
i use usercontrol in radgrid
i want when page refresh after than radgrid 'data refresh
but i dont want usercontrol'data refresh
do u have any idea?
thanks
niloofar
Top achievements
Rank 1
 asked on 30 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?