473,661 Members | 2,506 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error Rendering Control

AG
Using VS2005.

When I add a server control to a page in design view, it displays the
following;
Error Rendering Control = <control name>
An unhandled exception has occurred.
'HelpVerb' could not be initialized. Details: 'False' could not be set on
property 'Checked'.

I have searched the web an only found one similar post where it was stated
that the problem went away when the styleSheetTheme was removed from the
page.

I had applied a styleSheetTheme in the web.config file and found also that
removing it, solved the problem.

Is there any other way to solve this problem?
Themes was supposed to be one of the great new features in 2.0.
--

AG
Email: discuss at adhdata dot com


Sep 16 '06 #1
4 9522
Any server control or specific server controls?

WIth the error message, you might try explicitly setting the attributes that
are causing problems. The tags should be highlighted with red squigleys. If
that does not work, I would look closely at the tutorials for themes and
ensure you are setting them up the same way.

I apologize that I have not worked with themes much, so I cannot give you a
silver bullet. I have, however, found that most .NET 2.0 bugs are in the
"new" features and are primarily due to having to set things up precisely as
shown in examples. The whole Role/Profile/Membership feature set causes a
lot of pain when one thing is set out of order. In other words, I feel your
pain.

Once you get this up and running, you should determine which of the
differences cause the blow up and blog about it. It is a great way to spread
knowledge.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"AG" <NO**********@n ewsgroups.nospa mwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Using VS2005.

When I add a server control to a page in design view, it displays the
following;
Error Rendering Control = <control name>
An unhandled exception has occurred.
'HelpVerb' could not be initialized. Details: 'False' could not be set on
property 'Checked'.

I have searched the web an only found one similar post where it was stated
that the problem went away when the styleSheetTheme was removed from the
page.

I had applied a styleSheetTheme in the web.config file and found also that
removing it, solved the problem.

Is there any other way to solve this problem?
Themes was supposed to be one of the great new features in 2.0.
--

AG
Email: discuss at adhdata dot com


Sep 16 '06 #2
AG
Thanks for the response Gregory.

It is most controls. Placeholder is one of the few that has no error.
In source view, there is no indication of any error, only in design view.
The project actually runs ok, it is just that in design view all the
affected controls appear as gray rectangles with the error message.

I used a theme from a demo project that came with a book.
The demo set the theme in the web.config and that gives no error.
Even in the demo project, as soon as I change it from a 'theme' to
'styleSheetThem e' and reload the page, the errors appear.
Seems to me like a bug in VS.

--

AG
Email: discuss at adhdata dot com

"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamMwrote in
message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Any server control or specific server controls?

WIth the error message, you might try explicitly setting the attributes
that are causing problems. The tags should be highlighted with red
squigleys. If that does not work, I would look closely at the tutorials
for themes and ensure you are setting them up the same way.

I apologize that I have not worked with themes much, so I cannot give you
a silver bullet. I have, however, found that most .NET 2.0 bugs are in the
"new" features and are primarily due to having to set things up precisely
as shown in examples. The whole Role/Profile/Membership feature set causes
a lot of pain when one thing is set out of order. In other words, I feel
your pain.

Once you get this up and running, you should determine which of the
differences cause the blow up and blog about it. It is a great way to
spread knowledge.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"AG" <NO**********@n ewsgroups.nospa mwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>Using VS2005.

When I add a server control to a page in design view, it displays the
following;
Error Rendering Control = <control name>
An unhandled exception has occurred.
'HelpVerb' could not be initialized. Details: 'False' could not be set on
property 'Checked'.

I have searched the web an only found one similar post where it was
stated that the problem went away when the styleSheetTheme was removed
from the page.

I had applied a styleSheetTheme in the web.config file and found also
that removing it, solved the problem.

Is there any other way to solve this problem?
Themes was supposed to be one of the great new features in 2.0.
--

AG
Email: discuss at adhdata dot com



Sep 16 '06 #3
Hi AG,

Using the theme from
http://www.binaryintellect.net/artic...icle.aspx?id=4,
styleSheetTheme works on my VS2005 at design time. If that works on your
system too, I think this might be related to some specific configuration in
your project. Is it possible for you to create a reproducible project and
post it here or send it to me? With a reproducible project, I might find
the root cause or confirm this is a bug in VS2005 IDE. Thank you for your
effort.

