Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
198 views
I have a radgrid that I put a dropdown in a Template column.  This drop down can have anywhere from 10-50 rows.  The grid could display 100 rows.  I have noticed a slow down on the grid when refreshing it.  The queries in the page take no time at all and I think its just the sheer volume of HTML getting loaded.  Any other ideas or suggestions on speeding up this grid?


<telerik:GridTemplateColumn DataField="sAttendingProviderNumber" EditFormColumnIndex="1"
                    FilterControlAltText="Filter sAttendingProviderNumber column" HeaderText="Provider"
                    SortExpression="sAttendingProviderNumber" UniqueName="sAttendingProviderNumber">
                    <EditItemTemplate>
                        <telerik:RadDropDownList ID="sAttendingProviderNumberDDL" runat="server" DataSourceID="dsAttendingDocs"
                            DataTextField="DOCNAME" DataValueField="DOCCODE" SelectedValue='<%# Bind("sAttendingProviderNumber") %>'
                            AppendDataBoundItems="True" Width="250px">
                            <Items>
                                <telerik:DropDownListItem runat="server" Text="Select an Attending Provider" Value="" />
                            </Items>
                        </telerik:RadDropDownList>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <telerik:RadDropDownList ID="sAttendingProviderNumberDDL" runat="server" DataSourceID="dsAttendingDocs"
                            DataTextField="DOCNAME" DataValueField="DOCCODE" SelectedValue='<%# Bind("sAttendingProviderNumber") %>'
                            AppendDataBoundItems="True" Width="185px" OnSelectedIndexChanged="sAttendingProviderNumberDropDownList_SelectedIndexChanged"
                            Enabled='<%# CanBeEditedByUser() %>' AutoPostBack="True">
                            <Items>
                                <telerik:DropDownListItem runat="server" Text="Select an Attending Provider" Value="" />
                            </Items>
                        </telerik:RadDropDownList>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
Princy
Top achievements
Rank 2
 answered on 29 Aug 2013
1 answer
139 views
Hi,

is there any chance to get the OrgChart for wpf?

Thanks
Best Regards
Rene
Pavel R. Pavlov
Telerik team
 answered on 29 Aug 2013
1 answer
59 views
I was wondering if it was possible to implement the following using a RadGrid:

Let's say my grid is populated with data that is already sorted by an "Event Name" column, then by an "Event Time" column. There are typically a few hundred total records divided by 10 records per page. I would like to be able to "jump to" the next change in value for a particular column. Ideally, there would be left/right arrow buttons on the bottom paging bar that would set the current page index to that of where the next/previous chunk of "Event Name" entries starts/ends.

Does anybody know if something like this is achievable?
Angel Petrov
Telerik team
 answered on 29 Aug 2013
4 answers
852 views
Hi,

In dropdownlist there is an option to Clear Selection. Is there a similar functionality in dropdowntree to clear what was last selected and display the default message?
Kate
Telerik team
 answered on 29 Aug 2013
1 answer
138 views
Hello ...
I have list view connected with timer to update values in list view  using ajax manager
when use
Rebind() it update all values in list view and reload images even if it not changed
How can i update just changed values 
Or Update some value

Maria Ilieva
Telerik team
 answered on 29 Aug 2013
3 answers
188 views
Using the latest version of the controls.

Is there a way to create a multi-line title?

I've tried the following in the chart.PreRender event, but have not had success:

RadChart1.ChartTitle.TextBlock.Text = "Line1 " & System.Environment.NewLine & "Line2" 
and
RadChart1.ChartTitle.TextBlock.Text = "Line1  Line2" 
and
RadChart1.ChartTitle.TextBlock.Text = "Line1 <br/> Line2" 
Ves
Telerik team
 answered on 29 Aug 2013
4 answers
132 views
Hi guys,

I am noticing some timezone and DST-related behavior that is confusing me on your demo pages. In particular, there seems to be an inconsistency in the way appointments are rendered when using web-services in comparison to the normal postback-style approach. I will walk you through it so that you can reproduce it and tell me if I am missing something:

Reproduction steps:
1. Change your local system timezone to (UTC + 10:00) Canberra, Melbourne, Sydney (this is my local timezone and the dates you are going to select below are related to DST switches that we have in this timezone, however this problem should theoretically be reproducible for any timezone that observes DST changes)
2. Start your browser fresh (so that your system timezone changes are persisted to it). I used the latest version of Firefox. To check that the system timezone has been persisted to the browser you can open up FireBug and execute "new Date(2000,1,1,9,0,0)" and make sure that the AUS time is shown in the result.
3. Navigate to your demo page: http://demos.telerik.com/aspnet-ajax/scheduler/examples/templates/defaultcs.aspx
4. Choose the day view on the scheduler and navigate to the date: 6 October 2013. Also choose show 24 hrs.
5. Create a new appointment starting at 01:00 (i.e. 1am) lasting for 1 hour or so and click on the create button.
6. Confirm that the new appointment is rendered correctly at 01:00.
7. Navigate to your other page that demonstrates web-service binding: http://demos.telerik.com/aspnet-ajax/scheduler/examples/webservice/defaultcs.aspx
8. Again, choose the day view and navigate to the date: 6 October 2013. Also choose show 24 hrs.
9. Again, create a new appointment starting at 01:00 (i.e. 1am) lasting for 1 hour or so.

