Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET WebForms VB.NET
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 24-Jul-12 19:54pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

-----------------------
|.........|................. |
|.........|................. |
|.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!
Smile | :)
  Permalink  
v2
Comments
bluesathish at 25-Jul-12 3:41am
   
have 5pt aarti!
aarti meswania at 25-Jul-12 3:44am
   
thank you :)
Sandeep Mewara at 25-Jul-12 3:58am
   
Good answer Aarti. My 5!
aarti meswania at 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)



Advertise | Privacy | Mobile
Web01 | 2.8.140926.1 | Last Updated 25 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100