Click here to Skip to main content
15,885,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm looking for a way to split a form in a way that 3/4 of it will contain one thing and the small part (the other 1/4) will contain something else.
I want it just to evoid many forms.

it should look smth like this:

-----------------------
|.........|................. |
|.........|................. |
|.........|................. |
|.........|................. |
-------- ................. |
|........................... |
|........................... |
|........................... |
|........................... |
|........................... |
----------------------

also both parts should do some actions (like insert/update ..) that require server-side actions and I don't want that when I update one of them it will create a post-back for the whole form

I'd be happy to hear of any solutions for that.

cheers
Posted

1 solution

VB
-----------------------
|.........|................. |
|.........|................. |
|.div 1_1.|.....div 1_2..... | <- Div1
|.........|................. |
-------- ................. |
|........................... |
|........................... |
|........................... | <- Div2
|........................... |
|........................... |
----------------------


<div1>
    <div1_1 width="30%"> ... </div>
    <div1_1 width="70%"> ... </div>
</div>
</br> --line break
<div2> ... </div>




place your each group of controls inside individual update panel to avoid whole page's postback.

Happy Coding!
:)
 
Share this answer
 
v2
Comments
bluesathish 25-Jul-12 3:41am    
have 5pt aarti!
Aarti Meswania 25-Jul-12 3:44am    
thank you :)
Sandeep Mewara 25-Jul-12 3:58am    
Good answer Aarti. My 5!
Aarti Meswania 25-Jul-12 4:01am    
thank you :)

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