We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Non-renderable HTML tags causing RenderRoot crash

Thread ID:

Created:

Updated:

Platform:

Replies:

60278 May 1,2007 06:20 PM May 4,2007 08:05 AM Windows Forms 4
loading
Tags: HTMLUIControl
Dominic Messenger
Asked On May 1, 2007 06:20 PM

I am experimenting with HTMLUIControl for a specific configuration application.
Each configurable variable is an tag with custom attributes. e.g.

[Age]

Using LinkClicked we can raise a dialog and all is well.
The problem comes when we use "choices". A choice variable looks like this:

[Country]

This renders correctly (the choice tags are not rendered) and we can raise a dialog with the values. However, when we set the InnerHTML with a new value (eg England
System.ArgumentNullException was unhandled
Message="Value cannot be null.\r\nParameter name: RenderRoot"
Source="Syncfusion.HTMLUI.Windows"
ParamName="RenderRoot"

I have attached our sample app. Simply run, open Sample1.htm, then click on "Employed" in Section 1.4, click OK. Do this twice - the second time it crashes.

Is this because the elements are not rendered?

Using VS.NET 2005 on Vista. Tested on XP SP1 also.

TestHTMLControl.zip

Ramu [Syncfusion]
Replied On May 2, 2007 11:28 AM

Hi Dominic,

I am working on this issue and will update you in 12 hours.

Thanks,
Ramu

Dominic Messenger
Replied On May 2, 2007 12:05 PM

Just as an update, I tried using
and instead of as child elements with the same results, so it isn't necessarily related to the being a non-renderable tag.

It may be related to tags having child elements - I don't appear to have the same problem with other element types when setting HTML using InnerHTML.

Ramu [Syncfusion]
Replied On May 3, 2007 12:38 PM

Hi Dominic,

I was able to see the issue. I need 1 more day to investigate on this issue.

I apologize for the inconvenience caused.

Thanks,
Ramu

Ramu [Syncfusion]
Replied On May 4, 2007 08:05 AM

Hi Dominic,

Thank you for uploading the application and the information provided by you.

The issue is generated because when using anchor tag, the herf attribute will lead to some other html page. During the click operation it looks for the htm page, Since page not available so the error is generated.

I am developed an application which resembles your query. I have used span tag instead of anchor tag.

I have used some formatting styles to get the same effect as the application you have attached.

I have attached some details about the changes regarding the project.

http://www.syncfusion.com/Support/user/uploads/steps_d3fc4dc8.zip


I am developed for 1.4 section alone. Please use bubbling events to handle the events effectively

Please download the sample from the following location and let me know if you have any queries.

Regards,
Ramu

http://websamples.syncfusion.com/samples/HTMLUI/60278/main.htm

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;