Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
150 views
I upgraded to the latest release last week. I just noticed that I now have two sets of RAD ASP.NET AJAX Q3 2009 controls in my VS2008 projects, one for  NET20 and one for NET35.

Since the site is targeting 3.5, I don't know how I get the NET20 included, or even if this is a potential problem, or not.

What is the recommended action to take?

I considered deleting them from the Toolbox, but again, I don't know if this will fix the problem or cause more damage.

Attachment shows the Toolbox view.
Andrey
Telerik team
 answered on 17 Dec 2009
1 answer
105 views
Hello,

In your Grid Demo - Grid/Self-referencing Hierarchy, when you click on an Employee ID it will collapse and expand the row under it.  This is not a parent row and the row below it is not a child row.  How can I change the code so that this doesn't happen?  It should only expand and collapse on those rows that have child nodes.

Thanks,

Randy
Pavlina
Telerik team
 answered on 17 Dec 2009
1 answer
96 views


Hi,

I have default sorting in my data grid. So I setup default GridSortExpression in Page Load.
When I retrieve the data, I pass the Field Name and Sort Order to my SQL Query. So GetSortExpression () function return Sort Expression object.
It is working fine for first time and show background color and sort indicator but if u clicks this default sort column again I got the following error. Yes, there is o count in tableView.SortExpressions collection. But I click other column first then click that date column, grid sorted accordingly.

Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: indexe


<telerik:GridTemplateColumn DataField="ProcessDate" HeaderText="Process Date" UniqueName="ProcessDate" Display="true" SortExpression="ProcessDate"> 
<ItemTemplate>                                          
<asp:Label ID="ProcessDate_TimeZone" runat="server"></asp:Label>                                      
</ItemTemplate>                                      
</telerik:GridTemplateColumn> 

 

protected void Page_Load(object sender, EventArgs e) 
        { 
            if (!this.IsPostBack) 
            { 
                rgProcessLog.MasterTableView.SortExpressions.Clear(); 
                GridSortExpression expression = new GridSortExpression(); 
                expression.FieldName = "ProcessDate"; 
                expression.SortOrder = GridSortOrder.Descending; 
                rgProcessLog.MasterTableView.SortExpressions.Add(expression); 
            } 
        } 

protected SortExpression GetSortExpression() 
        { 
            GridTableView tableView = rgProcessLog.MasterTableView; 
            SortExpression expression = new SortExpression(); 
            expression.FileName = tableView.SortExpressions[0].FieldName; 
            expression.SortOrder = (DCCPP.BusinessEntities.Enums.Sorting)Enum.Parse(typeof(DCCPP.BusinessEntities.Enums.Sorting), tableView.SortExpressions[0].SortOrder.ToString()); 
            return expression; 
 
        } 

Yavor
Telerik team
 answered on 17 Dec 2009
0 answers
82 views
Hi all,
           I m using custom list to save the values that will be displayed in the rad scheduler. Now I want the event  to recurr based on the condition selected byu the user. I m also savinfg the recurrence rule in the list and have property to set the recurrence rule and recurrence id to the schedular but still recurrence not appreaing on the schedular.



Any help will be appreciated


Thanks

Ajeet
Ajeet Nigam
Top achievements
Rank 1
 asked on 17 Dec 2009
1 answer
704 views
The RadGrid offers a clientside event called OnDataBindingFailed which gets fired on the clientside (javascript) when there is a server side exception.

What is the equivalent for the RadAjaxPanel and RadAjaxManager? I want to be able to handle all exceptions as gracefully as possible.
Nikolay Rusev
Telerik team
 answered on 17 Dec 2009
1 answer
91 views
I want to have only the second level grouping have a footer with aggregate values. Not sure how to go about it.

________________________________________________________________________________

