Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
205 views
Hi Telerik Team,

I have a application where users select templates and do some custom editing on the templates that we then print and ship.

Basically we come to the editing page and pull the templates HTML layout into the RadEditor which is set to design mode.  After the user is done entering some text in they then save the order, on the back end we are simply saving the Radeditor.content with a update statement like:

Update ordertable SET HTMLContent = '" & RadEditor1.Content.Replace("'", "''") & "'"

The save is happening, but it seems that RadEditor is not saving the table width property correctly.  When we pull up the template HTML from our table that holds all our templates we have a table tag with a style="width:300px" but after editing some text in this table and doing our update statement I can see that table tag comes with style="width:0".  Users aren't able to edit any of the underlying HTML only text within the table.  The problem is seen when users are proofing their layout, we are pulling up the HTML that was saved after their edits in a popup for them to approve, but since the table width property is 0 the layout looks awkward and they are not willing to approve it.

I'm fairly new to using the radeditor, so any help in the right direction is appreciated.  Please let me know if any further detail is required.
Rumen
Telerik team
 answered on 22 May 2012
3 answers
73 views
Hi,

When I try to open the monthview with a large amount of resource objects I get the following exception:

[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value]
   System.Web.UI.WebControls.Unit..ctor(Double value, UnitType type) +8824419
   Telerik.Web.UI.Scheduler.Views.SchedulerRenderer.SetTableHeight(Table table, Int32 rowNum, Unit rowHeight, Int32 totalBorderHeight) +65
   Telerik.Web.UI.Scheduler.Views.Month.RendererBase.AddVerticalHeaders(SchedulerTopTable topTable, Int32 totalRowCount, Int32 totalBorderHeight) +722
   Telerik.Web.UI.Scheduler.Views.Month.GroupedByResource.Renderer.CreateVerticalContent(SchedulerTopTable topTable) +287
   Telerik.Web.UI.Scheduler.Views.Month.GroupedByResource.Renderer.GetInnerContent() +181
   Telerik.Web.UI.Scheduler.Views.Month.GroupedByResource.Renderer.GetContent() +79
   Telerik.Web.UI.RadScheduler.CreateContent() +122
   Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +106
   Telerik.Web.UI.RadScheduler.ClearChildControls() +71
   Telerik.Web.UI.RadScheduler.Rebind() +12
   Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack) +2398
   Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument) +62
   Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

With 64 resource objects everything works fine, but when I use 65 resource objects or more I get this error. The problem only occurs in the monthview.

Does anyone know a solution for this problem?

Regards,
Paul
Plamen
Telerik team
 answered on 22 May 2012
6 answers
259 views
Dear Telerik Team

I have a RadGrid with GridTemplateColumn that have a  RadNumericTextBox as an ItemTemplate.

The user has the ability to change the values on the RadNumericTextBox.

On Save button click, I Foreach the RadGrid to save the updated values to Database.

The Question is:
How to check if the value of the RadNumericTextBox is changed or not at server side using C# ?

Thanks 
Noha
Top achievements
Rank 1
 answered on 22 May 2012
1 answer
104 views

I have this requirement wherein I will add permission to a user. The permissions are grouped and displayed in a treeview.

Now once a user selected a specific permission, this permission together with the group node will be transferred to another treeview on the right side. How can I do it using javascript/jquery? Is this supported by your treeview control? Right now I can do this using the selected node change event of the .NET Built In Treeview Control but I can't use it now since I have new requirement wherein

  • Clicking an item will only highlight it. 
  • Double clicking the node will trigger the move function. 
  • I can select multiple nodes and move them to another Treeview by clicking the move button at the center


I need to know if you can support it before I can recommend your product to my superior.


I've attached a sample ui to describe what I'm trying to achieve.





Plamen
Telerik team
 answered on 22 May 2012
4 answers
332 views
Hi,

I'm looking for a solution uploading large files in ASP.NET MVC project. I tried RadAsyncUpload component and really liked it, but this approach requires me to use ASCX syntax which might be not very appropriate. Is there a way to use native MVC component like "Telerik Upload for ASP.NET MVC" which would work for large files?

Thank you much!
Yuriy
Top achievements
Rank 1
 answered on 22 May 2012
1 answer
163 views
To:



When default expand is false, while click edit button all will not expand, how to make the group expand while editing?

Thanks


Shinu
Top achievements
Rank 2
 answered on 22 May 2012
1 answer
168 views
Hi,

I have been trying to use the DaysOfWeekMask property of RecurrencePattern.
I have to map the values from the database to the DaysOfWeekMask property.
suppose if i have selected Pattern frequency as Weekly
> it occurs ever 'Monday and Friday', then i am saving the value in database as 'Monday | Friday'
> it occurs ever 'Monday, Thursday, Friday', then i am saving the value in database as 'Monday | Thursday | Friday'
and many more such cases
but how can i map these values to DaysOfWeekMask,as DaysOfWeekMask accepts only values of type

 

RecurrenceDay and not the string or int

 

 

.
I know that we can assign multiple days using pipeline operator, but it is not feasible to write all the conditions in that case. So, please suggest some efficient and easy way to assign some string or integer based value to DaysOfWeekMask property.

Please revert asap.
Regards

Ivana
Telerik team
 answered on 22 May 2012
1 answer
206 views

I am having a problem with some of the tool dialogs in RadEditor.

I tried installing the latest release but the sale problem is occurring. The problem is with the Flash, MediaManager, LinkManager and TemplateManager dialogs, which all cause a 403 error. The First 2 dialog controls "ImageManager and DocumentManager" work correctly with no errora.
I have traced it down what I believe is the root cause which is the broken dialogs are generating a bad/truncated url that is missing the "Telerik.Web.UI.DialogHandler.aspx?" url portion.

Bad URL:
http://localhost:80/MySite/Providers/HtmlEditorProviders/Telerik/?tabid=184&DialogName=MediaManager..............................

http://localhost:80/MySite/Providers/HtmlEditorProviders/Telerik/?Tabid=184&DialogName=MediaManager&Skin=Vista&Title=Media%20Manager&doid=..........

Good URL:
http://localhost/MySite/Providers/HtmlEditorProviders/Telerik/Telerik.Web.UI.DialogHandler.aspx?tabid=184&DialogName=ImageManager&Skin=Vista&.......

======================

Do you have any idea why only some of the dialogs/tool have the incorrectly formatted URL and how I can resolve it.

Many thanks.

Rumen
Telerik team
 answered on 22 May 2012
1 answer
70 views
Hi,

RAD Editor control not getting focus in IOS tablet (in safari browser).I checked with your online sample. Is this issue or behavior of the editor control. 

Thanks in advance,
SumanSmith
Rumen
Telerik team
 answered on 22 May 2012
1 answer
67 views
If I purchase Radcontrol for ASP .NET AJAX($999) 
Is support for .Net1.1?


Sorry for bad English :(

Thank you.
Peter
Telerik team
 answered on 22 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?