Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
124 views
I have file explorer control
I did the manual delete event in the ItemCommand event

 Protected Sub FileExplorer1_ItemCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadFileExplorerEventArgs) Handles FileExplorer1.ItemCommand
 
Select Case e.Command
                Case "DeleteDirectory"
                    Dim dirInfo As New DirectoryInfo(sCurrentFolder)
                        sCurrentFolder = e.Path.Substring(InStr(e.Path, sBaseDir) + Len(sBaseDir)) + "\"
                        FileSystemUtils.DeleteFolder(SiteId, dirInfo, sCurrentFolder)
                        ScriptManager.RegisterStartupScript(Me.Page, Page.[GetType](), "RefreshAfterAddFolder", "setTimeout ('RefreshAfterAddFolder();',3500);", True)


in the aspx I put that JS function

   function RefreshAfterAddFolder() {
                var oExplorer = $find('FileExplorer1');
                oExplorer.refresh();
}



Every thing was OK in the local but after publishing the site I have this error
Callback loading error
please see the attachment photo

I removed the line  oExplorer.refresh(); from the JS function it works but sure not refreshing
What to do???

Fiko
Telerik team
 answered on 09 Aug 2010
3 answers
94 views
Does anybody know what happen with the set_stylezindez method?
Georgi Tunev
Telerik team
 answered on 09 Aug 2010
1 answer
97 views
Hi,

Please answer the question against the below link(First grid)
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/commanditem/defaultcs.aspx
Please suggest way to approach the problem.

I have a similar grid which shows the resources informations,when I select the resource
and click on the delete selected button,It should show the pop up,Pop up will contain one
calender control and a submit button.

once we select some date and click on Submit in pop up,the grid should delete the resource and refresh.

Please suggest how can i do that.

-Ambuj
Radoslav
Telerik team
 answered on 09 Aug 2010
1 answer
163 views
Hello,

I have a RadSplitter with 2 RadPanes. In one of the panes there is a RadListBox as shown below.
RadPane
 -> RadAjaxPanel
     -> PlaceHolder
         -> Label 
         -> Label (about 20 of them)
         -> RadListBox

When i view this page in Firefox or in IE8 Compatibility mode off, when is scroll (the panel has a scrollbar) everything is working fine.
However when i view the page in IE7 or IE8 Compatibility mode ON, when i scroll the labels move up and down with my scrolling as it's supposed to but the RadListbox isn't scrolling with them.

I've found this KB-Item and this Forum-Item and i implemented the solution (setting Position:Relative of the RadPane via the CSS-class) as described in the KB-Item but to no avail, the RadListBox isn't scrolling along with the rest.

Is there something else i need to set as well?

I'm using version 2010.1.519.35 of Telerik.Web.UI
Genady Sergeev
Telerik team
 answered on 09 Aug 2010
0 answers
64 views

I installed Telerik.Web.UI_2010_2_713.

When I drag and drop any component no xml code generated on my .aspx page.

What could be the problem ? Can anyoe help me :(.

System parameters:

Visual Studio 2010 ultimate edition.

Telerik Web UI 2010.2.713

Project: Web site

Sword Holder
Top achievements
Rank 1
 asked on 09 Aug 2010
1 answer
81 views
Hello,

I'm trying to create a Grid containing a HiddenField (ID), literal (name) and a textbox which is used to show (color) by setting its backcolor. I chose an item template and made a row as I want it, but there is a problem, couse headers are still the same like for normal colums. I need to say that I'm not using any provided database but binding at NeedDataSource from Linq data context. 

Looking forward quick answer,

Best regards,
Maciej
Radoslav
Telerik team
 answered on 09 Aug 2010
1 answer
127 views
Hi,
I am getting the following wxception when instalilng Radcompression:
AssemblyVersion: 5.3.1
PortalID: 0
PortalName: Portal name
UserID: -1
UserName:
ActiveTabID: 40
ActiveTabName: Home
RawURL: /login.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.domain.com/login.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: fe5e7846-691a-447a-bacd-dff8ecef4d25
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.Compression.DeflateStream..ctor
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.ArgumentException: The base stream is not writeable. Parameter name: streamat System.IO.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen, Boolean usingGZip)at System.IO.Compression.GZipStream..ctor(Stream stream, CompressionMode mode)at DotNetNuke.HttpModules.Compression.GZipFilter..ctor(Stream baseStream)at DotNetNuke.HttpModules.Compression.CompressionModule.GetFilterForScheme(String[] schemes, Stream output, Settings prefs)at DotNetNuke.HttpModules.Compression.CompressionModule.CompressContent(Object sender, EventArgs e)at System.Web.HttpApplication.SendResponseExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)--- End of inner exception stack trace ---
Source:

Any ideas?
Thanks
Nikolay Rusev
Telerik team
 answered on 09 Aug 2010
3 answers
113 views
I was wondering how I would go about adding shadows to an existing skin... currently my site is using the "Telerik" Skin, but in many instances, forms, and various boxes I would like to add a drop shadow for added depth on the page, as most of what is laid out on my dashboard control page for my aspx application is fairly plain jane...

I currently understand from my research that EnableShadows="True" is now supported, but was only recently released just a few months ago... unfortunately, the major constraint that I currently have to work around is the fact that my server is running off of .net 2.0, and I do not foresee an upgrade anytime in the near future...

Would it be best to edit the sprites for universal drop shadow effects?  I see this as my only solution as of now, and if the file directories could be pointed to me if this method is best, it would be very much appreciated...
Alex Gyoshev
Telerik team
 answered on 09 Aug 2010
1 answer
74 views
The code specified at Put all items in edit mode without additional rebind.

Does not work if the paging is enabled.

Any work arounds please.

Thanks
Imran
Princy
Top achievements
Rank 2
 answered on 09 Aug 2010
4 answers
94 views
Hi.
I have a scenario similar to your demo "master-detail grids" (http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx). After appropriate selections I go to other page, then do something there and return to "master-detail grids" page. Normally everything on "master-detail grids" page returns to initial state after every entry, but I would like to store all states of grids (e.g. If I selected second row in first grid and other grids displayed some positions, I would like them to keep these values when I return the page). Is it possible to do it? I have also combo boxes on this page, also dependent on grid. Is it possible to store all states, to avoid additional selections on each page entry?
Greetings:
Pawel
Radoslav
Telerik team
 answered on 09 Aug 2010
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?