Solved

Control Disabled in design-time

Posted on 2004-04-21
14
263 Views
Last Modified: 2010-04-24
I have a control on a form in design. All the properties are "Disabled", I can see them, however I cannot modify them, nor can I access them from code from within the form. Where is this control sitting at? I have searched the entire project on the name of the control as well as the base name (it's an infragisitics winstatusbar)

This is a dotnet project I have come into late in the game; if any additinional info is required, please ask.

0
Comment
Question by:thefunnydad
  • 5
  • 3
  • 2
  • +4
14 Comments
 
LVL 3

Expert Comment

by:Barkis_
Comment Utility
If the control is disabled, in runtmie , it means just that, it is disabled :-). In other words you cant modify it.
But in design time,  what kind of control are we talking about?
/Barkis
0
 

Author Comment

by:thefunnydad
Comment Utility
It is an infragisitics.win.ultrawinstautsbar.Ultrastatusbar. Essentially, a 3rd party status bar. I understand disabled in rutime; this IS in design, all the properties are disabled, but viewable. A couple of the panels even have values in them, I just cannot modify them.

An image can be seen here; it is the panel control at the bottom of the form: http://www.csofva.com/stuff.html
0
 
LVL 5

Expert Comment

by:chaniewskim
Comment Utility
That's strange. I use Infragistics but didn't have any similiar problems.
Maybe you could try to delete it and recreate (backup you project before, just in case)?
Or maybe it is something with control licensing?
0
 
LVL 4

Expert Comment

by:Jarodtweiss
Comment Utility
If you see a property at design time but that it is disbaled in the Property page, that means the property is read only and so you won't be able to modify it, even at runtime
It is the same when you create your own control with a public readonly property

You should refer to that 3rd party contorl to get further information and see if those aprt are modifyable, maybe using a public method
0
 

Author Comment

by:thefunnydad
Comment Utility
Well, some of the properties are being set somewhere; I'm sure infragisitics didn't ship the control with 3 panels populated. I'm very, very new to dotnet, I'm wondering if the panel is somehow embedded into the form and I have not determined how to access it properly yet.
0
 
LVL 4

Expert Comment

by:Jarodtweiss
Comment Utility
@chaniewskim

I have never used Control licencing but I thought it was allowing to use or not a control. It could explain a raised exception but not in that case. For me, if a property is disabled, so it is readonly (maybe I'm wrong) and I can't imagine how Control Licencing can allow to create either read/write properties or read only
0
 
LVL 5

Expert Comment

by:chaniewskim
Comment Utility
Jarodtweiss
Infragistics use their own licensing scheme, with activation keys etc.
I don't remember what it looks like when for example the trial period ends. But it may be the case here.

thefunnydad, try to right-click the control and there is About or sth like that. You can see there if you have valid license for control.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:thefunnydad
Comment Utility
I cannot even remove the control from the form, I tried. when you right click on it, the "remove" option isn't even available; that's what is leading me to believe it is embedded somehow. I have all the proper licensing; ALL the flippin properties for this one control on the form are disabled, at design time.


This is going to end up being something embarassingly simple...
0
 

Author Comment

by:thefunnydad
Comment Utility
nope, no about, nothing enabled there either except properties, and lock controls. The menu bar across the top is Infragisitcs as well and there is an About in the eight-click of that control.... showing as licensed
0
 
LVL 5

Expert Comment

by:chaniewskim
Comment Utility
So that is really strange. I think that there sth may be corrupted in source files.

Try to close and re-open solution.

Look at source files (.resx, .vb) - maybe with Notepad?. Maybe you find sth suspicious.

0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
Can you create a temporary test project, and add a control to the form, and have it work properly?

Bob
0
 
LVL 10

Accepted Solution

by:
heintalus earned 500 total points
Comment Utility
Is your form inheriting from another form maybe ?
0
 
LVL 9

Expert Comment

by:malharone
Comment Utility
may be the properties are just readonly.
0
 

Author Comment

by:thefunnydad
Comment Utility
This form was inheriting the the "base form" properties of the client's core base form. I was not familiar with this functionality in design; I understand now how it works as the form is loaded into run time; to populate the panels, I needed to set values for them BEFORE the call was made from the form to their base form initialize event.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
This video discusses moving either the default database or any database to a new volume.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now