| public class FileExplorer : Telerik.Web.UI.RadFileExplorer |
| { |
| /// <summary> |
| /// Raises the <see cref="E:Init"/> event. |
| /// </summary> |
| /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> |
| protected override void OnInit(EventArgs e) |
| { |
| InitializeControls(); |
| this.GridContextMenu.ItemClick += new RadMenuEventHandler(GridContextMenu_ItemClick); |
| base.OnInit(e); |
| } |
| /// <summary> |
| /// Initializes the controls. |
| /// </summary> |
| private void InitializeControls() |
| { |
| this.Configuration.ContentProviderTypeName = typeof(Sunnova.Web.UI.Controls.SunnovaFileStreamContentProvider).AssemblyQualifiedName; |
| this.Configuration.ViewPaths = new string[] { "/app_files" }; |
| this.Configuration.UploadPaths = new string[] { "/app_files" }; |
| this.Configuration.MaxUploadFileSize = 2000000; |
| RadMenuItem rmi = new RadMenuItem("Unzip"); |
| this.GridContextMenu.Items.Add(rmi); |
| foreach (RadMenuItem item in this.GridContextMenu.Items) |
| if (item.ID != rmi.ID) |
| item.PostBack = false; |
| } |
| void GridContextMenu_ItemClick(object sender, RadMenuEventArgs e) |
| { |
| "Here must the item be requested." |
| } |
| } |

We have Asp.net Ajax 2009 Q1 SP1 on our server and developer machine.
The width property is set to 100% and the page can be dynamically resized by the user. Initial window size is 100% width and height. The PanelBar width is more than 200px. On the child item, towards the right side of the panel bar (before the end of it) white area appears without styling. When the widow is resized so the PanelBar width reduces, this white area shrinks as well and at some point disappears. On expand of the window the white space reappears (dynamically). I have found a thread with (probably) similar issue but I am keep getting “Server Error” (http://www.telerik.com/community/forums/aspnet-ajax/panelbar/radpane-width-problem.aspx).
Is there a way to disable white spacing appearance?
Thanks Dejan
| <asp:ScriptManager ID="popupScriptmanager" runat="server"></asp:ScriptManager> |
| <telerik:RadPanelBar |
| runat="server" |
| ID="ViewGroupsPanelBar" |
| Width="100%" |
| AppendDataBoundItems="True"> |
| </telerik:RadPanelBar> |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| int xCount = 1; |
| while (xCount < 10) |
| { |
| RadPanelItem rpi = new RadPanelItem(); |
| ViewGroupsPanelBar.Items.Add(rpi); |
| rpi.Text = "Bar " + xCount.ToString(); |
| rpi.PostBack = false; |
| if (xCount == 1) |
| rpi.Expanded = true; |
| int iCount = 1; |
| while (iCount < 5) |
| { |
| RadPanelItem rpiChild = new RadPanelItem(); |
| rpiChild.Text = "Item " + xCount.ToString() + "; " + iCount.ToString(); |
| rpiChild.Value = "Item " + xCount.ToString() + "; " + iCount.ToString(); |
| rpiChild.Width = Unit.Percentage(100); |
| rpi.Items.Add(rpiChild); |
| iCount++; |
| } |
| xCount++; |
| } |
| } |
We have Asp.net ajax 2009 Q1 SP1 on our server and developer machine.
On client click of the button that has NavigateURL property set to (e.g.) rtb.NavigateUrl = "javascript:alert('Hello World');"; it will execute it twice. In your examples you have trial dll that is form February 2008 and our dll is release version from January 2009. Is there a solution / patch for this behaviour? Thanks. Dejan