Expected results: The appointment renders at 01:00 in the same way as step 6.
Actual results: The appointment renders at 00:00 (i.e. midnight). It appears to have been 'shifted back in time'.

The fact that there is inconsistent behavior in this scenario between web-service binding and postback binding leads me to believe that there may be an issue in the client-side script that renders the appointments that are received from the web-service responses.

I did some light debugging into your javascript and although I might be out of my depth and not understand all the aspects to the problem, I will hesitantly try to identify where I think the problem is. Consider your method...

_toClientDate:function(g){var f=new Date(g.getTime());
var h=f.getTimezoneOffset()*e;
f.setTime(f.getTime()+h);
f.setTime(f.getTime()+this._schedulerTzOffset);
return f;
}

...which is a function in the prototype of Telerik.Web.UI.Scheduler.Rendering.WebServiceRenderingManager. This method seems to be the one responsible for converting the server-received appointment times into times for displaying on the client. Now I don't have time to look into this in depth, however it seems that in the line...

var h=f.getTimezoneOffset()*e;

...you're getting the client-timezone offset of the time BEFORE it has been adjusted by the scheduler timezone offset. In the case that a DST switch is involved, this leads to the one-hour discrepancy that we see in the scenario described above. Without researching it further my gut feeling is that such an offset should be applied AFTER it has been adjusted by the scheduler timezone offset (but I could definitely be wrong on this).

If you were to follow the same approach for the date 7 April 2013 you would see the switch happen the other way (i.e. the appointment is rendered forward one hour). Again this is due to the DST switch (this time going in the opposite direction).

I guess some logical questions might be: how does your logic handle it on the server-side in the postback case, and can this same logic be applied at the client-side so that the web-service binding scenario matches the postback scenario?

We are using web-service binding on our project and this issue is of concern to us. If we are missing something fundamental here then please let us know, otherwise we would appreciate if you could comment on the timeline for resolving this problem, and if there are any workarounds that we can implement. For example, I imagine we might be able to tap into the client 'OnRequestSuccess' method and adjust the dates appropriately in these situations if required...perhaps you could suggest an appropriate code snippet for this.

Cheers,
Sam
Boyan Dimitrov
Telerik team
 answered on 29 Aug 2013
6 answers
228 views
Hi,

I am using a SearchBox with datasource set by a method using fulltext search, case insensitive and accent insensitive. Everything works fine, except the case of accent insensitive, because of Filter.

For example, when users type "to", my fulltext method will return results like "to", "tó", "tô", "tố", ect... But due to Filter of SearchBox, the result will be only "to". Please tell me how to turn off the Filter. The easiest way should be to set Filter="None" (just like with RadComboBox), but not available with SearchBox (currently with only StartsWith and Contains).

I would suggest Filter="None" in the next version.

Thank you.


Plamen
Telerik team
 answered on 29 Aug 2013
4 answers
1.2K+ views
Hi,

I am using version 2012.3.1016 (3.5 Framework) of your ASP.NET for AJAX controls.

My basic question is:  Can I force various resource files to load (WebResource.axd and ScriptResource.axd files)?

The reason why I might want to do this is that I'm experimenting with a free project I got from codeplex that handles the asynchronous loading of ascx controls.  I'm creating a dashboard and I want long running controls to execute after the page loads, and that is what this free project does.

The problem with the free project is:  It is not loading the necessary WebResource.axd and ScriptResource.axd files for the Telerik controls I'm using, so I don't have the needed css and javascript for the controls to work.

I've added link tags to the missing /WebResource.axd?'s and that has made the css available, but I don't know if that is a recommended way of loading these resource files.  Is it?

I've also added script tags like the following, to try to force the javascript to load, but I get javascript errors when the page load, so it isn't working for loading my missing javascript:

<script type="text/javascript" src="/ScriptResource.axd?d=tcuWcqcL5-luLV0wdxLefWCe_aCO56Eh319X6XgtpN2Gtje1MWdgfFfS75k6jswRmNUwWHyiB0uS2ChbFj-BOhVThUoNcyHxhBmYBZ2FX80bd4fNkNBHR8b3D24AhsvzwUlylOd5zfKeaX8EZ1dwg9TXJtU1&t=ffffffff967a6818"></script>

So again, in an ascx file, is there a way to force the loading of the CSS and javascript that Telerik controls will need?  Either from within the resource files, or any other way?  Of course I don't want to have to extract the css and javascript from the resource files and create my own files.  That would probably be hard to maintain when upgrading the Telerik components...

Thanks Much,
Brent
Brent Hetland
Top achievements
Rank 1
 answered on 29 Aug 2013
1 answer
104 views
Hi,

I have RadListView and i would like to know how can i move a selected item in the listview up or down .

There is a method to perform this function ?
Maria Ilieva
Telerik team
 answered on 29 Aug 2013
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?