| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head id="Head1" runat="server"> |
| <body onload="ConfigureDialog()" > <form runat="server" id="mainForm" method="post"> |
| <script type="text/javascript"> |
| function ConfigureDialog() { |
| //Get a reference to the radWindow wrapper |
| var oWindow = GetRadWindow(); |
| var oArg = oWindow.Argument; |
| //Use the argument |
| var upload = document.getElementById("RadUpload1"); |
| if (upload != null) |
| upload.TargetFolder = oArg.DestDir; |
| } |
| </script> |
| <asp:ScriptManager ID="ScriptManager1" runat="server" /> |
| <rad:RadProgressManager ID="Radprogressmanager1" runat="server" /> |
| <table style="position: relative;"> |
| <tr> |
| <td id="controlContainer"> |
| <rad:RadUpload ID="RadUpload1" ControlObjectsVisibility="None" runat="server" OnValidatingFile="OnClientFileSelected" OnFileExists="OnFileExists" Skin="Vista" MaxFileInputsCount="5" TargetFolder="\\test" OverwriteExistingFiles="false" Width="285px" /> |
| </td> |
| </tr> |
| </table> |
| </form> |
| </body> |
| </html> |
I can see that the oArg.DestDir contains the value needed when the ConfigureDialog is called.
How can i solve this?
Thanks!
I have been trying to track down a problem that I've been having with Internet Explorer not scrolling to the selected item in a multi-column RadComboBox.
Here is the control declaration I am using inside a Web User Control that is bound to a custom :
| <telerik:RadComboBox |
| ID="CurrencyEdit" |
| runat="server" |
| SkinID="CustomBorderedComboBox" |
| AllowCustomText="false" |
| CssClass="currencyControl" |
| HighlightTemplatedItems="true" |
| MarkFirstMatch="true" |
| OnSelectedIndexChanged="CurrencyEdit_SelectedIndexChanged"> |
| <HeaderTemplate> |
| <ul> |
| <li class="col1">ISO Code</li> |
| <li class="col2">Name</li> |
| </ul> |
| </HeaderTemplate> |
| <ItemTemplate> |
| <ul> |
| <li class="col1"><%# DataBinder.Eval( Container, "Text" )%></li> |
| <li class="col2"><%# DataBinder.Eval( Container, "Attributes['Name']" )%></li> |
| </ul> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
I am binding this directly in codebehind to a custom object with this:
| var binder = new CurrencyBinder(); |
| var currencies = binder.Get(); |
| currencies.Sort("ISOCode", System.ComponentModel.ListSortDirection.Ascending); |
| var totalCurrencies = currencies.Count; |
| for (int i = 0; i < totalCurrencies; i++) |
| { |
| var currency = currencies[i]; |
| var item = new RadComboBoxItem(currency.ISOCode, currency.ISOCode); |
| item.Attributes.Add("Name", currency.Name); |
| this.CurrencyEdit.Items.Add(item); |
| } |
| if (this.CurrencyEdit.Items.Count > 0) |
| { |
| this.CurrencyEdit.DataBind(); |
| } |
Here is the result for each browser. Note that IE does select the correct item, it just doesn't scroll it to the top like FireFox is doing.
FireFox Scrolling Properly:

Internet Explorer Not Scrolling Properly:

Any advice on how to fix this?
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
|
<radE:RadHtmlField id="Content" FieldName="LGR_x0020_Page_x0020_Content" runat="server" displaywidth="480px" ToolsFile="~/_controltemplates/DCCCustomControls/TelerikConfig/LGR2_ToolsFile.xml" ConfigFile="~/_controltemplates/DCCCustomControls/TelerikConfig/LGR2_ConfigFile.xml"></radE:RadHtmlField>
When the page is viewed in diaplay mode it is fine, however when the site editor goes into edit the page the content field is not displayed and the error given is:
Failed to render "LGR Page Content" column because of an error in the "Publishing HTML" field type control. See details in log. Exception message: Exception has been thrown by the target of an invocation..
The content fields worked correctly in edit mode before the update. I've also noticed that on a page where there is more than one <radE:RadHtmlField..... > control that the second editor displays correctly when in edit mode, but the first does not.
Do you have any suggestions as to how we can solve this problem?
Thanks
Peter
| <telerik:RadWindowManager ID="ucRadWindowManager" runat="server" RestrictionZoneID="divRadZone" |
| KeepInScreenBounds="true"> |
| <Windows> |
| <telerik:RadWindow ID="RadWindow1" runat="server"> |
| </telerik:RadWindow> |
| </Windows> |
| </telerik:RadWindowManager> |
| function GetRadWindow() { |
| var oWindow = null; |
| oWindow = window.frameElement.radWindow; |
| return oWindow; |
| } |
| GetRadWindow().close(); |
| <div id="divRadZone" style="position: absolute; left: 0px; top: 40px; width: 800px; height:400px; z-index:0;"> |
Hello,
I have implemented a 2 level hierarchy using RadGrid with only the 2nd level being editable.
Everything works great unless after the update I force the Parent grid to rebind. If I do this, the event which normally fires to reload the expanded detail grid (2nd level) does not fire causing a datakey cannot be found message to appear. Not sure if anyone else has run into this issue and if it's documented anywhere. I thought it would be useful information for anyone who may experience this in the future.
If you ask why I am attempting to rebind the Parent grid it is because the Master is an aggregate of data in the detail records. So, I wanted to rebind in order to show updates values in the Master. For now, I am disabling my call to rebind the Master and letting the user simply collapse the current detail or expand another in order for the grid to rebind itself.
Regards,
Jake