or
var
delBtn - get the button reference...
//find the decorated container and set the skin.
delBtn.parentNode.className =
'RadForm_WebBlue.rfdButton';
...
Any advice?
Thanks.
| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <div style="float: left"> |
| <h1> |
| LEFT</h1> |
| </div> |
| <div> |
| <h1> |
| MAIN</h1> |
| <telerik:RadTabStrip runat="server" ID="rtsNews" Skin="Simple" Orientation="HorizontalTop" |
| SelectedIndex="0" MultiPageID="rmpNews"> |
| <Tabs> |
| <telerik:RadTab Text="Corporate"> |
| </telerik:RadTab> |
| <telerik:RadTab Text="Products"> |
| </telerik:RadTab> |
| <telerik:RadTab Text="Services"> |
| </telerik:RadTab> |
| </Tabs> |
| </telerik:RadTabStrip> |
| <telerik:RadMultiPage runat="server" ID="rmpNews" SelectedIndex="0" Height="218px" |
| Width="396px"> |
| <telerik:RadPageView runat="server" ID="RadPageView1"> |
| <ul> |
| <li>Corporate Info</li> |
| <li>Press Center</li> |
| <li>Customers</li> |
| <li>Awards</li> |
| </ul> |
| </telerik:RadPageView> |
| <telerik:RadPageView runat="server" ID="RadPageView2"> |
| <ul> |
| <li>RadControls for ASP.NET</li> |
| <li>RadControls for WinForms</li> |
| <li>Telerik Reporting</li> |
| <li>Sitefinity CMS</li> |
| </ul> |
| </telerik:RadPageView> |
| <telerik:RadPageView runat="server" ID="RadPageView3"> |
| <ul> |
| <li>Enterprise Services</li> |
| <li>Enterprise Account Manager</li> |
| <li>On-site Training</li> |
| <li>GoToMeeting Sessions</li> |
| </ul> |
| </telerik:RadPageView> |
| </telerik:RadMultiPage> |
| </div> |
| </div> |
| </form> |
| Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated |
| Dim dataItem As GridDataItem = Nothing |
| Dim data As Data.DataRowView = Nothing |
| Try |
| If TypeOf e.Item Is GridDataItem Then |
| dataItem = CType(e.Item, GridDataItem) |
| data = CType(dataItem.DataItem, Data.DataRowView) |
| If CType(data.Row.Item("InvoiceStatusID"), String) = "O" Then |
| CType(data.Row.Item("InvoiceStatusID"), TextBox).Text = "Invoice" |
| Else |
| CType(data.Row.Item("InvoiceStatusID"), TextBox).Text = "Closed" |
| End If |
| End If |
| Catch ex As Exception |
| Finally |
| dataItem = Nothing |
| data = Nothing |
| End Try |
| End Sub |
I am using RadProgress Area with FileUpload Control. When I try to upload large files it takes very long time to display the progress area and in the browser (FireFox) I can see the "transferring data from <websitename>...." message during that period.
Can anyone help me to fix this issue to get the progress area sooner?
| Private Function CheckPermissions(ByVal virtualPath As String, ByVal permissions As Telerik.Web.UI.Widgets.PathPermissions) As Boolean |
| If String.IsNullOrEmpty(virtualPath) Then |
| Return False |
| End If |
| Dim fPermissions As Telerik.Web.UI.Widgets.PathPermissions |
| Dim path As String = Context.Server.MapPath(virtualPath) |
| Dim PortalSettings As DotNetNuke.Entities.Portals.PortalSettings = DotNetNuke.Entities.Portals.PortalController.GetCurrentPortalSettings() |
| If Directory.Exists(path) Then |
| If (PortalSettings.ActiveTab.ParentId = PortalSettings.SuperTabId) Then |
| path = path.Substring(DotNetNuke.Common.Globals.HostMapPath.Length) |
| Else |
| path = path.Substring(PortalSettings.HomeDirectoryMapPath.Length) |
| End If |
| Dim fixedPath As String = path.Replace("\", "/").TrimEnd(New Char() {"/"c}) & "/" |
| Dim writeRoles As String = FileSystemUtils.GetRoles(fixedPath, PortalSettings.PortalId, "WRITE") |
| If (PortalSecurity.IsInRoles(writeRoles)) Then |
| fPermissions = fPermissions Or Telerik.Web.UI.Widgets.PathPermissions.Upload Or Widgets.PathPermissions.Delete |
| End If |
| Dim readRoles As String = FileSystemUtils.GetRoles(fixedPath, PortalSettings.PortalId, "READ") |
| If (PortalSecurity.IsInRoles(readRoles)) Then |
| fPermissions = fPermissions Or Telerik.Web.UI.Widgets.PathPermissions.Read Or Telerik.Web.UI.Widgets.PathPermissions.Upload |
| End If |
| End If |
| Return (fPermissions And permissions) > 0 |
| End Function |