Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
176 views
Hi,

I'm testing RadUpload with MemoryOptymization and it works great. Thanks for it. I have custom flash component that I'm using to upload multiple files (adding many input fields as telerik do is not the most comfortable option) and I want to upload files by using memory optymization technique. Is any way to do it? I did some simple tests and all fails (upload context was null).

Regards
Erjan Gavalji
Telerik team
 answered on 25 Jul 2008
5 answers
136 views
Hi all,

I was wondering, is it possible to have one modalOverlay for RadWindow and different one for RadToolTip?

I would like to achieve something like this:

.TelerikModalOverlay for RadWindow { 
... some stuff
}

.TelerikModalOverlay for RadToolTip{ 
    ... different stuff
}

Thanks for any help
Slavo
Georgi Tunev
Telerik team
 answered on 25 Jul 2008
1 answer
127 views
Hi,
I saw this phrase on my client.net :

Purchase until October 1st to get free licenses of RadControls for Silverlight and RadControls for WPF!

What is the rule for old customers who renew their licences ?
we'll have also free licences of RadControls for Silverlight and RadControls for WPF ?

Thanks

Eric
Fani
Telerik team
 answered on 25 Jul 2008
1 answer
94 views
Hi, guys.
I've met the next problem:
in .aspx file for RadEditor control property "ToolbarMode" is setted as ToolbarMode="ShowOnFocus".

In FullScreen mode I want to set toolbar mode to be shown all the time (like ToolbarMode="Default").

I'm using the OnClientCommandExecuted="onClientCommandExecuted" handler:
function onClientCommandExecuted(editor, args) 
{ 
    if (args.get_commandName() == "ToggleScreenMode") 
    { 
        if (editor.isFullScreen()) 
        { 
            setTimeout(function () { editor.set_toolbarMode(undefined); }, 500); 
            // also was tried: 
            // editor.set_toolbarMode(undefined); 
            // editor.set_toolbarMode(null); 
            // editor.set_toolbarMode(0); 
            // editor.set_toolbarMode(-1); 
        } 
        else 
        { 
            setTimeout(function () { editor.set_toolbarMode(8); }, 500); 
        } 
    } 
} 
But unfortunately it does not help.

Was something linked with that article: article done?



George
Telerik team
 answered on 25 Jul 2008
1 answer
101 views
I have a RadTreeView on RadSlidingPane and RadTreeViewContextMenu does not show whenever I right-click a node (if RadSlidingPane is not docked, but it shows if docked).
Erjan Gavalji
Telerik team
 answered on 25 Jul 2008
3 answers
164 views
I'm attempting to convert my pages using the ASP.Net controls to the ASP.Net Ajax controls. I have a page with a Grid and Menu, and got those converted fine, but I'm receiving errors when I try to convert the RadAjaxManager.

If I drop this code onto the page:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
       
<AjaxSettings>
           
<telerik:AjaxSetting AjaxControlID="RadGrid1">
               
<UpdatedControls>
                   
<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1"/>
               
</UpdatedControls>
           
</telerik:AjaxSetting>
       
</AjaxSettings>
   
</telerik:RadAjaxManager>

Then I get the "The Controls collection cannot be modified because the control contains code blocks" error. I'm using a master page, and there's no code inside the <head></head> tag, just a title and a link for a .css file. As soon as I remove the RadAjaxManager control, it works fine (just without ajax...).

Suggestions?

Bill
Sebastian
Telerik team
 answered on 25 Jul 2008
1 answer
150 views
I'm wondering why in general does the editor write different code for common html tags based on the browser I'm using. For instance, if I'm using a PC with FF and I bold something, the editor will write <strong> tag which is perfect. However, when using the same editor with a MAC and Safari bold will insert <span style="font-weight: bold; ">. I'm pretty sure Safari support <strong> so why would you ever go to the trouble of writing 2 coding engines for 2 browsers. Below are more examples of the nuttiness.

Line Break
PC/IE7/FF - <br />
MAC/SAFARI - <div><br></div>

Choose Normal
PC/IE7/FF - <p></p> (Which I think should just be plain text not <p>
MAC/SAFARI - <span><p></p></span>

Bold
PC/IE7/FF - <strong>
MAC/SAFARI - <span style="font-weight: bold; ">

Italic
PC/IE7/FF - <strong>
MAC/SAFARI - <span style="font-weight: italic; ">
Rumen
Telerik team
 answered on 25 Jul 2008
5 answers
259 views
I load my combox from a database table, but one of the fields I have in there is a image link and I would like ot be able to display the image in the dropdown, and also after the dropdown has finished populating I want to add an item for "Choose Font".

I see from the example how it is done in the aspx page, but I would like ot be able to do this from code behind, any help would be appreciated. Thanks.
Rosi
Telerik team
 answered on 25 Jul 2008
4 answers
137 views
Hi,

when we integrate RadEditor on WCM-Pages the search server will bring us this error message when crawling Pages: "Content for this URL is excluded by the server because a no-index attribute."

Deployment was error free. Editing content with RadEd works great.

As soon as we take the RadEd off the page layout, search will crawl the page with no comment. Searching content created with the editor is possible now. However taking RadEd away avoids content being displayed or edited.

Info: We're running a MOSS farm with 2 Front End Server, 1 SQL Database Cluster, 1 Application Server for Search Services.

Regards,

Robert Tullius
Robert
Top achievements
Rank 1
 answered on 25 Jul 2008
4 answers
402 views

Hi all
i have class that return datatable when i bind to treeview i got this error
This constraint cannot be enabled as not all values have corresponding parent values

and this is stack

ArgumentException: This constraint cannot be enabled as not all values have corresponding parent values.]
   System.Data.ConstraintCollection.Add(Constraint constraint, Boolean addUniqueWhenAddingForeign) +502
   System.Data.DataSetRelationCollection.AddCore(DataRelation relation) +1069
   System.Data.DataRelationCollection.Add(DataRelation relation) +138
   System.Data.DataRelationCollection.Add(DataColumn parentColumn, DataColumn childColumn) +43
   Telerik.Web.UI.ControlDataBinder.BindToDataTable(DataTable data, String dataFieldID, String dataFieldParentID) +150
   Telerik.Web.UI.HierarchicalControlItemContainer.PerformDataBinding(IEnumerable data) +447
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +111
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +29
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
   BNIS.FundMarket.Web.GL.ChartOfAccount.Page_Load(Object sender, EventArgs e) in C:\Projects\FundMarket\BNIS.FundMarket.Web\GL\ChartOfAccount.aspx.cs:31
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


and this is cod from page load

DataTable

dt = BL.GL.mm();

tvChartOfAccount.DataSource = dt;

tvChartOfAccount.DataFieldID = dt.Columns[

"AccountNo"].ColumnName;

tvChartOfAccount.DataFieldParentID = dt.Columns[

"ParentAccountNo"].ColumnName;

tvChartOfAccount.DataTextField = dt.Columns[

"ENAccountName"].ColumnName;

tvChartOfAccount.DataBind();



what is that error ?
Veselin Vasilev
Telerik team
 answered on 25 Jul 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?