Click here to Skip to main content
15,912,897 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASPX cant open htm or html pages Pin
matjame24-Oct-07 23:58
matjame24-Oct-07 23:58 
GeneralRe: ASPX cant open htm or html pages Pin
Mircea Grelus25-Oct-07 0:13
Mircea Grelus25-Oct-07 0:13 
AnswerRe: ASPX cant open htm or html pages Pin
Guffa25-Oct-07 0:09
Guffa25-Oct-07 0:09 
GeneralRe: ASPX cant open htm or html pages Pin
matjame25-Oct-07 0:14
matjame25-Oct-07 0:14 
GeneralRe: ASPX cant open htm or html pages Pin
Christian Graus25-Oct-07 0:18
protectorChristian Graus25-Oct-07 0:18 
GeneralRe: ASPX cant open htm or html pages Pin
matjame25-Oct-07 0:21
matjame25-Oct-07 0:21 
GeneralRe: ASPX cant open htm or html pages Pin
Mircea Grelus25-Oct-07 0:33
Mircea Grelus25-Oct-07 0:33 
GeneralRe: ASPX cant open htm or html pages Pin
Christian Graus25-Oct-07 0:35
protectorChristian Graus25-Oct-07 0:35 
If you're going to a html page, you don't need a server control at all. Just render a button and do a redirect on the client side in javascript when the button is pressed. That saves the server trip altogether.

Another solution is to handle the click event and do a response.redirect in the code behind.

The point of the property you're trying to use is that viewstate from the current page can be passed to another page. The error is telling you that it thinks you're trying to pass viewstate to a html page, which is what you can't do, an html page will not be processed on the server, so there can be no viewstate.


Christian Graus - Microsoft MVP - C++

"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: ASPX cant open htm or html pages Pin
matjame25-Oct-07 0:41
matjame25-Oct-07 0:41 
AnswerRe: ASPX cant open htm or html pages Pin
Guffa25-Oct-07 1:18
Guffa25-Oct-07 1:18 
GeneralRe: ASPX cant open htm or html pages Pin
matjame25-Oct-07 2:53
matjame25-Oct-07 2:53 
AnswerRe: ASPX cant open htm or html pages Pin
Guffa25-Oct-07 7:13
Guffa25-Oct-07 7:13 
AnswerRe: Content Management System [CMS] Pin
Mircea Grelus24-Oct-07 23:58
Mircea Grelus24-Oct-07 23:58 
Questioncrystal report in popup window..., Pin
Member 387988124-Oct-07 23:08
Member 387988124-Oct-07 23:08 
AnswerRe: crystal report in popup window..., Pin
Mircea Grelus25-Oct-07 0:00
Mircea Grelus25-Oct-07 0:00 
QuestionIs session id unique. [modified] Pin
Prakash_Mishra24-Oct-07 23:02
Prakash_Mishra24-Oct-07 23:02 
AnswerRe: Is session id unique. Pin
squattyarun24-Oct-07 23:10
squattyarun24-Oct-07 23:10 
AnswerRe: Is session id unique. Pin
N a v a n e e t h24-Oct-07 23:24
N a v a n e e t h24-Oct-07 23:24 
AnswerRe: Is session id unique. Pin
Christian Graus24-Oct-07 23:40
protectorChristian Graus24-Oct-07 23:40 
AnswerRe: Is session id unique. Pin
John-ph25-Oct-07 0:24
John-ph25-Oct-07 0:24 
QuestionForm action with parameters Pin
JacquesDP24-Oct-07 22:44
JacquesDP24-Oct-07 22:44 
AnswerRe: Form action with parameters Pin
Imran Khan Pathan24-Oct-07 23:03
Imran Khan Pathan24-Oct-07 23:03 
GeneralRe: Form action with parameters Pin
JacquesDP24-Oct-07 23:09
JacquesDP24-Oct-07 23:09 
AnswerRe: Form action with parameters Pin
Spunky Coder24-Oct-07 23:08
Spunky Coder24-Oct-07 23:08 
Questionindexing server Pin
venky45624-Oct-07 21:56
venky45624-Oct-07 21:56 

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.