Project Detail

C# Custom Server Control : Programatically Hiding/Disabling A Property from the VS DesignTime Property Editor and Intellisence  

C# Custom Server Control : Programatically Hiding/Disabling A Property from the VS DesignTime Property Editor and Intellisence is project number 215646
posted at Freelancer.com. Click here to post your own project.

 

| More
Free Trial For New Buyers
 

Status:

Selected Providers: ndhjx

Budget: $30-100

Created: 01/19/2008 at 17:13 EST

Bid Count: 2

Average Bid:
N/A

01/24/2008 at 17:13 EST

Project Creator: spgroup
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (14 reviews)

Bid On This Project
 

Description

Development Environment : Visual Studio 2005
.NET Framework Version : 2.0
Developing Project : ASP.NET Custom Server Control.

========
PART 1:
========
I want to hide some properties dynamically from Proerty Editor Browser in Visual Studio 2005 (using C#.NEt 2.0) and also from Intellisence based on the value of other properties ?

Let me explain:
Say, I have a server control which takes Postal Address from user. Now, USA postal address takes 5 digit Zip Code of numeric value and Canadian postal address takes 6 digit AlphaNumeric Code. Now, I may want to create properties like this,

class Postal_Address : Control
{
string streetAddress,
string city,
string Country

int ZipCode // For USA.
string PostCode // For Canada
}

Now, when The control will be placed on the Web Form from Visual Studio, I want that if Country is set to USA, then postCode property will be invisible in the Property Editor Browser and only ZipCode property will be visible to edit. Then, if the user change the value of the country to "Canada", the ZipCode property will be invisible and PostCode property will be visible.

Please let me know if you can do that. If you can do that, then just create a sample control with the mentioned properties and show me that ZipCode or Postal Code properties are being visible and invisible based on the value of the property named "country".

========
PART 2
=-======

I want to know how to override the hosting page's Render Method from within a server control ? For example, I would like to modify the whole page's html from my server control.

===============================================
Accepted Form for Submission:

Please give me a complete Visual Studio 2005 Project Solution for the source code of your custom control, with a testing web application within the same VS Solution.

You can send me a compiled DLL initially for providing the proof that you have done the work in order to get the money escrowed. Finally when you will send me the real source code, I will finish the escrowed fund.
===============================================

Please let me know if you can do either Part 1 or Part 2 or both. Please submit your quote individually for Part 1 and Part 2. If you can do only one part, still let me know your interest with the quote for your interested part.

Thank you.



Additional information submitted:

01/20/2008 at 3:19 EST:
Please note : I want the property filtering should happen instantly while the page is open in the Visual Studio. This feature will be added to a commercial project and if the developer needs to close and open the page everytime to see the new filtered property, then it will be of no use. So, please let me know if you can make the property hiding stuffs without requiring the page close and open.

I want that, as soon as the country value is changed, the property editor must be updated instantly in front of the user while the page is open. The purpose of this control is to provide my user a friendly interface to filter out only the required properties for configuring a page.


Job Type

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

Bids are hidden by the project creator. Log in as the project creator or as one of the bidders to view bids. You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


    Bid on this Project