Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
105 views
Hi,

I've been using version 2010.1.315.35 of the ASP.NET AJAX tools for quite some time now.  I'm in the middle of upgrading to the latest version (2012.2.724.35).  I use AsyncUpload in my application and use Flash in my application too.  Up until now version 2010.1.315.35 AsyncUpload has been using Flash in Firefox and Chrome (versions 14.01 and 21.0 respectively) but now that I've upgraded to 2012.2.724.35 flash is no longer being used and it appears to be falling back to using HTML.  I make extensive use of file filters so it's important that I can use AsyncUpload in flash mode.  I've noticed also that the demo at http://demos.telerik.com/aspnet-ajax/upload/examples/async/validation/defaultcs.aspx?product=asyncupload has the same problem.

My AsyncUpload control is specified as follows:

<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server"
                                    OnClientFileUploadFailed="RadAsyncUploadOnUploadFailed"
                                    OnClientFileSelected="RadAsyncUploadOnFileSelected"
                                    OnClientFileUploaded="RadAsyncUploadOnFileUploaded"
                                    OnClientFileUploadRemoved="RadAsyncUploadOnUploadRemoved">
                                    <Localization Select="<%$ Resources:Localization, AttachFile %>" />
                                    <Localization Cancel="<%$ Resources:Localization, Cancel %>" />
                                    <Localization Remove="<%$ Resources:Localization, Remove %>" />
                            </telerik:RadAsyncUpload>
Is there something different I need to do in 2012.2 to get flash working?

Thanks
Andrew Dixon

Mohammed
Top achievements
Rank 2
 answered on 15 Aug 2012
1 answer
109 views
Whether telerik provide a skin like the chrome browser tab? It's really beautiful than telerik's provided skin.
Kate
Telerik team
 answered on 15 Aug 2012
1 answer
115 views
hi there,
i now it might sound silly but i am new so, how can i have a menu with telerik for DNN form an html template i mean i have below codes that works fine with html and i need the same menu in DNN would anyone change this to a telerik menu skin so i might get the process.
and may be give me a tutorial of how to have the same menus as there are in html templates

my html menu was created by these css codes:

