Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
From my searching around, I can't seem to find a definitive answer to this. I want my user-defined method to run once after the Upload button is clicked.

The FileExplorer ItemCommand event executes with ever file selected (I have EnableAsyncUpload as True). ItemCommand would cause my user-defined method to run per uploaded file, when I only want the method to run after the final upload.

I tried to keep track of RadFileExplor1.Upload.UploadedFiles.Count, thinking I could execute my method when MyCount == UploadedFiles.Count. The UploadedFiles.Count returns zero (0) on the Page_Load event (when the page is initially opened), but when Page_Load runs again on a postback (after clicking the Upload button), UploadedFiles.Count always throws a null exception.

So how do I get my method to run once immediately after the Upload button is clicked?

Thank You,
Steven
Princy
Top achievements
Rank 2
 answered on 25 Jul 2012
7 answers
313 views
1) I export radgrid to PDF fine but one column is not wide enough in PDF output. How can I increase the column size before it actually exports the data to PDF?

2) One column's values are shown as hyperlink in PDF as well as in Excel. How can I tell it to export the values as text as opposed to links when exporting the radgrid to PDF and to Excel?

Thank you.
Shinu
Top achievements
Rank 2
 answered on 25 Jul 2012
3 answers
106 views
http://www.trirand.net/demoaspnetmvc.aspx - in the 'ship name' column. It has a nice auto complete filter which I can't see in the RadControls demos, the closest I found were: http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/filteringcombo/defaultcs.aspx
Shinu
Top achievements
Rank 2
 answered on 25 Jul 2012
1 answer
110 views
Hi
We need to add an extra column to Scheduler and in that column to display the week number and some other data: http://screencast.com/t/QB0pLhgL - check yellow square
What is the best way of doing this?
For the moment we tried creating a separate table and to align (glue it) to the scheduler table, but is a bit trickier than expected.
Any help is appreciated.
Ivana
Telerik team
 answered on 24 Jul 2012
2 answers
260 views
I have created a number of controls that inherit from standard web controls.  I pass data from the server to the client by doing a MyWebControl.Attributes.Add("Name","Value"), then on the client, I do a MyControl.getAttribute("Name") to get the value.

This doesn't work for the RadEditor.  Is there a similar mechanism I can use to do this with the RadEditor?  What about other RadControls?

Thank you.
LeBear
Top achievements
Rank 1
 answered on 24 Jul 2012
4 answers
175 views
I have an issue where div's are being expanded by a jquery call but are sliding behind the radscheduler when they appear.  I have increased the z-index of the divs with the !important tag applied in css, and also tried reducing the z-index of the radscheduler using the default setting in css.  My div's contain menu options and reside on a master page, not sure if that's helping or not. 

I'm running the q2 controls from 2012 so they're current, and I'm using the 'simple' theme that's packaged with the controls.  Is there some other setting I can apply to drop the radscheduler further down the z-index hierarchy??

thanks.
Morgan.
Ivana
Telerik team
 answered on 24 Jul 2012
2 answers
107 views
Hello!

I'm experiencing serious Dock performance issues and I'm afraid that things might get even worse so any help is appreciated. 

I'm using Docks to create employee's schedule/to-do list  which means that each employee has about 50-60 visible Docks on his screen at a time. The problem is, as I assume, that old docks that are closed slow down loading of opened ones and because of it loading takes about 30 seconds which is far too much for a business application.

What I'd need is to suggest me the best practice on how to fix this.

Thank you!

Regards,

Hrvoje
Hrvach
Top achievements
Rank 1
 answered on 24 Jul 2012
2 answers
126 views
I am trying to use grouping to one of the RadGrid where all the columns are autogenerated

i applied the code.
ShowGroupPanel="True" (RadGrid attribute)
and
<ClientSettings AllowDragToGroup="True" >
</ClientSettings>

But when ever I am dragging one column to the group panel ,
getting this

