Click here to Skip to main content
15,917,060 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to avoid reinitialization of variables in page load Pin
Christian Graus6-Sep-09 19:22
protectorChristian Graus6-Sep-09 19:22 
Questiondata insertion in gridview Pin
swtlibra6-Sep-09 17:28
swtlibra6-Sep-09 17:28 
AnswerRe: data insertion in gridview Pin
Abhijit Jana6-Sep-09 18:16
professionalAbhijit Jana6-Sep-09 18:16 
AnswerRe: data insertion in gridview Pin
Christian Graus6-Sep-09 18:19
protectorChristian Graus6-Sep-09 18:19 
AnswerRe: data insertion in gridview Pin
mylogics6-Sep-09 20:10
professionalmylogics6-Sep-09 20:10 
AnswerRe: data insertion in gridview Pin
Vimalsoft(Pty) Ltd6-Sep-09 20:21
professionalVimalsoft(Pty) Ltd6-Sep-09 20:21 
Questionwebservice Pin
farokhian6-Sep-09 11:22
farokhian6-Sep-09 11:22 
AnswerRe: webservice Pin
Abhishek Sur6-Sep-09 12:15
professionalAbhishek Sur6-Sep-09 12:15 
GeneralRe: webservice Pin
farokhian6-Sep-09 21:00
farokhian6-Sep-09 21:00 
GeneralRe: webservice Pin
Abhishek Sur6-Sep-09 22:00
professionalAbhishek Sur6-Sep-09 22:00 
GeneralRe: webservice [modified] Pin
farokhian6-Sep-09 23:54
farokhian6-Sep-09 23:54 
AnswerRe: webservice Pin
Christian Graus6-Sep-09 12:19
protectorChristian Graus6-Sep-09 12:19 
QuestionUserControl and javascript. Pin
Matt Cavanagh6-Sep-09 8:05
Matt Cavanagh6-Sep-09 8:05 
AnswerRe: UserControl and javascript. Pin
Abhishek Sur6-Sep-09 10:55
professionalAbhishek Sur6-Sep-09 10:55 
GeneralRe: UserControl and javascript. Pin
Matt Cavanagh6-Sep-09 11:24
Matt Cavanagh6-Sep-09 11:24 
GeneralRe: UserControl and javascript. Pin
Abhishek Sur6-Sep-09 12:12
professionalAbhishek Sur6-Sep-09 12:12 
GeneralRe: UserControl and javascript. Pin
Matt Cavanagh6-Sep-09 19:53
Matt Cavanagh6-Sep-09 19:53 
GeneralRe: UserControl and javascript. Pin
Abhishek Sur6-Sep-09 22:14
professionalAbhishek Sur6-Sep-09 22:14 
GeneralRe: UserControl and javascript. Pin
Matt Cavanagh6-Sep-09 23:09
Matt Cavanagh6-Sep-09 23:09 
AnswerRe: UserControl and javascript. Pin
Abhishek Sur8-Sep-09 13:44
professionalAbhishek Sur8-Sep-09 13:44 
Questionframes in asp.net Pin
myinstincts6-Sep-09 6:37
myinstincts6-Sep-09 6:37 
AnswerRe: frames in asp.net Pin
Manas Bhardwaj6-Sep-09 8:48
professionalManas Bhardwaj6-Sep-09 8:48 
AnswerRe: frames in asp.net Pin
Abhishek Sur6-Sep-09 10:37
professionalAbhishek Sur6-Sep-09 10:37 
Yes you are right.. We dont use Framesets now...
Reason :
1. It is very hard to handle Javascript Events when there is more than one frame in the document. We have to reference controls from other pages only using window.parent. For example : If you just willing to change the text of a control with some operation of another frame, you need to hook the textbox object in Window.parent object and then get its reference. So we are unnecessarily creating complexity Sniff | :^) .

2. In Asp.NET we rely with Server side events most of the time. In case of Frames, 2 or more document is created, so if you postback a page, u cant reference the other pages. So we need to forcefully postback other forms to get reference in the server. Also forcing postback of 2 pages simultaneously will create two requests to the server. So you need create custom form element to ensure everything goes in a single postback, which means more complexity Cry | :(( .

3. Frames looks very odd and unprofessional to me. Dead | X| Err.. Although, That might be only my problem...

So I would recommend to make layout using Table.
<table style="width:100%;border:0px">
<tr>
<td style="width=30%">
//Page in the right side.
</td>
<td>
//Page in the left side. 
<td>
</tr>
</table>

You can create the same page layout easily using table. If you are worried about the splitter control.. you can find a lots of them easily by searching in google. Or you can also create one yourself.

So personally I suggest you to avoid Framesets totally.Cool | :cool:

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

Questiondatalist bound to a multiline textbox problem! [modified] Pin
Seraph_summer6-Sep-09 3:52
Seraph_summer6-Sep-09 3:52 
AnswerRe: datalist bound to a multiline textbox problem! Pin
Abhijit Jana6-Sep-09 4:12
professionalAbhijit Jana6-Sep-09 4:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.