Click here to Skip to main content
16,011,711 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have two sections inside one panel. when i click on Browse of File Upload, the required property of other sections's textbox should be disabled. and when i click on Upload button next to File Upload Browse button they should be enabled.
Any help please asap

Thankx in advance
Posted

Hi,

Its seems very simple to me, or i am not getting your exact question,

Here what i suggest you to disable all the textbox control initially. And at the time of Upload button click event, dynamically you can enable the textboxes.

using,
C#
textbox1.Enabled = true;

Hope it works for you,
Best luck.
 
Share this answer
 
We have onprerender event on different aspx page to execute after my page executes. that stops me to disable properties. Exactly i need File Upload's Browse Click event (if any), so when i select File Upload, select file from explorer, get back to aspx page, before uploading file, i need to disable controls, which should not be affected by other OnPreRender and OnInit events.

Then it works for me
Please help
 
Share this answer
 
Hi.

you can work on Upload control's onselect javascript event..and do whatever you required.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900