Click here to Skip to main content
15,903,750 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to replace Permanently in aspx page using .net with c# Pin
sugunavathysubramanian7-Apr-08 20:51
sugunavathysubramanian7-Apr-08 20:51 
AnswerRe: how to replace Permanently in aspx page using .net with c# Pin
Ashish Sehajpal7-Apr-08 20:58
Ashish Sehajpal7-Apr-08 20:58 
GeneralRe: how to replace Permanently in aspx page using .net with c# Pin
sugunavathysubramanian7-Apr-08 21:21
sugunavathysubramanian7-Apr-08 21:21 
AnswerRe: how to replace Permanently in aspx page using .net with c# Pin
Christian Graus7-Apr-08 21:09
protectorChristian Graus7-Apr-08 21:09 
GeneralRe: how to replace Permanently in aspx page using .net with c# Pin
sugunavathysubramanian7-Apr-08 21:23
sugunavathysubramanian7-Apr-08 21:23 
GeneralRe: how to replace Permanently in aspx page using .net with c# Pin
Christian Graus7-Apr-08 21:33
protectorChristian Graus7-Apr-08 21:33 
AnswerRe: how to replace Permanently in aspx page using .net with c# Pin
Ashish Sehajpal7-Apr-08 22:13
Ashish Sehajpal7-Apr-08 22:13 
GeneralRe: how to replace Permanently in aspx page using .net with c# Pin
Christian Graus7-Apr-08 22:30
protectorChristian Graus7-Apr-08 22:30 
No, you're wrong. Doing stuff in code behind is elegant, allows for object orientation, and works on any browser. Doing stuff in javascript requires that you know for sure that only certain browsers are going to be used, and increases the load on your traffic, because the pages are bigger. It also means you can't comment your code unless you want to also send the comments to the client.

Indeed, because he wants to set his header based on server side events, doing it with javascript would require injecting javascript into the page in the code behind, which would just make this approach doubly retarded.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: how to replace Permanently in aspx page using .net with c# Pin
sugunavathysubramanian8-Apr-08 0:20
sugunavathysubramanian8-Apr-08 0:20 
QuestionHow to place a condition in a template column in the datagrid? Pin
Infernojericho7-Apr-08 20:28
Infernojericho7-Apr-08 20:28 
AnswerRe: How to place a condition in a template column in the datagrid? Pin
Christian Graus7-Apr-08 20:31
protectorChristian Graus7-Apr-08 20:31 
GeneralRe: How to place a condition in a template column in the datagrid? Pin
Infernojericho7-Apr-08 20:46
Infernojericho7-Apr-08 20:46 
GeneralRe: How to place a condition in a template column in the datagrid? Pin
Christian Graus7-Apr-08 20:48
protectorChristian Graus7-Apr-08 20:48 
AnswerRe: How to place a condition in a template column in the datagrid? Pin
Ashish Sehajpal7-Apr-08 21:00
Ashish Sehajpal7-Apr-08 21:00 
QuestionHow to Use COM Dll in ASP.NET Pin
Kuricheti7-Apr-08 20:18
Kuricheti7-Apr-08 20:18 
GeneralRe: How to Use COM Dll in ASP.NET Pin
Christian Graus7-Apr-08 20:26
protectorChristian Graus7-Apr-08 20:26 
GeneralFinding list of controls from another aspx page within a project Pin
Syed Kamran ul Haq7-Apr-08 20:00
Syed Kamran ul Haq7-Apr-08 20:00 
GeneralRe: Finding list of controls from another aspx page within a project Pin
Christian Graus7-Apr-08 20:27
protectorChristian Graus7-Apr-08 20:27 
GeneralRe: Finding list of controls from another aspx page within a project Pin
gspiteri7-Apr-08 23:11
gspiteri7-Apr-08 23:11 
GeneralRe: Finding list of controls from another aspx page within a project Pin
Christian Graus7-Apr-08 23:13
protectorChristian Graus7-Apr-08 23:13 
GeneralRe: Finding list of controls from another aspx page within a project Pin
Syed Kamran ul Haq8-Apr-08 0:06
Syed Kamran ul Haq8-Apr-08 0:06 
GeneralRe: Finding list of controls from another aspx page within a project Pin
Christian Graus8-Apr-08 0:08
protectorChristian Graus8-Apr-08 0:08 
QuestionHow to close a webform while opening another webform?? Pin
biswa477-Apr-08 19:59
biswa477-Apr-08 19:59 
GeneralRe: How to close a webform while opening another webform?? Pin
Christian Graus7-Apr-08 20:28
protectorChristian Graus7-Apr-08 20:28 
GeneralRe: How to close a webform while opening another webform?? Pin
Ashish Sehajpal7-Apr-08 21:05
Ashish Sehajpal7-Apr-08 21:05 

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.