Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
193 views

I have some custom filtering on a grid I'm doingwith comboboxes and AJAX. Each combobox is linked to the grid the the rad ajaxmanager like so:

 

                    <telerik:AjaxSetting AjaxControlID="ddlXXX">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grid1" LoadingPanelID="RadAjaxLoadingPanel1"/>
                    </UpdatedControls>
                </telerik:AjaxSetting>

 

I'm calling a GetDate() method that returns a data table to bind the grid to the data source in the page_prerender event.  All works well, except for when I uncheck a checkbox in the combobox. If I check a checkbox it causes the post back and the GetData() method is called, but if I uncheck a checkbox the GetData() method is never called and the filtering isnt refreshed. Am I missing something in the Page LifeCycle? Why wouldn't the Page_PreRender event be called when I uncheck a checkbox inside a combobox? Should the DataBind be called at another point in the page's lifecycle?

Peter Milchev
Telerik team
 answered on 05 Aug 2016
1 answer
165 views

Hi all,

 

In RadGrid when the Virtualization feature is enabled and ocurres a postback the Grid scrolls to top even if the SaveScrollPosition property is set to True. This behavior can be reproduced in Demo page: http://demos.telerik.com/aspnet-ajax/grid/examples/performance/virtualization/defaultcs.aspx following these steps:

  • Scroll to any position
  • Click in any column to Sort
  • After that a post back ocurres and the scroll bar is back to the initial position

This is a bug? There's any workaround to solve this issue?

 

Regards!

 

Maria Ilieva
Telerik team
 answered on 05 Aug 2016
5 answers
74 views

Hi,

When using a ClientDataSource to populate a couple of drop downs I have a routine in the first one that on selected item changing it triggers the second one to update.

The issue I have is that if you change the first one again it doesn't update the second drop down, tracing it, it seems that it doesn't actually do anything with the clientdatasource even though the itemsrequested event fires once it is done (doing nothing!).

I am using  the following code to trigger the update on the second combo.

Any suggestions? It is worth noting again that this works the first time, it is on the second update that it doesn't change the drop down.

Regards

Jon

child.clearItems();
child.set_text('Loading');
child.requestItems(null, false);

Veselin Tsvetanov
Telerik team
 answered on 05 Aug 2016
20 answers
188 views
Hello

Sometime when an all-day appointment spans more than a couple of days in month view, blank spaces are inserted on certain days and the cell height is increased above the value that I specified.

In the example I'm providing, the first screenshot shows an all-day appointment ('Problem appointment') starting on April 1 and ending on April 4.  Everything is formatted properly and as expected (see radScheduler_GoodFormatting).

However, in the second screenshot, the end date has been changed to April 5 - you will notice that the cell height has been increased for all rows and that there are now some random blank appointments in the cell for April 5 (see radScheduler_BadFormatting).

This issue seems to happen randomly when appointments span several days and I'm not sure what's happening...the browser source code for the BadFormatting example shows that 2 blank divs have been inserted in April 5 for some reason right after the 10:30 appointment:
<div class="rsWrap" style="z-index:6;height:25px;"></div> <div class="rsWrap" style="z-index:6;height:25px;"></div> Here is the rest of the relevant code that I'm using:

Page css
<style type="text/css"
         
        .RadScheduler_Sitefinity .rsMonthView .rsTodayCell
        {
            background: orange !important ;
        }
         
                       
        /* formats each app item container in Month view  */
        .RadScheduler_Sitefinity .rsMonthView div.rsWrap
        
              height: 20px !important;
              padding: 1px 0 1px 0 !important;
        }
         
     
        /* formats the actual label that appears in each app item container in Month view */
        .RadScheduler_Sitefinity .rsMonthView div.rsApt
        {
            height: 20px !important;
            overflow: hidden;                   
        }
         
       
    </style>

The scheduler
<telerik:RadScheduler
            CustomAttributeNames="resourceLabelColour,eventID" ID="RadScheduler1"
            runat="server"
                        
            OnClientAppointmentClick="viewAppInfo"
             
            DataEndField="appEndTime" DataKeyField="appID"
            DataSourceID="SqlDataSource1" DataStartField="appStartTime"
            DataSubjectField="appSubject" height="1000px" Skin="Sitefinity">               
        </telerik:RadScheduler>

Page_Load
Me.RadScheduler1.SelectedDate = DateTime.Now
            Me.panelFilter.Width = Unit.Percentage(100)
            Me.RadScheduler1.SelectedView = SchedulerViewType.MonthView
            Me.RadScheduler1.MonthView.VisibleAppointmentsPerDay = 6
            'Me.RadScheduler1.MonthView.MinimumRowHeight = 6
            'Me.RadScheduler1.MonthView.AdaptiveRowHeight
 
            Me.RadScheduler1.FirstDayOfWeek = DayOfWeek.Monday
            Me.RadScheduler1.LastDayOfWeek = DayOfWeek.Sunday
            Me.RadScheduler1.TimelineView.UserSelectable = False
 
            Me.RadScheduler1.ReadOnly = False
            Me.RadScheduler1.AllowEdit = False
            Me.RadScheduler1.AllowDelete = False

As I said, this issue seems to happen randomly and I'm not sure why...any help or suggestions are greatly appreciated

Thanks

Brian
Veselin Tsvetanov
Telerik team
 answered on 05 Aug 2016
8 answers
656 views
Hi,

I have a RadGrid which is populated by a datasource and the columns are not autgenerated. The data returned in the RadGrid is retrieved using a parameter @Name (this corresponds to the customer name selected in a combobox) and shows corresponding quotes for this customer, So I am selecting only one customer to show multiple quotes in the resulting grid. this all works fine :) The problem is when I want to go into edit mode in order to add a new quote under this customer. I can't find a way to autofill editform fields with Default data such as AccountNumber (since the customer has been chosen we now know the account number and shouldn't need to enter this).

Is there any way to implement this easily if possible :)

Kind Regards
Ben
Maria Ilieva
Telerik team
 answered on 05 Aug 2016
2 answers
398 views
Hi,

I am using the RadSplitter, RadPane and RadSplitterBar.

May I know how to remove the border line (black colour) that generated by the RadPane or just make the border line to others colour?

Thanks.
Peter
Top achievements
Rank 1
 answered on 05 Aug 2016
5 answers
102 views

When i right click on the table inside the editor contetn area and select table properties/cell properties. i receive this error

Table Wizard Unknown server tag 'dc:TableLayouts'. 

Ianko
Telerik team
 answered on 05 Aug 2016
6 answers
169 views

see the attachment....

 

Radscheduler not displaying correctly on first time run.

 I didn't give any height or width to the scheduler.

If again I reload or postback the page, It would be perfect.

How do I Solve it...

Adam
Top achievements
Rank 1
 answered on 04 Aug 2016
2 answers
207 views

I have a grid inside a content placeholder in a masterpage. The css for the parent div of the grid is set to overflow-x:auto, so the grid scrolls horizontally. I added an ajax loading panel and set the ScrollBars property to auto, but the loading panel still overflows the grid container element. it begin at the beginning of the container element where the grid begins but it goes all the way to the end of the page. 

 

How can I get the loading panel to stay within the width of the grid's container div?  

fred williams
Top achievements
Rank 1
 answered on 04 Aug 2016
1 answer
61 views

Hi, I have a problem with a raddock, when a postback occurs, it changes its position, goes to the left of the page.

How can i resolve the issue?

 

Thanks

Danail Vasilev
Telerik team
 answered on 04 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?