Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
242 views
Hi,

Since adding a detail table to my master table, the exporting of data from the master table to CSV has become very slow. I temporarily removed the detail table and the export worked fine. I came across this forum thread http://www.telerik.com/forums/how-to-suppress-detailtable-bind-when-exporting but setting the hierarchyloadmode has not made any difference. I do not have the hierarchyloadmode set anywhere else, so it's just using the default setting.

Here is the code for the RadGrid export:

Protected Sub lnkbtndownloaddata_Click(ByVal sender As Object, ByVal e As System.EventArgs)
RadGrid1.MasterTableView.HierarchyLoadMode = GridChildLoadMode.ServerOnDemand
RadGrid1.ExportSettings.IgnorePaging = True
RadGrid1.MasterTableView.ExportToCSV()
End Sub

Like I said, setting the hierarchyloadmode has not made any difference to the speed of exporting.

Is there anything else I could try? Is there a way to temporarily disable the detail table prior to exporting?

Regards

Tim
Danny
Top achievements
Rank 1
 answered on 18 Feb 2015
6 answers
462 views
Hi,

I would like to show/hide context menu items based on some properties of the appointment.  Context menu items are added from server side code. I am using javascipt and webservice to do this. When I call the client side script "CheckTimerStatus" , it overrides the built in JS fxn that toggles the contextmenu. How can I make both codes execute without affecting each other.

I am calling  OnClientAppointmentContextMenu="CheckTimerStatus"


function  CheckTimerStatus (sender, eventargs){
  // hide/display contextmenuitems

}

 protected void rsTicketsSchedule_DataBound(object sender, EventArgs e)
    {
       
        //AddMenuItemsToConetxtMenu
         ...........   Logic to add context menu based on some properties....

}



Thanks,
Prava
Boyan Dimitrov
Telerik team
 answered on 18 Feb 2015
1 answer
292 views
Hi, I'm trying to hide the context menu in the OnClientAppointmentContextMenu event , but i don't find the way to get that. I have found only the way of hide the menu items and disabled the context menu . If you know how hide and show the context menu , please help me with the solution.
Thanks in advanced

sender.get_appointmentContextMenus()[0].set_enabled(false);  //THIS CODE DISABLED THE MENUCONTEXT

var items = sender.get_appointmentContextMenus()[0].get_items(); //THIS CODE HIDE A MENU ITEM
items.getItem(0).hide();

How can I hide the contextmenu????
Nencho
Telerik team
 answered on 18 Feb 2015
1 answer
144 views
Hello,

I am using Telerik Version 2011.1.413.35.

I am facing problem in RadGrid filter option like mentioned here -
1. 'EqualTo' , 'NotEqualTo' , 'Between' and 'NotBetween'  search criteria are not working.
2. 'GreaterThan' search filter is showing result for 'greater than or equal to' search criteria.
3. 'LessThanOrEqualTo' search filter is showing result for 'LessThan' search criteria.

After searching I have found few solutions like below URL, but those gave me no luck.
http://www.telerik.com/help/aspnet/grid/grdfilteringfordatetimecolumnwithdataformatstring.html

Can you please provide me any workable link or bunch of code which may help me to overcome the Telerik RadGrid Filter issue mentioned above.

This is kind of urgent.

Thanks in advance.

Sajal Halder
20-20 Technologies Inc.
Maria Ilieva
Telerik team
 answered on 18 Feb 2015
1 answer
253 views
I have a RadGrid and am using an EditForm for Inserting/Updating. The edit form type is a popup. In the EditForm, I call the ItemCommand code behind function this way:

<telerik:RadButton  CommandName="PerformInsert" ID="rbAddSubscription" runat="server" Text="<%$ Resources: global, string_addSubscription%>" OnClientClicking="btnAddSubscription"></telerik:RadButton>

It works fine. The row gets added to the DB, I rebind the grid, and all is well. But if I then refresh the browser page, the ItemCommand code behind function runs, and inserts the row again. The edit popup is closed. If I debug the ItemCommand during the page refresh, the CommandName is "PerformInsert". I've tried to clear the edit indexes, setting e.canceled = true, etc., but it stays the same. The popup form is not longer open, which is right. The the CommandName were no longer "PerformInsert", my problem would go away, as I'm checking for that in the ItemCommand.

Any insight would be very much appreciated.

 
Maria Ilieva
Telerik team
 answered on 18 Feb 2015
1 answer
241 views
I've searched the forum and come across these two threads which are exactly what I experienced, that is, the yellow dots blink and eventually stay solid near the end of the upload, and then IE freezes over and you can't click on anything (nor go to another tab) and the browser must be shut down.

