Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
147 views

            <telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="CheckBoxes, RadioButtons, Buttons"  /> 
 
            <telerik:RadListBox  
                runat="server" ID="dlUsers" TransferToID="dlUsersAssign" 
                AllowTransfer="true"  AllowDelete="false" AllowReorder="false" AllowTransferDuplicates="false" 
                ButtonSettings-ShowTransferAll = "true" 
                TransferMode="Copy" SelectionMode="Multiple"   
                Width = "250px" Height = "110px" Skin="WebBlue">  
                   
                <Items> 
                    <telerik:RadListBoxItem Text="User1" Value="0" /> 
                    <telerik:RadListBoxItem Text="User2" Value="1" /> 
                    <telerik:RadListBoxItem Text="User3" Value="2" /> 
                    <telerik:RadListBoxItem Text="User4" Value="3" /> 
                </Items> 
                    
            </telerik:RadListBox> 
 
            <telerik:RadListBox  
                runat="server" ID="dlUsersAssign"    
                Width = "250px" Height = "110px" CheckBoxes="true"  > 
                <Items> 
                    <telerik:RadListBoxItem Text="User6" Value="6" /> 
                    <telerik:RadListBoxItem Text="User7" Value="7" /> 
                </Items> 
            </telerik:RadListBox> 
 
In initial state FormDecorator is applied to checkboxes in the left box, it's ok.
Now let's move some items from right box to left box.
FormDecorator will not be applied to new added items in the left box.
spt
Top achievements
Rank 1
 answered on 01 Sep 2010
1 answer
176 views
Hi Team,

While Saving Rad Editor Content as RTF It was not coming the same format what i have given in Rad Editor Content.
Alignment and other things are not coming Correctly.
Even i tried to do this as in Telerik site like save as rtf Format are changing.
Even Question mark Symbol is coming where ever Space have.

Please see the attached the file for Reference.

In the Sample.Png Image have content Type.
In the Sample1.Png Image i'm Pasting the content into the Tererik rad Editor export/import Rtf.
in the Sample2.Png Imgae after saving to export to rtf i'm getting like.

please give me the Solution as soon as poosible.

Regards,
Ashok Anbarasu
Dobromir
Telerik team
 answered on 01 Sep 2010
1 answer
108 views
the radeditor for MOSS doesnot support script tags.
    when i use script tags in radeditor it is removed, how can i use javascripts in radeditor
Stanimir
Telerik team
 answered on 01 Sep 2010
2 answers
302 views

I try to use the GridMaskcolumn, RadNumericTextBox1 and RadMaskedTextBox

Why are the controls not the same:
- I was hoping the GridMaskedColumn en the RadMaskedTextBox  are the same with the parameters. e.g. DisplayMask
- Is it possible that when I use then Mask that when I press , (comma) or . (point) the cursor is moving to behind the decimal?
I have to move the cursor by mouse or cursorkeys.
- Why make different controls with the same purpose.
Can you make one control say: RadTextBox and make it with Mask, Numeric, Date what ever you want.

I don't know where to put the suggestions so i placed them in the forum.

<telerik:GridTemplateColumn HeaderText="Korting" SortExpression="oplgl_korting" UniqueName="oplgl_kortingTemp">
<ItemStyle HorizontalAlign="Left"></ItemStyle>
<ItemTemplate>
<%#Format(Eval("oplgl_korting"), "##0.00")%>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" DataType="System.Decimal"
MaxLength="6" Font-Size="10px" MaxValue="999.99" MinValue="0" Type="Number" NumberFormat-DecimalDigits="2"
DbValue='<%# Bind("oplgl_korting") %>' />
<telerik:RadMaskedTextBox ID="RadMaskedTextBox1" runat="server"
DisplayMask="###,##"
Mask="###,##"
NumericRangeAlign="Left"
DisplayFormatPosition="Right"
DisplayPromptChar="_" Text='<%# Bind("oplgl_korting") %>'
>
</telerik:RadMaskedTextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
Robert Koerse
Top achievements
Rank 1
 answered on 01 Sep 2010
1 answer
112 views
When the theme is selected as black ....The message in the radalert is not visible since the  forecolor of the Radalert also turns black.How to fix this ?
Shinu
Top achievements
Rank 2
 answered on 01 Sep 2010
3 answers
171 views
Hi,

I am trying to track clientside expanding/collapsing as ClientOperations, for example:

function OnClientItemExpand(sender, args) {
    var panel = sender;
    var item = args.get_item();
 
    if (item && panel) {
        panel.trackChanges();
        item.expand();
        panel.commitChanges();
    }
    else {
        alert("item or panel is null");
    }
}

Unfortunately expand and collapse don't seem to be tracked by the trackChanges() function. Therefore after a postback the serverside collection RadPanelBar.ClientChanges is empty. My example works fine if I use disable() or other functions instead of expand().

Is there any way to track expand/collapse as well? Can I somehow add custom changes to the ClientChanges collection from JS?
My goal is simply to see clientside changes in the expand/collapse state after a postback on the serverside, too.

Thanks in advance!
Nikolay Tsenkov
Telerik team
 answered on 01 Sep 2010
1 answer
153 views
Hello,

Using the 3.5 assemblie Q2 2010.

