Click here to Skip to main content
16,009,114 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Image resize in asp.net Pin
keyur satyadev4-Dec-09 23:56
keyur satyadev4-Dec-09 23:56 
GeneralRe: Image resize in asp.net Pin
macielaf14-Aug-13 9:56
macielaf14-Aug-13 9:56 
AnswerRe: Image resize in asp.net Pin
sashidhar4-Dec-09 23:50
sashidhar4-Dec-09 23:50 
GeneralRe: Image resize in asp.net Pin
macielaf15-Aug-13 5:32
macielaf15-Aug-13 5:32 
Questionhelp me Pin
vbmadhavi4-Dec-09 21:38
vbmadhavi4-Dec-09 21:38 
AnswerRe: help me Pin
keyur satyadev4-Dec-09 21:48
keyur satyadev4-Dec-09 21:48 
AnswerRe: help me Pin
sashidhar4-Dec-09 22:04
sashidhar4-Dec-09 22:04 
AnswerRe: help me Pin
<<Tash18>>4-Dec-09 22:32
<<Tash18>>4-Dec-09 22:32 
QuestionASP.NET MCV Pin
mpavas4-Dec-09 21:17
mpavas4-Dec-09 21:17 
QuestionAspDotNetStoreFront Skinning Pin
22084-Dec-09 17:10
22084-Dec-09 17:10 
AnswerRe: AspDotNetStoreFront Skinning Pin
Adam Maras4-Dec-09 17:45
Adam Maras4-Dec-09 17:45 
GeneralRe: AspDotNetStoreFront Skinning Pin
22084-Dec-09 20:05
22084-Dec-09 20:05 
QuestionPrevious Page Pin
Munteanu Ciprian4-Dec-09 9:14
Munteanu Ciprian4-Dec-09 9:14 
AnswerRe: Previous Page Pin
Abhishek Sur4-Dec-09 11:55
professionalAbhishek Sur4-Dec-09 11:55 
QuestionAJAX control Toolkit Accordion Control problem Pin
Faisal Khatri4-Dec-09 5:18
Faisal Khatri4-Dec-09 5:18 
AnswerRe: AJAX control Toolkit Accordion Control problem Pin
keyur satyadev4-Dec-09 21:36
keyur satyadev4-Dec-09 21:36 
AnswerRe: AJAX control Toolkit Accordion Control problem Pin
Mark Graham7-Dec-09 0:33
Mark Graham7-Dec-09 0:33 
RantPostBackUrl Pin
Munteanu Ciprian4-Dec-09 3:13
Munteanu Ciprian4-Dec-09 3:13 
GeneralRe: PostBackUrl Pin
OriginalGriff4-Dec-09 4:08
mveOriginalGriff4-Dec-09 4:08 
GeneralRe: PostBackUrl Pin
Mark Graham7-Dec-09 0:37
Mark Graham7-Dec-09 0:37 
GeneralRe: PostBackUrl Pin
Mark Graham7-Dec-09 0:50
Mark Graham7-Dec-09 0:50 
RantPostBackUrl Pin
Munteanu Ciprian4-Dec-09 3:11
Munteanu Ciprian4-Dec-09 3:11 
Here's my problem: I have a button and when I click it I want to open a new page. I know that I can do this thing very easy by setting the PostBackUrl property of the button. But here's what I want to do: on my page I have a textbox and, for example when I press the button I want to test the text from the TextBox and if it's ok I want to show the new page; if not I want to display a message. I want to do that using c# language, and not JavaScript. I've tried this:
<br />
       protected void Button1_Click(object sender, EventArgs e)<br />
        {<br />
            if (TextBox1.Text == "something")<br />
                Button1.PostBackUrl = "NewPage.aspx";<br />
            else<br />
               ....................<br />
<br />
        }<br />
<br />


Can anyone help me please?
GeneralRe: PostBackUrl Pin
Vimalsoft(Pty) Ltd4-Dec-09 4:07
professionalVimalsoft(Pty) Ltd4-Dec-09 4:07 
QuestionHow to invoke Anchor tag click event without clicking in asp.net Pin
Nekkantidivya4-Dec-09 1:39
Nekkantidivya4-Dec-09 1:39 
AnswerRe: How to invoke Anchor tag click event without clicking in asp.net Pin
saini arun4-Dec-09 1:58
saini arun4-Dec-09 1:58 

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.