Sincerely,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 18 '06 #4
AG
Thanks Walter.
The problem was in the skin file.
As I mentioned, I got the themes from a demo project via a download for an
ASP.NET 2.0 upgrade book.
It contained a section for a WebPartZone with elements for various verbs
(HelpVerb, CloseVerb, etc.) with a 'checked' property for each.
After tracking it down to that, I removed all the 'checked' properties and
the controls now render properly in design view.

--

AG
Email: discuss at adhdata dot com

"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:tU******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi AG,

Using the theme from
http://www.binaryintellect.net/artic...icle.aspx?id=4,
styleSheetTheme works on my VS2005 at design time. If that works on your
system too, I think this might be related to some specific configuration
in
your project. Is it possible for you to create a reproducible project and
post it here or send it to me? With a reproducible project, I might find
the root cause or confirm this is a bug in VS2005 IDE. Thank you for your
effort.

Sincerely,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your
reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no
rights.

Sep 18 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3024
by: David Whitney | last post by:
All: I have a control that renders a table. As the table is rendered, each row in the table is constructed by creating a run-time (dynamic) object that is derived from an HtmlTableRow. The row has three HtmlTableCell objects, and each cell contains a single control added to the HtmlTableCell's Controls collection. The basic table renders correctly, but the controls within the HtmlTableCell objects do not; the cells are just empty. (Just...
0
1368
by: Sanjay Pais | last post by:
I have created a custom control that inherits from the textbox control and adds a property to it. When I drop it on a page it renders just fine. However, When I drop it into a web user control (ascx) and drop this user control on my page I get the error "Error Rendering Control" - AEPLabel1
5
2629
by: Dave A | last post by:
I am writing an ASP.NET tool that will allow the client to create their own online froms. ie the client can add tect boxes, text, drop downs,etc with absolutely no technical skill what so ever. The form can then be deployed to their intranet. The form designer is somewhat WYSIWYG but it contains a heap of 'edit', 'delete' and reordering buttons that are not seen when the form is acutally being used. I would love to have a preview...
7
634
by: ddd | last post by:
Hi, I am having problems with using the DrawToDC of the MSHTML.iHTMLElementRender in a VB.net application. For some reason I am getting a "catastrophic error". I am basing the code on c# examples, and I am not sure what exactly I am doing wrong. From the C# posts it seems that the drawtodc has a bug and you need to redifine it, so i followed their advice and specified an interface as below:
1
1862
by: Jarod | last post by:
Hey When I put my control into DetailsView in a template I see it and it seems as working ok. After compile it works on the page. But in normal view in designer I don't see my detailsView instead of it I see "There was error rendering the control. Object not set to an instance of object". My control is derived from linkButton and I just needed to add a few properties but rendering stays the same. For real I just override click event and...
5
2331
by: paul.hester | last post by:
Hi all, I have a custom control with an overridden Render method. Inside this method I'm rendering each control in its collection using their RenderControl method. However, I'm running into a problem in this scenario: <myprefix:mycontrol runat="server"> <%= SomeVariable %> </myprefix:mycontrol>
2
4233
by: Benton | last post by:
Hi there, I'm creating a custom server control, inheriting from TextBox. It has this AsDateTime property that returns the textbox contents converted to the nullable DateTime data type, as follows: public class TextBoxWeb : System.Web.UI.WebControls.TextBox {
2
5202
by: Chris | last post by:
I have created a custom composite control, which is a date picker. It works fine but in the design view I get am "Error creating control" 'caltext' could not be set on property 'btnCssClass' (caltext is the string I am assigning for the cssclass of a button on the control). I don't need it to display anything in design view, a blank grey box would be fine. It's just this error sometimes stop the whole page from rendering in design view. ...
0
1011
by: josh | last post by:
Hi, I've created a custom control that inherits form BaseValidator. It is in a class named: MaxChars. All the code run well but when I switch in Visual Studio from source in design view I have an error: error in creation (rendering) of control: Tag server my:MaxChars
0
8343
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8856
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6185
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.