Error: Sys.WebForms.PageRequestManagerServerErrorException: Unable to cast object of type 'Telerik.Web.UI.GridGroupSplitterColumn' to type 'Telerik.Web.UI.GridBoundColumn'.
:(

Please Help

Regards
Arijit Chatterjee


Pavlina
Telerik team
 answered on 24 Jul 2012
3 answers
82 views
Hi Telerik team,
i am trying to create same application explain in this article http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/loadondemand/defaultcs.aspx in SharePoint 2010 using webpart.As per article i have created VisualWebpart which will create two Tabs and once you click on tab it will load UserControl.it is working fine without ajax settings if i try to implement ajax setting its not working.
Here is HTML Markup for WorkspaceTabs.ascx.
<script type="text/javascript">
    function onTabSelecting(sender, args) {
        if (args.get_tab().get_pageViewID()) {
            args.get_tab().set_postBack(false);
        }
    }
</script>
<Telerik:RadAjaxLoadingPanel ID="radajaxloadingPanel" runat="server" Skin="Default" />
<div id="Tabs">
    <Telerik:RadMultiPage ID="radWorkspaceMultiPage"
                          runat="server"
                          SelectedIndex="0"
                          OnPageViewCreated="radWorkspaceMultiPage_PageViewCreated">
    </Telerik:RadMultiPage>
    <Telerik:RadTabStrip ID="radWorkspaceTab"
                         SelectedIndex="0"
                         runat="server"
                         MultiPageID="radWorkspaceMultiPage"
                         OnTabClick="radWorkspaceTab_TabClick"
                         OnClientTabSelecting="onTabSelecting"
                         >
     </Telerik:RadTabStrip
</div>

Workspace.cs file load above Usercontrol
[ToolboxItemAttribute(false)]
    public class Workspaces : WebPart
    {
        // Visual Studio might automatically update this path when you change the Visual Web Part project item.
        private const string _ascxPath = @"~/_CONTROLTEMPLATES/Connexus/WorkspacesTabs.ascx";
        RadAjaxManager ajaxmgr;
        protected override void OnInit(EventArgs e) {
            base.OnInit(e);
          /*  ajaxmgr = RadAjaxManager.GetCurrent(this.Page);
            if (ajaxmgr == null) {
                ajaxmgr = new RadAjaxManager();
                ajaxmgr.ID = "RadAjaxManager1";
                this.Page.Items.Add(typeof(RadAjaxManager), ajaxmgr);
                Page.Form.Controls.AddAt(0, ajaxmgr);
            } */
            
             
        }
        protected override void CreateChildControls() {
            Control control = Page.LoadControl(_ascxPath);
            Controls.Add(control);
           RadMultiPage radWorkspaceMultiPage = control.FindControl("radWorkspaceMultiPage") as RadMultiPage;
            RadTabStrip radWorkspaceTab = control.FindControl("radWorkspaceTab") as RadTabStrip;
            RadAjaxLoadingPanel loadingPanel = control.FindControl("radajaxloadingPanel") as RadAjaxLoadingPanel;
            ajaxmgr.AjaxSettings.AddAjaxSetting(radWorkspaceTab, radWorkspaceMultiPage,loadingPanel);
           ajaxmgr.AjaxSettings.AddAjaxSetting(radWorkspaceTab, radWorkspaceTab);
           ajaxmgr.AjaxSettings.AddAjaxSetting(radWorkspaceMultiPage, radWorkspaceMultiPage, loadingPanel);
             
        }
    }

Please advise

Thanks
Ronak
Plamen
Telerik team
 answered on 24 Jul 2012
2 answers
176 views
Please see the snapshot - I just updated my Telerik version from 2012 Q1 SP to 2012 Q2 and I'm unable to see the icons anymore.  It was working fine before the update - I have following stylesheets added too:

<telerik:RadCodeBlock ID="rcbPage" runat="server"> 
<link href='<%= Telerik.Web.SkinRegistrar.GetWebResourceUrl(this, typeof(RadEditor), "Telerik.Web.UI.Skins.Editor.css") %>' rel="stylesheet" type="text/css" /> 
<link href='<%= Telerik.Web.SkinRegistrar.GetWebResourceUrl(this, typeof(RadEditor), "Telerik.Web.UI.Skins.Default.Editor.Default.css") %>' rel="stylesheet" type="text/css" /> 
<link href='<%= Telerik.Web.SkinRegistrar.GetWebResourceUrl(this, typeof(RadWindow), "Telerik.Web.UI.Skins.Window.css") %>' rel="stylesheet" type="text/css" /> 
<link href='<%= Telerik.Web.SkinRegistrar.GetWebResourceUrl(this, typeof(RadWindow), "Telerik.Web.UI.Skins.Default.Window.Default.css") %>' rel="stylesheet" type="text/css" />                
</telerik:RadCodeBlock>


<telerik:RadEditor runat="server" ID="RE" EditModes="Design" ToolbarMode="Default" NewLineMode="Br"  
ToolsFile="~/controls/BasicTools.xml" DialogsCssFile="~/skins/A/Dialog.A.css">
</telerik:RadEditor>
Neepa
Top achievements
Rank 1
 answered on 24 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?