Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
47 views
It appears as though the HTML for RadWindow gets thrown into the resulting HTML document right after the <form> element, no matter where RadWindow was inserted into the ControlTree. You could argue this doesn't matter because the Window uses absolute positioning and styles don't matter because a skin is set.

However, it matters to us where in the page the actual HTML for the RadWindow ends up. RadWindow has the ability to contain controls, and our control's styles are controlled by where they appear in the page. We need the HTML for RadWindow to appear in the document according to where it is in the control tree, or else the styles for our controls that are placed inside RadWindow will never be applied.
Marin Bratanov
Telerik team
 answered on 28 Jul 2011
3 answers
153 views
hi,
Good Morning!!!

I need to use AccessKey "D" for some functionality in "RadToolBarButton" .

Ex: <telerik:RadToolBarButton  AccessKey="d" ToolTip="Delete">

But    "ALT+ D"  is default shortcut for Windows IE to highlight address bar.

Can any one tell me how to bypass this default feature.

Thanks
Dilip.

Simon
Telerik team
 answered on 28 Jul 2011
1 answer
71 views
Hi all,
i like to know if there's a way to create excpetion in recurrence rule of an appointment starts from another appointment recurrence rule.
I try to explain... In my application user can create different versions of the same object and to each can be associeted a time validity, so i i'm looking for a way to create correct recurrence rule for each object's version that the user creates in case validity overlaps.

Sorry for my horrible english...

Alessio 
Plamen
Telerik team
 answered on 28 Jul 2011
1 answer
145 views
I have a RADComboBox with following.
I databind using code behind. when i click on Footer button i make combobox invisible. I use another button to make this combo box visible. On 2nd button click i re-databind the comboBox but when this happens i loose the Vista Skin.

I tried using the CSS in the header too by copying the ComboBox.Vista.css CSS file to the project still didn't work. Please help . I have also added screen shot

<telerik:RadComboBox ID="radBankAccounts" Runat="server" Width="200px" Skin="Vista"                           
                            HighlightTemplatedItems="true" DataTextField="DisplayAccountName"
                            DataValueField="AccountName"
                            onselectedindexchanged="radBankAccounts_SelectedIndexChanged">
                            <FooterTemplate>
                                <div style="text-align:center">
                                    <asp:LinkButton ID="lnkbtnAddAccount" Text="add new bank account" onclick="hypBtnChangePayAccount_Click" runat="server" />
                                </div>
                            </FooterTemplate>
                        </telerik:RadComboBox>

Dimitar Terziev
Telerik team
 answered on 28 Jul 2011
3 answers
171 views
Hello!!

I have the last version Q2 of the Telerik radcontrols for Asp. Net and i create a Rad Grid with the code bellow, but i want to disable or hide de Add Button control on the lest upper side..How can i do that?

 

 

<telerik:RadGrid id="RadGrid1" runat="server" gridlines="None" allowpaging="True"
            allowsorting="True" autogeneratecolumns="False" width="97%"            
            enableajax="True" CellSpacing="0" DataSourceID="SqlDataSource1" 
            AllowFilteringByColumn="True" onneeddatasource="RadGrid1_NeedDataSource" ShowFooter="True" 
            >  
            <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>  
                 
            <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                <Selecting AllowRowSelect="True"/>
            </ClientSettings>
                 
            <MasterTableView GridLines="None" Width="100%" 
                CommandItemDisplay ="Top" DataSourceID="SqlDataSource1" >  
                 
                <Columns>  
                    <telerik:GridBoundColumn DataField="SequencialNumber" 
                        HeaderText="SequencialNumber" UniqueName="SequencialNumber" 
                        SortExpression="SequencialNumber">   
                    </telerik:GridBoundColumn>
Shinu
Top achievements
Rank 2
 answered on 28 Jul 2011
2 answers
311 views
I want to bind Grid directly from the datasource.. how do i do that? my code is :


<asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="False" DataFile="~/Bin/xml.xml"
                                TransformFile="~/Bin/xml.xsl"></asp:XmlDataSource>