Group1 - need total in header
    -----  Grouping 2
                ----- Grouping 3
                           ++++++++++++++++++++++|++++++++|+++|+++++|+++|++++++|+++|+++++++++++++
                           ++++++++++++++++++++++|++++++++|+++|+++++|+++|++++++|+++|+++++++++++++
                           ++++++++++++++++++++++|++++++++|+++|+++++|+++|++++++|+++|+++++++++++++
                           ++++++++++++++++++++++|++++++++|+++|+++++|+++|++++++|+++|+++++++++++++
                           ++++++++++++++++++++++|++++++++|+++|+++++|+++|++++++|+++|+++++++++++++
                           ==Footer for 3 (need blank) ============================================
      =============Footer for 2 ========================(NEED SUMS HERE==============
================Footer for 1 (need blank)============================================
================Footer for Grid (need blank)==========================================

_________________________________________________________________________________


Since a picture is worth a thousand words.  Check out the attached pic for an idea of what I mean (not the above).


Yavor
Telerik team
 answered on 17 Dec 2009
1 answer
110 views
Is there an easy way to implement a "Chart Subset Selection" feature? Rather than trying to explain what I mean, let me show you. Take a look at this Flash control (after you choose a city from the dropdown). While this implementation is slightly unresponsive and somewhat crude, it's actually a very nice UX for the user besides the unresponsiveness.

See this page for the example I'm referring to:

Ultimately, they goal is to have a very high-level granularity chart to select a starting and ending point to view a much lower-granularity chart.

Is this currently possible or is there any chance of having some feature added so we can ultimately get to such a functionality? I can't tell you how many times (on date range-based charts) something like this would have been MUCH nicer than having two DatePickers specifying a Start Date and Stop Date.

Thanks!
-Shane
Vladimir Milev
Telerik team
 answered on 17 Dec 2009
5 answers
233 views
Hi,

i have a general Dialogs Problem at the RadEditor with FF and IE (Version higher 6.0). If i open the table assistent or picture properties in the IE 6.0 the Dialogs wil be shown correctly (see attached picture files), in FF and other IE Versions not. Also i setted the TableLayoutCSSFile Property and in IE 6.0 the correct entries will be shown and in FF and other IE Versions not.

I hope someone has any idea. Thx for help.

Frank
Martin
Telerik team
 answered on 17 Dec 2009
1 answer
236 views
I am not sure of the suggested method on how to accomplish this.  Any assistance would be greatly appreciated.

I have a grid bound to a boolean field.  If the item value is 1, I want he checkbox checked and read only (GridCheckBoxColumn would work here).  If the item value is 0, I want the checkbox enabled (GridCheckBoxColumn doesn't seem to work for this) and a postback when the user checks the box so I can update the database and rebind the two grids on the page.

In short, I want it so checks can never be removed, only added, and only one item checked per postback.  Grid is bound with NeedDataSource event.

Any suggestions?


Here is what I have now.  When it is done, I only want to have one column of checkboxes, the three below are all tests.

            <telerik:RadGrid runat="server" ID="RadGrid1" AutoGenerateColumns="false" 
                GridLines="None" Height="500" BorderWidth="0" AllowSorting="true" Style="outline: none" 
                ShowGroupPanel="false" AllowPaging="true" AllowFilteringByColumn="false"> 
                <ClientSettings Scrolling-AllowScroll="True" Scrolling-UseStaticHeaders="true" Selecting-AllowRowSelect="true" 
                    EnablePostBackOnRowClick="true"  EnableRowHoverStyle="true" 
                    ClientEvents-OnRowSelected="RowSelected" > 
                </ClientSettings> 
                <MasterTableView TableLayout="Fixed"  GroupLoadMode="Client" DataKeyNames="job_id" > 
                    <Columns> 
                    <telerik:GridCheckBoxColumn DataField="isChecked" ReadOnly="false" HeaderText="My Job1" HeaderStyle-Width="60" UniqueName="mycheck1" ></telerik:GridCheckBoxColumn> 
                    <telerik:GridClientSelectColumn HeaderText="My Job2"  HeaderStyle-Width="60" UniqueName="mycheck2"></telerik:GridClientSelectColumn> 
                    <telerik:GridTemplateColumn HeaderText="Check/UnCheck"   UniqueName="TemplateColumn"> 
                          <EditItemTemplate> 
                            <asp:CheckBox id="editChkBox" runat="server" AutoPostBack="true" 
                             Checked='<%# Bind("ischecked") %>' Enabled="true"> 
                            </asp:CheckBox> 
                          </EditItemTemplate> 
                          <ItemTemplate> 
                             <asp:CheckBox id="defaultChkBox" runat="server" Enabled="true" 
                             Checked='<%# Eval("ischecked") %>'> 
                           </asp:CheckBox> 
                          </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                    <telerik:GridBoundColumn DataField="user_id" Headertext="userid" Visible="false"></telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="username" HeaderText="Username" HeaderStyle-Width="120px"> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Title" HeaderText="Title" > 
                        </telerik:GridBoundColumn> 
                    </Columns> 
                </MasterTableView> 
            </telerik:RadGrid> 

Princy
Top achievements
Rank 2
 answered on 17 Dec 2009
1 answer
112 views
I have a situation where the cusomer want all items in a set of listbox with checkboxes to be selected/checked when the form loads.
How would I go about this?
Shinu
Top achievements
Rank 2
 answered on 17 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?