http://www.telerik.com/forums/radasyncupload-blinking-yellow
http://www.telerik.com/forums/radasyncupload-1fc6f6296712

Points:
It only happens to IE11. Earlier versions work.
It doesn't always happens but it happens often enough (at least 1/2 times. Occassionally I can upload successfully)
  -this indicates to me that it's not an authentication issue? My site has Windows authentication only.
File location is a network drive (not sure if this is relevant)
Chrome browser always works without any issues. Only IE11.

When it happens the only way to quit is to shut down the browser by Windows Task manager.

Any help please? This has been going on for a while. I'm using 2014Q3.

Many thanks in advance.
Peter Filipov
Telerik team
 answered on 18 Feb 2015
6 answers
886 views
The text editing area of the editor seems to have about 3 lines worth of white space at the top that I can't reach or get rid of. I've tried various settings and width/height combinations but there is always that empty white space at the top. The code for the Editor I am using is enclosed below along with a screen capture. Thanks for any help in getting rid of the white space at the top.

<telerik:RadEditor ID="raeMessage" Runat="server" Width="340px"
Height="300px" EmptyMessage="Please type your message here..." MaxHtmlLength="10000" AutoResizeHeight="True" EditModes="Design" EnableResize="False">
<Tools>
<telerik:EditorToolGroup Tag="MainToolbar">
<telerik:EditorTool Name="FindAndReplace" RenderMode="Classic" />
<telerik:EditorSeparator RenderMode="Classic" />
<telerik:EditorSplitButton Name="Undo" RenderMode="Classic">
</telerik:EditorSplitButton>
<telerik:EditorSplitButton Name="Redo" RenderMode="Classic">
</telerik:EditorSplitButton>
<telerik:EditorSeparator RenderMode="Classic" />
<telerik:EditorTool Name="Cut" RenderMode="Classic" />
<telerik:EditorTool Name="Copy" RenderMode="Classic" />
<telerik:EditorTool Name="Paste" RenderMode="Classic" ShortCut="CTRL+V / CMD+V" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup Tag="Formatting">
<telerik:EditorTool Name="Bold" RenderMode="Classic" />
<telerik:EditorTool Name="Italic" RenderMode="Classic" />
<telerik:EditorTool Name="Underline" RenderMode="Classic" />
<telerik:EditorSeparator RenderMode="Classic" />
<telerik:EditorSplitButton Name="ForeColor" RenderMode="Classic">
</telerik:EditorSplitButton>
<telerik:EditorSplitButton Name="BackColor" RenderMode="Classic">
</telerik:EditorSplitButton>
<telerik:EditorSeparator RenderMode="Classic" />
<telerik:EditorDropDown Name="FontName" RenderMode="Classic">
</telerik:EditorDropDown>
<telerik:EditorDropDown Name="RealFontSize" RenderMode="Classic">
</telerik:EditorDropDown>
</telerik:EditorToolGroup>
</Tools>
<Content>
</Content>
<TrackChangesSettings CanAcceptTrackChanges="False" />
</telerik:RadEditor>
Ianko
Telerik team
 answered on 18 Feb 2015
3 answers
245 views
I am trying to adapt this demo to customize the pager in a telerik:GridTableView
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/customizingpager/defaultcs.aspx

I cannot figure out how to access the GridPagerItem in my GridTableView

Thanks,
JIm

Gaurav
Top achievements
Rank 1
 answered on 18 Feb 2015
8 answers
939 views
I have my own method and I am trying to findcontrol on a control inside the GridTemplateColumn, so I am doing it outside of the events for the radGrid. Is this possible and if so, how?

Thanks!
Rajnish
Top achievements
Rank 1
 answered on 18 Feb 2015
12 answers
346 views
Hi!

What we need is to get outlook appointment from a number of different users and show them
on a webpage. Here the RADscheduler could be our answer!!! I have just made some test, and it is very simple to
show ONE specific outlook users appointment in the RADscheduler. (see the code below)

But how do you show more than one exchange users appointment in different groups on a webpage using the RADscheduler control?
For example show the user JATOV, HAGER and WEKJK.

Do you have a good code example of that? and is it even possible...

 

<telerik:RadScheduler ID="RadScheduler1" runat="server" Height="800px">

</telerik:RadScheduler>

 

RadScheduler1.Provider =

 

New ExchangeSchedulerProvider(https://XXXXXX/EWS/Exchange.asmx, "XXXX", "XXXXX", "DOMAIN")

 

 

 



Ismael
Top achievements
Rank 1
 answered on 17 Feb 2015
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?