I am using a PropertyGrid control to expose the properties of a class. One of the class properties is an Image. When you click on the property in the PropertyGrid you get the error 'Object not set to an instance of an object'. I added the [Editor(typeof(ImageEditor),typeof(UITypeEditor))] attribute. When I click the Property I get the standard FileOpen dialog. Is there a way to get it to display the Resource Selector dialog as you would get if you used the actual properties window to edit the image
I have searched in google and also in MSDN and have consolidated some points. I would like to know whether any documents made by any of you for your projects. If there is one, please forward it to me. I would like to get PL/SQL Standards and also HTML Standards also. I have some documents with me already. I would like to get the ones that have been used in the project.
i'm working on a User List in a gridview, where a user has a name and a password (and other infos). I've templated the password column to display [Hidden] as the display content, and on the EditTemplate i've bound a TextBox with TextMode set to Password. When i edit a row, i have an empty textbox. When i set the TextMode back to singleline, all is fine.
Well, in that case, i don't understand what a normal behavior is.
I'll try to rephrase what the situation is, sorry if i was unclear the first time.
I'll start by assuming the problem is not related to GridView and that may clear things up a bit. Say i have a DataBound TextBox on a Web Form (ASP.NET), the TextBox will display the content of the data it is bound to. Its the normal behavior of DataBound controls. Now, i want to have the same Data displayed in a Password type of TextBox, so that i only see Dots or Stars when the data is displayed. If i change the TextBox TextMode to Password, suddenly the content of the TextBox is empty, its display is blank and so on. I dont call this Normal Behavior. I wanna be able to Bind data that i consider sensitive and see some Dots or Stars in the TextBox display.
How this problem ties to Gridview is that if i Edit a row in inline edit mode, the TextBox with TextMode set to Password will not hold or display the sensitive information. If i change some other bound field and commit the changes to that Row, the sensitive information has been replaced with emptiness. And to me, this does not seem to be acceptable as normal behavior.
Thank you for taking the time to reply to me. This is really appreciated.
Password textboxs do this as normal behavior. Why? Because giving the length of the password is a hint to what the password is, or isn't, and even that the account has a password. Password textboxs shouldn't show you anything unless the user types something in it.
If all you're doing is showing the password as a string of "*", then why show it at all?
If your editing the password, then the box should be blank and there should be two boxes, the second box forcing you to type the same password again to avoid typos in the first box.
The part which isnt solved on my side is, if i dont touch the password box, why is the Bound Field being cleared ?
I dont mind too much having nothing shown, but i dont want the old password to disappear. Also, there is another option that can apply which is already in use and accepted, its to display a fixed number of Dots or Stars that isnt related to the current password lenght. This at least can provide the clue that the textbox holds some information.
The solution would probably be to use a custom formattted column in the GridView that just shows "***********" no matter what the value is.
Another idea would be to just not retrieve the password from the database. Instead, use a dummy column to represent the password data and a add a custom formatted column to the Grid that just shows a string of "************" in place of DbNull values.
Hi, in order to test my application on some other device I have created a .CAB to pass to some friend… but I have had some difficulty because if the PDA of the friend does not have the runtime installed and tries to install it from my PC, comes given the already present message of version in the system. What's the corrected procedure to execute? Naturally excluding the deploy from VS…
as we all know, .NET supports localized resources just fine. but when it comes to translation of thousands of strings in all these resource files -- it's pain without good tools that can automate collection of strings in one place for translation, and then distributing translated string back to localized .resx files (possibly creating files for new cultures and adding them to projects to compile).
similar approach is used in SharpDevelop project, but they do not publish the tool's sources, only describe its features and the process of localization. and it's easy to understand, why: this tool is fairly difficult to develop and almost anyone developing commercial software needs it.
and at last, this is my question: anybody knows of any tools (free or not) with similar features?
I was wondering if any of you have experience in the ultra explorer bar. I want to know if it is possible to expand a group and collapse another group at the SAME time, because right now it only closes and opens in a sequence. I've played around with the CollapseAll and ExpandAll function and they seem to close and open all group in a sequence.
If the application has been properly architected it should just be a matter of rewriting the presentation (UI) layer - perhaps with the odd addition elsewhere to support a stateless model of working. If it hasn't been well architected then you are looking at rewriting the whole application.