Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
128 views
I have a grid that has the export to excel functionality.  When the grid has a small number of records it works, but in some cases I need to be able to export large number of records.  One instance is 122,103 records. 
I have the MaxRows set for 1048576, so it should fit on one sheet, but when it hits this line of code.
I am using ExportToExcelML.
excelExporter.RunExport(fileName);

It seems to become unresponsive.  I have let the application run for up to 10 min with the export never being created.

Also right now I simply change the cursor to a waitcursor during this time, is there anyway to show progress of the export?
Eric Klein
Top achievements
Rank 1
 answered on 03 Sep 2013
1 answer
307 views
Hi,

I am  replacing ADO.NET data source  of Radscheduler with web service.
On  previous one, I had appointment template  that used custom attributes  inserted  on appointment data bound  event, how can I add custom attributes to  show appointment template  with this new databinding environment?

 protected void TicketsSchedule_AppointmentDataBound(object sender, SchedulerEventArgs e)
    {
      .....................
            e.Appointment.Attributes["MTaskID"] = row["MasterTaskID"].ToString();
            e.Appointment.Attributes["TaskID"] = row["SubTaskID"].ToString();
            e.Appointment.Attributes["ProjectID"] = row["ProjectID"].ToString();
.................



 <telerik:RadScheduler runat="server"  ID="RadScheduler1"    OnResourcesPopulating="RadScheduler1_ResourcesPopulating"  SelectedView="TimelineView"  EnableCustomAttributeEditing="True"   OnClientDataBound="onSchedulerDataBound"
                  OnClientAppointmentsPopulating="OnClientAppointmentsPopulating"  Width="1900px" Height="900px"    OverflowBehavior="Scroll"   OnClientResourcesPopulating="OnClientResourcesPopulating" 
                               AppointmentStyleMode="Default" >
                                <AppointmentTemplate >
                                    <div>
                                            <div id="ApptImageDiv" style="text-align:right; position:absolute; width:95%;" >
                                                 <asp:Image ID="ApptAttachmentImg" runat="server"  Width="16px" Height="17px"  CssClass="ShowAttachment"
                                                           
                                            />
                                    </div>

                                    <%#Eval("Subject") %>  
                                   </div>   
                            </AppointmentTemplate >
                            <DayView UserSelectable="True" GroupBy="TechName" GroupingDirection="Horizontal" />
                            <WeekView UserSelectable="True" GroupBy="TechName" GroupingDirection="Vertical"  />
          
Any idea?

Thanks,
Prava
Boyan Dimitrov
Telerik team
 answered on 03 Sep 2013
2 answers
179 views
We recently ported our application from a version of RadControls that was a couple of years old (and .NET 2.0) to the latest release (and .NET 4.0) and for the most part everything went just fine, but I've got this problem with RadToolTipManager that I can't even figure out where to begin looking.

The original app displays the tooltips fine, but in the ported version, there is a display anomaly that I could not figure out how to put into words, so please see the attached images.  Specifically, the incorrectly positioned visual geegaw that makes the tooltip look like a speech balloon instead of just a box.

There are no code/markup differences between the examples shown, except a few global tweaks to the CSS that are related to just our application, not to any Telerik specific CSS identifiers.

Edit : just FYI, it is happening every place that we use RadToolTipManager, not just the one screen that I took the images from.  In at least one of those screens, the tooltip is also not showing up with the yellow background it used to have, but otherwise has the same display anomaly described above.
Thomas Yanez
Top achievements
Rank 1
 answered on 03 Sep 2013
8 answers
225 views
Hello,

Do you have an example of how appointments get exported when bound to a web service?  I'm updating my code to use the WS approach and my previous setup didn't work (which, or course, was exporting the ICS from the server).

Thanks.
Plamen
Telerik team
 answered on 03 Sep 2013
2 answers
203 views
Hi

I have the following aspx code:
<telerik:RadScriptManager
        ID="RadScriptManager1"   
        runat="server"   
        CdnSettings-TelerikCdn="Enabled">
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <p>Testataan yläteksti</p>
    <asp:Label ID="Polku1" runat="server" Text="Label"></asp:Label>
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="500px"
                          Width="1160px" BackColor="#99CCFF" >
        <telerik:RadTileList ID="ValikkoTileList1" runat="server"
                             Skin="BlackMetroTouch" AutoPostBack="true"
                             OnTileClick="ValikkoTileList1_TileClick">
            <Groups>
                <telerik:TileGroup></telerik:TileGroup>
                <telerik:TileGroup></telerik:TileGroup>
                <telerik:TileGroup></telerik:TileGroup>
            </Groups>
 
        </telerik:RadTileList>
    </telerik:RadAjaxPanel>
    <asp:Label ID="Message1" runat="server" Text="Label"></asp:Label>
    <div runat="server" id="clickResult">
    </div>
    <p>Testataan alateksti</p>

In my c# code I create Tiles dynamically but I can not get into the event handler :
RadImageAndTextTile tile = new RadImageAndTextTile();
                tile.Name = "ValikkoTile" + counter.ToString();
                //tile.Shape = TileShape.Wide;
                tile.Height = 80;
                tile.Width = 250;
                //tile.Text = row.ValikkoNimi;
                tile.Badge.PredefinedType = TileBadgeType.Playing;
                tile.Title.Text = row.ValikkoNimi;
                tile.ImageUrl = "/Img/comment_32x32.png";
.........
tile.NavigateUrl = redirect;
                 
                 
                tile.PeekTemplate = new MyTemplate(text1, imgurl);
                tile.PeekTemplateSettings.Animation = PeekTemplateAnimation.Slide;
                tile.PeekTemplateSettings.AnimationDuration = 800;
  
                tile.PeekTemplateSettings.Easing = "easeInOutBack";
                               
                tile.PeekTemplateSettings.ShowInterval = 5000;
                tile.PeekTemplateSettings.CloseDelay = 5000;
                tile.PeekTemplateSettings.ShowPeekTemplateOnMouseOver = true;
                tile.PeekTemplateSettings.HidePeekTemplateOnMouseOut = true;
                if (counter <= grouping)
                {
                    ValikkoTileList1.Groups[0].Tiles.Add(tile);
                }
And here comes the event handler that never is being called:
protected void ValikkoTileList1_TileClick(object sender, TileListEventArgs e)
        {
            clickResult.InnerHtml = "Clicked tile name and URL: " + e.Tile.Name + "<br />" + e.Tile.NavigateUrl;
         
        }

When AutoPostback is set to false the tiles are redirecting according to NavigateUrl.
Thanks
Martin
Shinu
Top achievements
Rank 2
 answered on 03 Sep 2013
2 answers
302 views
Close button not visible when using skins Metro Touch. And the mouse over a small white circular ring appears ...
Good to see that you can close the dialog box :-)
Marin Bratanov
Telerik team
 answered on 03 Sep 2013