<telerik:RadGrid ID="RadGrid1" runat="server">
                                <HeaderContextMenu DataTextField="id" DataValueField="id">
                                </HeaderContextMenu>
                                <HeaderContextMenu DataTextField="name" DataValueField="name">
                                </HeaderContextMenu>
                                <HeaderContextMenu DataTextField="color" DataValueField="color">
                                </HeaderContextMenu>
                            </telerik:RadGrid>
Shinu
Top achievements
Rank 2
 answered on 28 Jul 2011
1 answer
67 views
Hi everyone,

In my company since our intranet (under MOSS 2007) has been launched past year, the contributors are experiencing many problems with RadEditor and more precisely with RadHtmlField control on publishing pages.
I want to be sure that the problems we have are common to everyone and not a specific issue linked to our environment.

 - First problem: Creating a new line is a nightmare for contributors. Pressing enter is not what the users are expecting. With a normal behavior, by pressing enter a user expects to have a new paragraph completely independant from the line above. But by pressing enter only <br /> are added and if the user choose to apply a bulleted list on the last paragrah he created, the buletted list is applied on all the paragraphs above...

Here is the code I have just by pressing "Enter" to have new paragraphs and applying bulleted list on the last one:
<span style="font-family: trebuchet ms; color: #666666;">
<ul>
    <li><span style="font-family: trebuchet ms; color: #666666;">This is a test paragraph with Enter
    <li>This is a second test paragraph with Enter</li>
    <li>This is a third test paragraph with Enter</li>
    <li>This is a fourth test paragraph with 2X Enter to jump a blank line</li>
    <li>This is a fifth paragraph for bulleted list</li>
    </span></li>
    <li></li>
</ul>
</span>

As you can see the code is not really clear and is wrong on some parts... The span elements are not wanted (the font and the color are automatically chosen) and nested within li elements which generates bad XHTML code. I also saw on this forum that CTRL+ENTER will normally solve the problem of new lines. So I do my previous example again by pressing CTRL+ENTER:
This is a test paragraph with CTRL+ENTER
<p>This is a second test paragraph with CTRL+ENTER</p>
<p>This is a third test paragraph with CTRL+ENTER</p>
<p> </p>
<p> </p>
This is a fourth test paragraph with 2X CTRL+ENTER to jump a blank line
<p> </p>
<ul>
    <li>This is a fifth paragraph for bulleted list</li>
</ul>

Effectively, CTRL+ENTER is generating new paragraph, except that there is still some bugs. The 2X CTRL Jump is generating blank paragraph which are not visible to the user directly. He needs to click on HTML view and Design again to see the Jump line (when the user press CTRL+ENTER twice, the first end of line is generated but the second one is not displayed in design mode, the users need to go in html view and go back again in design view to see the blank line).
In addition the fourth test paragraph is not a paragraph apparently, just inline html text. The bulleted list is working since the user is selecting the entire line and then clicking on "bulleted list" button.

- Second problem: Creating an Heading 1 and then creating a new paragraph with CTRL+ENTER is not doing what the user is expecting. Indeed, the paragraph is generated into the <h1> tag and not below the element. For heading 1 it is necessary to type ENTER to be sure that the following text will be out of the <h1> tag. Not very easy to explain to the contributors regarding the first issue explained above...

- Other problem: The contributors also experienced many times problems with the copy past form word. Once the content has been correctly pasted into radhtml field, editing this content becomes a nightmare and every new line or style or bulleted list is breaking the design.

To conclude I'm just wondering if this is a problem with a particular version of RadEditor HTML field or if these are known problems. The version installed on our SharePoint farm is : 5.7.2.0. Don't know if the last version is fixing those problems but unfortunately I tried the 5.8.6.0 and it seems that the contributors experience is still confusing. If you can help me on this, I would appreciate.
Stanimir
Telerik team
 answered on 28 Jul 2011
5 answers
1.2K+ views
Hi,
I cannot make the DataFormatString to work. i tried to specify  with rounding without rounding with DecimalDigits with DataType="System.Decimal", NumericType="Number" 
and it seems like it just always shows 3dp what ever I do.

I need to make it 4dp.
i read some posts about the edit, but i care only about the display.

Thanks, Pini.

Vasil
Telerik team
 answered on 28 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?