Help me Please

  • Thread starter Thread starter syukna
  • Start date Start date
S

syukna

Having Trouble...HELP!!

I have an asp.net page with C# code behind. The page has been erro
checked
with no problems arrising. However, the page somehow stoppe
correctly err
or checking the input. For example I have something simple...

if (TextBox.Text == "")
{
sErrorMessage = "Text1 can't be blank";
}

Simple right?

For some reason this will not work anymore unless I put
Response.Write("")
in the function that does this error checking.

After putting the Response statement in, I can even take it out, an
the fun
ction will still work.

I've tried
Response.end
.flush
.clear
.clearheaders
.buffer = false

etc...


Any help at all will be greatly appreciated


-
syukn
 
OK, you have a problem. However, there isn't enough here for me to
understand it, much less help you debug it.

I suggest you create a short-but-working program that demonstrates the
problem you are having and what you are trying to do to solve it. Then post
that code. That would be the best.

Second best would be to post large sections of your existing code so that we
can see what the code is actually doing.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top