20 answers
1.3K+ views
I have a user control that includes the following RadWindow declaration:

<telerik:RadWindowManager ID="rwmSelectImageManager" runat="server" SkinID="TelerikRadWindowManager"
  <Windows> 
    <telerik:RadWindow ID="rwSelectImage" runat="server" Behaviors="Move, Close, Resize, Maximize" 
      Title="Select Image" SkinID="TelerikRadWindow" Height="450px" Width="675px" Modal="True" 
      ClientCallBackFunction="CallBackFunction" > 
    </telerik:RadWindow> 
  </Windows> 
</telerik:RadWindowManager> 

The javascript which opens the RadWindow is being injected using RegisterClientScriptBlock in the Page_Load event.  Before injecting, I use the IsClientScriptBlockRegistered method to see if it needs to be added first to prevent multiple inclusions.

I am then placing this control into various custom DotNetNuke modules.  If the module does not have any postbacks, the RadWindow opens and closes as many times as you want based on clicking a LinkButton (part of the user control).  However, when the user control is placed in a module that has postbacks, the RadWindow will open and close many times, unti la postback occurs, then the window will no longer open when the LinkButton is pressed.  Instead, I get a the DNN progress indicator as if a postback is occuring (rather than the client side script normally called) and the window never shows.  Everything else in the module remains active.

Here's the javascript function that shows the RadWindow:

function ShowDialog() 
{  
  var oWnd = window.radopen(null, 'rwSelectImage');  
  oWnd.setUrl(oWnd.get_navigateUrl()); 

The DestroyOnClose is not set (and I believe the default value is False).  Also, here is the javascript called to close the RadWindow (it is inside of the aspx page loaded in the window:

function ImageClicked(imageName) 
  var oWindow = GetRadWindow(); 
     
  var arg = new Object(); 
  arg.SelectedImageName = imageName
             
  oWindow.Close(arg);        
}    


Can you please advise as to why it will no longer show the window after a postback occurs?  It will show again fine if I reload the page, but that is clearly not a solution ;-)

Thanks!

Michael



Marin Bratanov
Telerik team
 answered on 03 Sep 2013
1 answer
61 views
I had used client-side Expand/Collapse of groups function, is it possible to show header text again in each group ?

because it may be many rows in each group, it is hard to page up/down to look for the header.

 
Kostadin
Telerik team
 answered on 03 Sep 2013
5 answers
518 views
How can I avoid the update of the example "Grid - Attachment Column" that must upload a new file if I want to change for example UploadDate or UploadedBy?
Kostadin
Telerik team
 answered on 03 Sep 2013
5 answers
2.5K+ views
Hi

I am trying to open a radwindow from C# on click of a button. I tried several codes available in the internet to invoke the js defined in the aspx page to open the radwindow but every time I get a js function undefined error. Please someone help me with a full solution.

Thanks in advance.
Ben
Shinu
Top achievements
Rank 2
 answered on 03 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?