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

I have the follwing grid which contains 1500 rows. if I try to sort on a column, it takes over twenty seconds. Is there any way to speed up the sorting?

 <telerik:RadGrid ID="rgAdvSearch" runat="server"
                                     AllowSorting="True" AutoGenerateColumns="False" GridLines="None"
                                     Skin="WebBlue" Width="100%" AllowMultiRowSelection="True">
                                               
                             <SelectedItemStyle BackColor="#99CCFF" />
                       
                             <ClientSettings>
                                 <Selecting AllowRowSelect="True" />
                                 <ClientEvents OnRowDblClick="Row_Select" OnRowClick="Row_Single_Click"  />
                                 <Scrolling AllowScroll="True" />
                             </ClientSettings>
                            
                             <MasterTableView PageSize="30" EnableViewState="true"
                                              ClientDataKeyNames="type, start_time, end_time, nature_cct, status_ss, ref_no, intrp_no, match_lid"
                                              Width="98%">
                                 <RowIndicatorColumn>
                                     <HeaderStyle Width="20px"></HeaderStyle>
                                 </RowIndicatorColumn>
                                 <ExpandCollapseColumn>
                                     <HeaderStyle Width="20px"></HeaderStyle>
                                 </ExpandCollapseColumn>
                                 <Columns>
                                     <telerik:GridCheckBoxColumn CurrentFilterFunction="NoFilter"
                                                                DataField="match_lid" FilterListOptions="VaryByDataType"
                                                                ForceExtractValue="None" HeaderText="Match LID"
                                                                UniqueName="match_lid1">
                                                     <ItemStyle Width="1px" />
                                                     <FooterStyle Width="1px" />
                                                     <HeaderStyle Height="1px" Width="70px" />
                                     </telerik:GridCheckBoxColumn>
                                     <telerik:GridBoundColumn DataField="type" HeaderText="Type" UniqueName="type">
                                     </telerik:GridBoundColumn>
                                     <telerik:GridBoundColumn DataField="start_time" DataType="System.DateTime"
                                                              HeaderText="Start Time" UniqueName="start_time" DataFormatString="{0:dd/MM/yyyy HH:mm:ss}">
                                     </telerik:GridBoundColumn>
                                     <telerik:GridBoundColumn DataField="end_time" DataType="System.DateTime"
                                                              HeaderText="End Time" UniqueName="end_time" DataFormatString="{0:dd/MM/yyyy HH:mm:ss}">
                                     </telerik:GridBoundColumn>
                                     <telerik:GridBoundColumn DataField="nature_cct" HeaderText="Nature / Cct No."
                                                              UniqueName="nature_cct">
                                     </telerik:GridBoundColumn>
                                     <telerik:GridBoundColumn DataField="status_ss"
                                                              HeaderText="Status / Substation /  Description" UniqueName="status_ss">
                                     </telerik:GridBoundColumn>
                                     <telerik:GridBoundColumn DataField="ref_no" HeaderText="Ref. No."
                                         UniqueName="ref_no" Aggregate="Count">
                                     </telerik:GridBoundColumn>
                                     <telerik:GridBoundColumn DataField="intrp_no" UniqueName="intrp_no" Visible = "false">
                                     </telerik:GridBoundColumn>
                                     <telerik:GridBoundColumn DataField="match_lid" UniqueName="match_lid" Visible = "false">
                                     </telerik:GridBoundColumn>
                                 </Columns>
                                 <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                 <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                               Font-Strikeout="False" Font-Underline="False" ForeColor="Black" Wrap="True" />          
                             </MasterTableView>

                             <FilterMenu EnableTheming="True" Skin="WebBlue">
                                 <CollapseAnimation Duration="200" Type="OutQuint" />
                             </FilterMenu>

                   </telerik:RadGrid>             

Shinu
Top achievements
Rank 2
 answered on 03 Dec 2008
5 answers
142 views
I need to provide a small image gallery (of thumbnails)  When a user moves the mouse over a thumbnail, I want to display a larger version of the image in a popup window (all client side)  are there any examples anywhere I could use to get me started ?
Lini
Telerik team
 answered on 03 Dec 2008
3 answers
232 views
Hello,

I reported an issue some weeks ago on a javascript error that blocks our application.
Now I figured out what the reason is for this error. The solution on the other hand is unknown and may be something tricky. So I hope you can find it out because my projectleader has pulled out all of his hair from frustration. I'm afraid my hair is next as long as the problem continues.

Ok the reason/scenario:

make a sample project with a page that dynamically creates a usercontrol and each time there is a postback (Ajax or not) you'll have to build the usercontrol from zero.
On the usercontrol set a control e.g. radcombobox and fill it up with 250 items (so the server will have something to process).
Create a button beneath it that will trigger a refill of the combobox.
Make a loadingpanel and a radajaxmanager that will update a panel which only contains the dropdown. Make sure the button does not belong in the panel so it is clickable during the loadingscreen.

No click that button as hell, as fast as you can and then the following error will occur in javascript:
_d5.parentNode is null where 5 is a sequence.

I traced it back in the javascript of telerik so this might help in the search:

1810  var _d2=$get(_d1);
1811  var _d3=String.format("{0}_wrapper",_d1);
1812  var _d4=$get(_d3);
1813  if(_d4){
1814  _d2=_d4;
1815  }
1816  if(this.get_element()==null){
1817  return;
1818  }
1819  var _d5=(!this._isSticky)?$get(this.get_element().id+_d1):this.get_element();
1820  var now=new Date();
1821  if(_d5==null){
1822  return;
1823  }
1824  var _d7=now-_d5._startDisplayTime;
1825  var _d8=this._minDisplayTime;
1826  if(this._isSticky){
1827  if(_d8>_d7){
1828  window.setTimeout(function(){
1829  _d5.style.display="none";
1830  },_d8);
1831  }else{
1832  _d5.style.display="none";
1833  }
1834  }else{
1835  if(_d8>_d7){
1836  window.setTimeout(function(){
1837  _d5.parentNode.removeChild(_d5);
1838  if(typeof (_d2)!="undefined"&&(_d2!=null)){
1839  _d2.style.visibility="visible";
1840  }
1841  },_d8);
1842  }else{
1843  _d5.parentNode.removeChild(_d5);
1844  if(typeof (_d2)!="undefined"&&(_d2!=null)){
1845  _d2.style.visibility="visible";
1846  }
1847  }
1848  }
the error occurs on line 1837

Hope this helps because I really love my hair,

Thanks in advance,

the SOFIM-team (Belgium)
Pavel
Telerik team
 answered on 03 Dec 2008
1 answer
62 views
Are there any known issues with using the Window control with DotNetNuke? On one of our dnn controls, we open a Telerik window that loads another .aspx form.  The form loads just fine within the window, however it logs us out of DotNetNuke? 

Any help is appreciated.

Thanks again.

Vincent
Lini
Telerik team
 answered on 03 Dec 2008
2 answers
139 views
Hi All,
I have gridTemplateColumn  with checkboxlist inside the EditItemtemplate  and label inside the Itemtemplate, the problem is when I click on editbutton all the selected  item become unselected!!!!!!!!!!

how can I keep the value in edit mode???????

thanks in advance
ghadeer 
ghadeer
Top achievements
Rank 1
 answered on 03 Dec 2008
3 answers
183 views
I have a RadCalendar control on my page. When I hover the cursor over the associated icon I can see a tooltip that says "Open the calendar popup". How do I change the tooltip text? I cannot find a ToolTip property...
Maria Ilieva
Telerik team
 answered on 03 Dec 2008
1 answer
100 views
Hello

I've successfully implemented an image in a DayTemplate similar to the example in 
http://demos.telerik.com/aspnet-ajax/Calendar/Examples/Functionality/SpecialDays/DefaultCS.aspx

...my question, and I may be missing something here, is there any way to include the actual Day as well as an image?

eg: In the link above, the 5th of December has an image, but not the '5'.

Is there some sort of bind expression I need to use against a control, such as a label, within the Content element of the template..?

Cheers
Shinu
Top achievements
Rank 2
 answered on 03 Dec 2008
4 answers
282 views
Hi,

    In radscheduler control subject should be hyperlink. On click of hyperlink that should open pop window with subject.
Arni
Top achievements
Rank 1
 answered on 03 Dec 2008
1 answer
139 views

Hi,

I have a requirement to have the site tab strip displayed as below

item1    item2
item3    item4
item5    item6
item7    item8

Is this possible to do using the control or any other navigation control?
Serrin
Top achievements
Rank 1
 answered on 02 Dec 2008
3 answers
62 views
Howdy,

We have a usercontrol that contains a RadMultiPage control. Within that RadMultiPage control are five PageViews, each containing a user control that has one or more RadGrids within it. $create calls are being emitted to the page for every RadGrid within the RadMultiPage when their actual HTML elements don't exist. So it tries to pass $get('ID_Of_Nonexistant_RadGrid_Element') as the element parameter to $create, and throws an "undefined is null or not an object" error back at the user when it tries to initialize the base of Telerik.Web.UI.RadGrid with said null element.

Is this a known issue, and if so is there a workaround for it?

Thanks in advance
Zeke
Top achievements
Rank 1
 answered on 02 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?