When I have a grid who gets its data from the onneeddatasource event and any of my columns has space in the name the grouping won't work.

When I try to group on the column: Leading Country,  the error message will be:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Field Leading not found in the source table. Please check the expression syntax.

I don't really want to replace spaces with underscores to solve this. Is there anything I am missing here?

Below my code:

ASPX:
<telerik:RadAjaxPanel ID="rap" runat="server" Width="90%">
    <telerik:RadGrid ID="rg" runat="server" AllowAutomaticInserts="false" Skin="Office2007"
        AllowFilteringByColumn="True" GroupingEnabled="true" EnableViewState="true" AllowPaging="True"
        AllowSorting="True" AutoGenerateColumns="True" GridLines="None" ShowStatusBar="True"
        OnNeedDataSource="rg_NeedDataSource" EnableLinqExpressions="true" PageSize="20"
        Width="97%" ShowGroupPanel="true" OnColumnCreated="rg_ColCreated">
        <MasterTableView EnableNoRecordsTemplate="true" CellSpacing="-1" CommandItemDisplay="None"
            AllowMultiColumnSorting="true" PagerStyle-Position="Bottom" PagerStyle-Mode="NextPrevAndNumeric"
            ClientDataKeyNames="oid" DataKeyNames="oid">
            <NoRecordsTemplate>
                <div>
                    Geen items gevonden.</div>
            </NoRecordsTemplate>
            <Columns>
            </Columns>
        </MasterTableView>
        <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True" ReorderColumnsOnClient="True">
            <Selecting AllowRowSelect="True" />
            <Scrolling AllowScroll="True" UseStaticHeaders="True" />
        </ClientSettings>
    </telerik:RadGrid>
</telerik:RadAjaxPanel>




Pavlina
Telerik team
 answered on 01 Sep 2010
5 answers
111 views
Hi,

Is it possible to link a custom button on a user control to a grid's "Insert" button?

I'm basically trying to replace the build-in "Insert" button with my own custom button.

Thanks.

R
Pavlina
Telerik team
 answered on 01 Sep 2010
3 answers
619 views
Hi All

Have done a page for questionaire.

It works fine.

There are 10 questions with YES or NO option.

Have a scenario: If 9th question answer is NO. Then the two radio button near by 10th question should be enabled false.

Have done it. But the whole page blinks and the scroll bar again goes to the top.

<table style="width: 100%;">
                                                                <tr>
                                                                    <td>
                                                                        <table cellpadding="0" cellspacing="0">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:RadioButton ID="rbtnq9_2_Y" GroupName="Group9_2" runat="server" Text="Y" />
                                                                                </td>
                                                                                <td>
                                                                                    <asp:RadioButton ID="rbtnq9_2_N" GroupName="Group9_2" runat="server" Text="N" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                    <td>
                                                                    </td>
                                                                </tr>
                                                            </table>


protected void btnqfollowup_Click(object sender, EventArgs e)
        {
            UDFCheckFollowUp(rbtnq9_1_Y, rbtnq9_1_N);
              
        }
        public void UDFCheckFollowUp(RadioButton rbtnq9_1_Y, RadioButton rbtnq9_1_N)
        {
            if (rbtnq9_1_Y.Checked == true)
            {
                rbtnq9_2_Y.Enabled = true;
                rbtnq9_2_N.Enabled = true;
                rbtnq9_3_Y.Enabled = true;
                rbtnq9_3_N.Enabled = true;
                DropDownListRating9_3.Enabled = true;
  
            }
            else if (rbtnq9_1_N.Checked == true)
            {
                rbtnq9_2_Y.Enabled = false;
                rbtnq9_2_N.Enabled = false;
                rbtnq9_3_Y.Enabled = false;
                rbtnq9_3_N.Enabled = false;
                DropDownListRating9_3.Enabled = false;
                 
            }
            else
            {
                rbtnq9_2_Y.Enabled = false;
                rbtnq9_2_N.Enabled = false;
                rbtnq9_3_Y.Enabled = false;
                rbtnq9_3_N.Enabled = false;
                DropDownListRating9_3.Enabled = false;
            }
  
        }

javascript
function RadioClickFollowUp(radioButton)
       {
     
       document.getElementById('btnqfollowup').click();
       }


Is there any option to rectify this

Thanking You

-Anto
Dimo
Telerik team
 answered on 01 Sep 2010
1 answer
142 views
Dear Support,

I am just about to finalize the RAD controls for our Web App. Its been really a great trial period. I was hooked onto the File Explorer of it. Its an awesome control.

I have tried implementing it with some customizations of ours. The screenshot is attached. It uses the File Explorer in a Tab Strip control, and i am trying to provide the feature where by i can open multiple file in different tabs.

I had few queries  here:

1. On double clicking an Image File i want to open it in a New Tab.

2. On Clicking New on the toolbar (which is a custom toolbutton), i want to open a new tab  with the RADEditor and make that Tab selected.

3.On a Custom Toolbar button click (Server Side) i want to have a reference to the File Item selected in the Grid.

I tried to implement the above 3 points, but was not able to get my head around it
It will be really appreciable if you can give me the code for doing the above in a sample project.

Thanks.
Dobromir
Telerik team
 answered on 01 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?