Hi there

I am busy developing a website which uses a modal popup box. The popup is populated with the information which the user chooses from a grid for editing purposes. Before the user makes any changes, the save button must be disabled. The button must be enabled soon as the user makes any changes in one of the textboxes. Since its ASP, it requires a postback to notice any changes made and i loose the state after dat.

How do i get around this without using the HTML input?

Thanx in advance

Don't worry about state of asp.net controls - ViewState is there. Please write Button1.Enabled=false statement inside the TextChangedEvent.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.