.menu.nav-bar{background: none; margin-top: 0px; border: 0px solid #ddd;}
.menu.nav-bar>li { display: inline-block; padding: 0; margin: 0; border-right: 0px solid #ddd; line-height:normal; padding:0px 0px;}
.menu.nav-bar>li li.parent ul { display: none;}
.menu.nav-bar li.parent ul {display:none;}
/* Main Navigation */
ul.menu.nav-bar {float:right;margin:10px 0 0 0; display:inline-block; width :1100px;}
ul.menu.nav-bar li a {color:#888; padding:6px 10px;  -webkit-transition: 0.3s ease;-moz-transition: 0.5s ease;-o-transition: 0.5s ease; transition: 0.5s ease;}
ul.menu.nav-bar li a:hover {color:#fff; text-shadow:0px 0px 10px rgba(255,255,255,1); text-decoration:none;}
ul.menu.nav-bar li.active a{color:#ccc; border:1px solid #111;box-shadow:inset -1px -1px 1px rgba(255,255,255,.05); border-radius:5px; border-right:1px solid #000; border-bottom:1px solid #000;}


/* Sub Menu Styling*/
ul.menu li.parent:hover ul, ul.menu li.over ul {background-color:#000; background-color:rgba(0,0,0,.85); border:1px solid #000; padding:10px 10px 0 10px; width:10em; box-shadow:inset 1px 1px 1px rgba(255,255,255,.1); border-radius:5px;}
ul.menu li.parent:hover ul li, ul.menu li.over ul li {width:100%; display:block; border-bottom:1px solid #333; padding:0 0 5px 0;}
ul.menu li.parent ul li:hover ul, ul.menu li ul li.over ul, ul.menu li.parent ul li ul li:hover ul, ul.menu li ul li ul li.over ul, ul.menu li.parent ul li ul li ul li:hover ul, ul.menu li ul li ul li ul li.over ul {margin-left:9em;}

Ivan Zhekov
Telerik team
 answered on 15 Aug 2012
1 answer
132 views
I have the following structure:
- Main page
-- user control
--- tabstrip
---- tab (pageview)
----- user control
------ grid

The user was concerned that as they moved around the app that the grid would maintain its data. I do build a datasource and save it to state, and then on postback refresh from state in order to respond to the current request.
But if the user clicks on the tabstrip, I clear all state data, then use Response.Redirect to go back to the Main page. This forces Page_Init and all other load and render events which regenerate the grid.

What's weird is that the structure of the grid resets but not the data. I'm clearing filters, resetting sorting, resetting grouping, and yes, the DataSource is null. I am not rebinding in this event, because the grid data source is already null. If I do rebind, the larger cycle is re-initiated, so I'd rather avoid that. I can set a flag that detects a reset and initate the rebind from Page_Init or Page_Load.

I'm just wondering why the grid structure is refreshed but not the data. Do I need to set the RadAjaxManager to trigger/update some component other than the grid?

And if a change to the AjaxManager is required, what would that be given the above structure? Aside from making the nested components aware of parent components through properties, I'm not aware of how I would set the AjaxManager to update based on an event outside of the local scope.

I understand the request could be vague with no further info, and will do what I can to provide relevant info on request.

Thanks!
Andrey
Telerik team
 answered on 15 Aug 2012
1 answer
123 views

I need some assistance as to how can I assign the DataValueField Value using the code below.
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
 
    'Dim UserName As String = Request.QueryString("UserName")
    Dim UserName As String = "Test"
    lbl_UserName.Text = UserName
 
    If Not IsPostBack Then
 
        Dim results As New ArrayList()
 
 
        Dim context As New PrincipalContext(ContextType.Domain, "Fred_NT")
        Dim p As UserPrincipal = UserPrincipal.FindByIdentity(context, IdentityType.SamAccountName, UserName)
 
        Dim groups = p.GetAuthorizationGroups()
 
        For Each group In groups
            results.Add(group.Name)
        Next
 
        rlb_MemberGroups.DataValueField = ????????
        rlb_MemberGroups.DataSource = results
        rlb_MemberGroups.DataBind()
    End If
 
    Label1.Visible = False
 
End Sub

Thanks as always.
Ivana
Telerik team
 answered on 15 Aug 2012
1 answer
175 views
I am using RadAsyncUpload in a form which work fine under HTTP. As soon as I turn SSL on and access page through HTTPS, when I click select button
  •  it doesn't work (open dialog to choose file) on IE 7 and 9, but works fine on firefox.
  • on firefox dialog open and after selecing a file it start uploading file then in give red light with error in firebug (uncaught exception: Error while uploading, HTTP Error code is: 0)
  • if on IE I disabled silverlight Add-on,I can open popup to choose a file, but progress bar keep loading and never complete uploading file or gives error
 
I have tried all below but still same issue
  1.  Telerik.Web.UI.RadAsyncUpload.Modules.Silverlight.isAvailable = function() { return false; };, 
  2. setting EnableFileInputSkinning = false
  3. checking .axd is correctly configured in webconfig.

Also, if i set DisablePlugins="true", the dialog appears but file fails to load correctly and give red light.

Peter Filipov
Telerik team
 answered on 15 Aug 2012
1 answer
199 views
What's the best way to notify the user that they've arrived at the maximum length supported by a particular field?  Will i have to use a key up function and test the length, or is there some alternate method i might use?  It doesn't appear that there is anything built in - is there something i missed?

-RP
Eyup
Telerik team
 answered on 15 Aug 2012
1 answer
94 views
Hi,
Is it possible to disable or hide sorting items of RadGrid header context menu for specific columns? In the other word, sorting config some of columns set to false, and I want to hide this items in header context menu.  
Pavlina
Telerik team
 answered on 15 Aug 2012
1 answer
54 views
I need to get the value of the selected index or row id and pass it to a base page.

Is there someone who has done this?
Eyup
Telerik team
 answered on 15 Aug 2012
3 answers
63 views
Is there a way to show the month view, but instead of having the first line be the first line of the month, set a different week to be the first week in tihe month view?

For example, if the user selected the date Sept 22nd (or if we auto set it by defaulting to the current date), then the week of Sept 19th would be the first week in the month view, and it would show the next 5 weeks in the month view (spanning into October).

Is this possible?
Ivana
Telerik team
 answered on 15 Aug 2012
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?