Click here to Skip to main content
14,358,698 members
   

XML / XSL

 
QuestionXPath problem with % value Pin
NarVish18-Oct-11 1:29
memberNarVish18-Oct-11 1:29 
AnswerRe: XPath problem with % value Pin
jschell18-Oct-11 9:52
memberjschell18-Oct-11 9:52 
GeneralRe: XPath problem with % value Pin
NarVish18-Oct-11 19:39
memberNarVish18-Oct-11 19:39 
GeneralRe: XPath problem with % value Pin
NarVish18-Oct-11 23:00
memberNarVish18-Oct-11 23:00 
GeneralRe: XPath problem with % value Pin
NarVish18-Oct-11 23:36
memberNarVish18-Oct-11 23:36 
QuestionHow can I put condition Pin
Noor201118-Sep-11 5:23
memberNoor201118-Sep-11 5:23 
GeneralRe: How can I put condition Pin
AspDotNetDev18-Sep-11 8:27
protectorAspDotNetDev18-Sep-11 8:27 
AnswerRe: How can I put condition Pin
Morgs Morgan22-Sep-11 5:40
memberMorgs Morgan22-Sep-11 5:40 
You could have posted this in a C# forum, you can get an answer much quciker than here. Make sure you are in the right place before posting a question.

Try this:

try
{
   Int32 number = Int32.Parse(txtBoxId.Text);
   if(number <= 80)
   {
      //go ahead
   }
   else
   {
      //alert user they have entered a number greater than 80
   }
}
catch(Excemption e)
{
   throw new Excemption("Not a valid interger!");
}


That's a basic function you need, you can call this function on your desired textbox events e.g. on onkeypress.

Hope this helps,
Morgs
GeneralRe: How can I put condition Pin
Noor201130-Sep-11 1:43
memberNoor201130-Sep-11 1:43 
QuestionXSLT Pin
AndyInUK14-Sep-11 4:55
memberAndyInUK14-Sep-11 4:55 
AnswerRe: XSLT Pin
Bassam Abdul-Baki15-Sep-11 5:51
professionalBassam Abdul-Baki15-Sep-11 5:51 
GeneralRe: XSLT Pin
AndyInUK15-Sep-11 6:06
memberAndyInUK15-Sep-11 6:06 
GeneralRe: XSLT Pin
Rhys Gravell15-Sep-11 6:27
professionalRhys Gravell15-Sep-11 6:27 
GeneralRe: XSLT Pin
Bassam Abdul-Baki15-Sep-11 6:27
professionalBassam Abdul-Baki15-Sep-11 6:27 
AnswerRe: XSLT Pin
Andi Fandrich15-Sep-11 6:18
professionalAndi Fandrich15-Sep-11 6:18 
GeneralRe: XSLT Pin
AndyInUK15-Sep-11 6:28
memberAndyInUK15-Sep-11 6:28 
AnswerRe: XSLT Pin
Rhys Gravell15-Sep-11 6:33
professionalRhys Gravell15-Sep-11 6:33 
GeneralRe: XSLT Pin
AndyInUK15-Sep-11 6:49
memberAndyInUK15-Sep-11 6:49 
GeneralRe: XSLT Pin
chriselst15-Sep-11 6:56
memberchriselst15-Sep-11 6:56 
GeneralRe: XSLT Pin
AndyInUK15-Sep-11 7:09
memberAndyInUK15-Sep-11 7:09 
GeneralRe: XSLT Pin
Bassam Abdul-Baki15-Sep-11 7:51
professionalBassam Abdul-Baki15-Sep-11 7:51 
GeneralRe: XSLT Pin
AndyInUK16-Sep-11 0:38
memberAndyInUK16-Sep-11 0:38 
GeneralRe: XSLT Pin
PIEBALDconsult16-Sep-11 6:20
protectorPIEBALDconsult16-Sep-11 6:20 
GeneralRe: XSLT Pin
PIEBALDconsult15-Sep-11 19:10
protectorPIEBALDconsult15-Sep-11 19:10 
QuestionShould we get rid of the redundant quotes now that HTML5 does it? Pin
ed welch12-Sep-11 12:20
membered welch12-Sep-11 12:20 

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.