944,179 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 3624
  • C# RSS
Aug 23rd, 2005
0

Text box question

Expand Post »
ok when i enter text in a text box and hit a buttonj i want it to replace the text in a url

[code]
webBrowser1.navigate ("urlgoeshere");
[\code]

i want it to replace a certain string in it but i dont know how any ideas?
Similar Threads
Team Colleague
Reputation Points: 84
Solved Threads: 99
<Insert title here>
tayspen is offline Offline
1,542 posts
since Jul 2005
Aug 23rd, 2005
0

Re: Text box question

Use JavaScript.

Watch for Lost Focus then run Javascript to update something.
Reputation Points: 12
Solved Threads: 19
Posting Pro
techniner is offline Offline
521 posts
since May 2005
Aug 23rd, 2005
0

Re: Text box question

Wow. I didn't know you could use Javascript in a C# application! (Of course, I'm just a beginner)
Reputation Points: 10
Solved Threads: 2
Posting Whiz in Training
Toulinwoek is offline Offline
274 posts
since Mar 2005
Aug 23rd, 2005
0

Re: Text box question

HAHA Ok so I am a dumbass and did not realize this was the C# section..

But actually the same rules apply.. you can build a function and keep refernecing it.. similar to how Javascript would owrk you know what I mean?
Reputation Points: 12
Solved Threads: 19
Posting Pro
techniner is offline Offline
521 posts
since May 2005
Aug 23rd, 2005
0

Re: Text box question

Quote originally posted by techniner ...
HAHA Ok so I am a dumbass and did not realize this was the C# section..

But actually the same rules apply.. you can build a function and keep refernecing it.. similar to how Javascript would owrk you know what I mean?
lol iam lost with all this java talk

can u provide a sample?
Team Colleague
Reputation Points: 84
Solved Threads: 99
<Insert title here>
tayspen is offline Offline
1,542 posts
since Jul 2005
Aug 23rd, 2005
0

Re: Text box question

Quote originally posted by tayspen ...
lol iam lost with all this java talk

can u provide a sample?

definitly scince i dont know much java
Team Colleague
Reputation Points: 84
Solved Threads: 99
<Insert title here>
tayspen is offline Offline
1,542 posts
since Jul 2005
Aug 23rd, 2005
0

Re: Text box question

Oh, then you can't? Bummer
Reputation Points: 10
Solved Threads: 2
Posting Whiz in Training
Toulinwoek is offline Offline
274 posts
since Mar 2005
Aug 23rd, 2005
0

Re: Text box question

Quote originally posted by Toulinwoek ...
Oh, then you can't? Bummer

wait what i cant, i know i cant thats y i wanted a sample *confused*
Team Colleague
Reputation Points: 84
Solved Threads: 99
<Insert title here>
tayspen is offline Offline
1,542 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: please take some time to help me.. thank you very much!
Next Thread in C# Forum Timeline: Using a Tree Control





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC