Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
312 views
I am using the Aggregate="Sum" property of the GridNumericColumn to display the sum of the column in the footer.
The total is displayed as 'Sum: x'
Is it possible to remove the word sum from the display?
Princy
Top achievements
Rank 2
 answered on 20 Apr 2009
0 answers
145 views
Hi,

Below is markup of treeview:
<telerik:RadTreeView ID="rtvFol" runat="server" EnableEmbeddedSkins="false" Height="411" Width="170"
                 EnableDragAndDrop="false" OnClientNodeClicked="OnClientNodeClick" ShowLineImages="false" skin="Office2007">
                </telerik:RadTreeView>

I can see treeview expanded and can't collapse the nodes. I cannot see Collapse/Expand Image button on treeview.
Same markup is working fine with other page.

Note: I have custome skin named Office2007.

Please let me know if you have any idea of what is happening.

I too am looking into same.

Thanks,
JD




Jay Dedhiya
Top achievements
Rank 1
 asked on 20 Apr 2009
1 answer
163 views
I'd like the grid to be in edit mode from the get-go (all of it).

It's also a 2-level deep hierarchy - so I want the Details Table to be in edit mode as well - always.

Thanks in adavance. 

Grid posted below in case it's needed. 
-----------------------------------

 

    <telerik:RadGrid ID="RadGrid1" runat="server"   
        DataSourceID="sdsActivity" AllowSorting="True" ShowFooter="True" AllowMultiRowEdit="True"   
        ShowStatusBar="True" Width="850px" GridLines="None"   
        AutoGenerateColumns="False" onitemcreated="RadGrid1_ItemCreated"   
        ondetailtabledatabind="RadGrid1_DetailTableDataBind"   
        onitemdeleted="RadGrid1_ItemDeleted" onitemcommand="RadGrid1_ItemCommand"   
        onitemdatabound="RadGrid1_ItemDataBound"   
        onneeddatasource="RadGrid1_NeedDataSource">  
        <MasterTableView DataKeyNames="ActivityID" DataSourceID="sdsActivity" EditMode="InPlace" Name="Activity" AllowMultiColumnSorting="False">  
            <DetailTables> 
                <telerik:GridTableView runat="server" DataKeyNames="ActivityID" DataSourceID="sdsStep" Name="Step" EditMode="InPlace" AutoGenerateColumns="True">  
                    <ParentTableRelation> 
                        <telerik:GridRelationFields MasterKeyField="ActivityID" DetailKeyField="ActivityID" /> 
                    </ParentTableRelation> 
                    <RowIndicatorColumn> 
                        <HeaderStyle Width="5px" /> 
                    </RowIndicatorColumn> 
                </telerik:GridTableView> 
            </DetailTables> 
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn Visible="True">  
                <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridTemplateColumn HeaderText="Activity" SortExpression="Header">  
                    <EditItemTemplate> 
                        <asp:TextBox ID="txtActivity" BorderWidth="0px" runat="server" Text='<%# Bind("Header") %>'></asp:TextBox> 
                    </EditItemTemplate> 
                    <ItemTemplate> 
                       <asp:Label ID="lblActivity" runat="server" Text='<%# Bind("Header") %>'></asp:Label> 
                    </ItemTemplate> 
                    <HeaderStyle Width="60px" />   
                </telerik:GridTemplateColumn> 
 
<%--                <telerik:GridBoundColumn DataField="Header" HeaderText="Activity" SortExpression="Header" UniqueName="Header">  
                    <HeaderStyle Width="60px" /> 
                </telerik:GridBoundColumn>--%> 
                  
                <telerik:GridTemplateColumn HeaderText="Sequence" SortExpression="Sequence">  
                    <EditItemTemplate> 
                        <asp:TextBox ID="txtSequence" BorderWidth="0px" runat="server" Text='<%# Bind("Sequence") %>'></asp:TextBox> 
                    </EditItemTemplate> 
                    <ItemTemplate> 
                       <asp:Label ID="lblSequence" runat="server" Text='<%# Bind("Header") %>'></asp:Label> 
                    </ItemTemplate> 
                    <HeaderStyle Width="60px" /> 
                </telerik:GridTemplateColumn> 
                  
<%--                <telerik:GridBoundColumn DataField="Sequence" DataType="System.Int32" HeaderText="Sequence" SortExpression="Sequence" UniqueName="Sequence">  
                    <HeaderStyle Width="60px" /> 
                </telerik:GridBoundColumn> 
                --%> 
                  
                <telerik:GridTemplateColumn HeaderText="Duration" SortExpression="Duration">  
                    <EditItemTemplate> 
                        <asp:TextBox ID="txtDuration" BorderWidth="0px" runat="server" Text='<%# Bind("Duration") %>'></asp:TextBox> 
                    </EditItemTemplate> 
                    <ItemTemplate> 
                       <asp:Label ID="lblDuration" runat="server" Text='<%# Bind("Duration") %>'></asp:Label> 
                    </ItemTemplate> 
                    <HeaderStyle Width="60px" /> 
                </telerik:GridTemplateColumn> 
                  
<%--                <telerik:GridBoundColumn DataField="Duration" DataType="System.Decimal" HeaderText="Duration" SortExpression="Duration" UniqueName="Duration">  
                    <HeaderStyle Width="60px" /> 
                </telerik:GridBoundColumn>--%>   
 
                <telerik:GridBoundColumn DataField="ActivityID" DataType="System.Int32" HeaderText="ActivityID" ReadOnly="True" SortExpression="ActivityID" UniqueName="ActivityID" Visible="False">  
                    <HeaderStyle Width="60px" /> 
                </telerik:GridBoundColumn> 
                  
                  
                <telerik:GridBoundColumn DataField="EstimateFormID" DataType="System.Int32" HeaderText="EstimateFormID" SortExpression="EstimateFormID" UniqueName="EstimateFormID" Visible="False">  
                    <HeaderStyle Width="60px" /> 
                </telerik:GridBoundColumn> 
            </Columns> 
        </MasterTableView> 
        <ClientSettings AllowKeyboardNavigation="True">  
        </ClientSettings> 
    </telerik:RadGrid> 

 

Shinu
Top achievements
Rank 2
 answered on 20 Apr 2009
10 answers
525 views
I have a radgrid with autogenerated edit form. The edit form has three controls  Accepted-Checkbox, Rejected-Checkbox, Notes-TextBox.

I need to send an email to a user if the rejected checkbox is selected.

What I am needing to do is check the value of the rejected check box when the update button is press and if it is true send the email.

Can anyone give a clue as how to get this value on RadGrid4_ItemUpdated Sub. I code in VB.
Robert
Top achievements
Rank 1
 answered on 19 Apr 2009
1 answer
113 views
Hi

I have implemented the RadEditor with the spellchecker successfully into my webpage as described in the help … all works ok.

The problem is I don’t want all the buttons in the toolbar so I add a tools section (see below).

<Tools>
   <telerik:EditorToolGroup>
      <telerik:EditorTool Name="FontName" />
      <telerik:EditorTool Name="FontSize" />
      <telerik:EditorTool Name="ForeColor" />
      <telerik:EditorTool Name="Bold" />                
      <telerik:EditorTool Name="SpellCheck" />
   </telerik:EditorToolGroup>
</Tools>

When I do that I only get the buttons I want but the SpellCheck no longer works. I get a ‘The command SpellCheck is not implemented yet’ error. The icon is also missing for the spell check button.

What else do I need to do to get the spell check to work again?

Johan
Top achievements
Rank 1
 answered on 19 Apr 2009
1 answer
242 views
Hello,

Newbie alert here so I hope (and expect) I am missing something I cannot see for looking. 

I wanting to use RadTextBoxes with rounded corners but have been getting nowhere so I stuck a HTML textbox on there and that does get rounded corners.  I cannot see what I am doing wrong.  This is latest Q1 2009 release download.  The Formdecorator is on the master page, with all controls set to rounded corners enabled.

My code is as below, the two text boxes are at the bottom.  I have viewed in IE7 and Firefox 3.0.8, neither show the RadTextBox with rounded corners.

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="cphExamTitle" runat="Server"
    <center> 
        <class="subhead"
            Demo Exam Mode</p> 
    </center> 
</asp:Content> 
<asp:Content ID="Content3" ContentPlaceHolderID="cphContent" runat="Server"
    <asp:Label ID="LabelQuestionNumber" runat="server" Text='<%# QuestionNumber %>' CssClass="questionnumber" 
        Height="20px" Width="750px"></asp:Label> 
    <asp:CheckBox ID="CheckBoxShowAnswers" runat="server" Text="Show Answers"  
        CssClass="showanswers"  
        ToolTip="The correct answer and explanation will be shown after after clicking Submit Answer" /><br /><br /> 
    <asp:Label ID="LabelQuestion" runat="server" Width="750px" Text='<%# Question %>' 
        CssClass="question"></asp:Label> 
    <br /> 
    <asp:Image ID="ImageResult" runat="server" Height="110px" Visible="False" Width="110px" 
        CssClass="resultimg" /> 
    <asp:CheckBoxList ID="CheckBoxListAnswers" runat="server" Width="600px" CssClass="answers"
    </asp:CheckBoxList> 
    <br /> 
    <asp:Label ID="LabelTitleExplanation" runat="server" CssClass="explanationtitle" 
        Height="30px" Text="Explanation :" Visible="False"></asp:Label> 
    <br /> 
    <telerik:RadTextBox ID="RadTextBoxExplanation" Runat="server"  
        Text="this is me testing" TextMode="MultiLine"  
        Width="750px" Rows="4"
    </telerik:RadTextBox><br /> 
    <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine">yes here we go</asp:TextBox> 
</asp:Content> 

Any help much appreciated.

Thanks,
Paul
Stuart Hemming
Top achievements
Rank 2
 answered on 19 Apr 2009
4 answers
654 views
Hello
I set enableCustomText
and onpageload I set to focus() the combobox text.

I need some help to make is hightlight all current text like in

textbox.selectall()

with the focus() the cursor is in the most left and user need to press delete before can enter new text.

Ifdev02
Top achievements
Rank 1
 answered on 18 Apr 2009
1 answer
198 views
I've reached the end of my rope with this problem.  I've read and tried everything I have found on the net as well as all of the posts that have been placed on this forum ... the toolbox is still hidden when my ASP.NET application is active in the Visual Studio 2008 designer.  When I select the View All Items option for the toolbox I see the RadControls for ASPNET AJAX A1 2009 toolbox but all of them are greyed out.  This occurs when I create a StrataFrame ASP.NET Web Application Project (www.strataframe.net).  However, it does not occur (the items are available) when I create a standard Web Application Project from the File -> New -> Project -> Visual C# -> Web -> ASP.NET Web Application template.  Now before you say this is StrataFrame's problem there are a few things you must know:

1.  I have a Dell M170 laptop where the toolbox for the RadControls (same version as listed above) works fine when a StrataFrame application is active in the designer.

2.  DevExpress toolbox works fine, all the time, no matter what type of project is in the designer (StrataFrame or a regular old Web Application)

3.  Infragistics toolbox works fine in all situations as well, no matter what type of project is in the designer.

4.  I have tried to manually install the toolbar several different ways (such as dragging and dropping the dll in a toolbox) ... running the shortcut provided on the menu, manually using the ToolboxInstaller.exe and finally using the Choose Items dialog and selecting the bin35 subdirectory and the Telerik.Web.UI.dll located therein.

It is as if the Telerik toolbox does not recognize the application as a web application and does not activate the items in the toolbox.  It is unfortunate but for this client I have to use Telerik.  Please help.

Regards,

Ryan Kirby

PS:  This was in the toolbox installer log ... don't know if that helps or not.

INSTALL:  could not be found. (Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND))
INSTALL:    at EnvDTE80.Solution2.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive)
   at Telerik.Installation.ToolBoxInstaller.Init()
   at Telerik.Installation.ToolBoxInstaller.Execute(String command)

PSS:  When I add the controls from the bin folder and not the bin35 folder, the controls show up and are activated just fine, wiith both project types (templates).
Ryan
Top achievements
Rank 1
 answered on 18 Apr 2009
0 answers
104 views
I have a treeview control that is programatically populated.

I capture the click event server side, so I can expand or collapse nodes on the text click, not just the expander image.

One of the nodes has a textbox control added to it. but every time I click the text box to write into it, the node posts back and the textbox loses focus. I tried setting the clicked node's focus property but it bid not help with setting the focus of the textbox.

Any ideas?

Thanks
Stuart
Top achievements
Rank 1
 asked on 18 Apr 2009
2 answers
171 views
Hi All,

OK, the TextBoxes that the Form Decorator decorates have rounded corners,  the combo boxes have rounded corners BUT the RadTextBoxes don't.

Please tell me that there is an option on the controls to enable/disable the rounded corners.

If not please can it be added to the next version?

Also is there any way to do it to the Form Decorator buttons?  Wrong thread I know but also related to this...

Cheers,

Jon

 

Jon
Top achievements
Rank 1
 answered on 17 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?