Dibatalkan

Adding Event on a .NET User Control

There is an C# Windows User Control for editing html document.

[url removed, login to view];tabindex=10

1] This control doesn't have any event for changing innerHTML. I mean, if the innerHTML is changed, an event should be triggered same like a TextBox has TextChanged event.

2]In addition to the previous requirement, I would want to add another feature on this User Control, that is,

"MAKE THE InnerHTML property boundable to a datasource."

I mean, I want to bind the InnerHTML prpoperty to a data member of a binding source.

- Please use Visual Studio 2005 (.NET 2.0)

Attachment

===================================================================

I have attached the Opensource C# project file.

=============== Details about the Requirements ====================

In order to give you a clue, just take this code,

Once you develop the Event Handler for InnrHTML, you can override that event handler with the following code

private void innerHtml_TextChanged(..........)

{

PropertyDescriptor innerHtmlPropertyDescriptor = [url removed, login to view](null)["someDataMember_of_type_string"];

[url removed, login to view]([url removed, login to view], [url removed, login to view]);

}

private void myBindingSource_CurrentChanged(object sender, EventArgs e)

{

PropertyDescriptor innerHtmlPropertyDescriptor = [url removed, login to view](null)["someDataMember_of_type_string"];

[url removed, login to view] = (string)[url removed, login to view]([url removed, login to view]);

}

......................................

Now, This is the actual piece of code I think all you need. But What I want is as follows :

1] I dont want to see these codes other than designer.cs. I just want a piece of mind about dragging the control from toolbox on to the Windows form. Then when I will double click the form, the default event handler will be created as innerHTml_Changed(......) in my code behind C# file. then I should be able to enter my business logic for this event,

2] At the same way, I dont want to scatter logic on a binding source's Current Change event handler. I should be able to use Visual Studio 2005 Property editor for the htmlEditor control by selecting the control in design mode. Then, within property editor, I should be able to choose a bindingsource's data member (of course STRING type) to bind with innerHTML property. Then whenever I scroll over the binding source using a Binding Navigator Control, the htmlEditor should be loaded with new value from the bindingSource automatically without writing any code (same like we bind Text property to a binding source;'s data member of TEXT_BOX Control). In that way I will also be able to choose this htmlEditor control for any text dataMember of any dataSource within the design mode of Visual Studio 2005.

I hope I could explain you the point.

==============

Budget

================================================================

Budget is the cheapest around 30$. The lowest cost bidder will win the bid.

Thanks

CircuiTech Group.

Kemahiran: .NET

Lihat lebih lanjut: add event control net, net control add event, writing studio, writing html code, the writing studio, source net, project handler, object writing, net by need, i want to develop my property, i need a type editor, e value, editor requirements, double click studio, cs mode, control in.net, a new mode, amp control, property boundable, adding event net control, what is visual studio, what is feature writing, i control, html.net, cheapest editing

Tentang Majikan:
( 14 ulasan ) Whitby, Canada

ID Projek: #93016

7 freelancers are bidding on average $74 for this job

vip

Dear Sir/Madam, I have all required knowledge and experience to achieve success of this project with best quality and professionalism. Please see my profile. Before accepting my bid offer please contact me via proj Lagi

$99 USD dalam 2 hari
(27 Ulasan)
6.1
CPR

We are well experianced in MySQL + PHP and VB,C#, ASP.NET + MSSQL platforms, will develop your project upto your entire satisfaction.

$72 USD dalam sehari
(1 Ulasan)
3.1
GDInfotech

We are team of professional’s expertise in developing web based application using PHP/ASP/.NET and in web designing using Photoshop, Dreamweaver MX, Flash [url removed, login to view] reading your project description, we are highly in Lagi

$100 USD dalam 7 hari
(2 Ulasan)
4.6
anoopep

We can do the task

$50 USD dalam 5 hari
(1 Ulasan)
2.8
ForestepTech

We are a team of elite professionals who can cater your requirements and needs to your satisfaction. We have read through your requirements and are sure we will be able to fulfill your requirements. We are committed to Lagi

$80 USD dalam 10 hari
(0 Ulasan)
0.0
infosarjan

Seva Infotech is software development Organization, located at Ahmedabad, India. We are very much interested in your project. Our rate is US$ 30 for your this project. Please give the full description of the project so Lagi

$30 USD dalam sehari
(0 Ulasan)
0.0
sharptech

We are web design ,graphic design and website development company comprises a pool of professionals who deliver quality work on a wide range of communication web site design and web application projects. The web desi Lagi

$90 USD dalam 6 hari
(0 Ulasan)
0.0