Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Redirect from User Control

 
Thread Tools Search this Thread
Old 02-10-2004, 08:01 PM   #1
Default Redirect from User Control


I have a usercontrol that is in my main page - ASPX web page. The usercontrol has a text box and a button. On the click of the button I want the user to be redirected to another page and the value of the text box to be passed in the url string. On the click event of the button I have
page.response.redirect("../myurl?var='" & txtTextbox.text & "'")
but this is not redirecting to the new page. Any help would be greatly appreciated!!!!!


=?Utf-8?B?TWFyeQ==?=
  Reply With Quote
Old 02-12-2004, 04:31 PM   #2
=?Utf-8?B?TWFyeQ==?=
 
Posts: n/a
Default RE: Redirect from User Control
Yes, I am trying get a search field to pass the values to a search results table that is why I had the apostrophes in there. I have a user control that has the search field and button in it and that user control is another user control that are on my default.aspx page. I tried removing the apostrophes and that didn't make any difference. I can navigate to the URL that I have in the response.redirect string so I know the URL is valid.


=?Utf-8?B?TWFyeQ==?=
  Reply With Quote
Old 02-12-2004, 06:26 PM   #3
=?Utf-8?B?U2lsZWVzaA==?=
 
Posts: n/a
Default RE: Redirect from User Control
H

Hope this helps!!!!!!!!!!!

Try giving different name instead of "var" and see if it helps.


=?Utf-8?B?U2lsZWVzaA==?=
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
user control 1.1 sql Software 0 04-02-2009 09:15 AM
Mind Control and CIA'S BOURNE IDENTITY PLOT soleilmavis@gmail.com DVD Video 2 08-03-2007 09:54 PM
Ajax Atlas not working in User Control faiq Software 0 09-16-2006 08:28 AM
ASP.NET: User Control Events is Not Displaying in a Property Window BabuA Software 0 09-14-2006 05:44 PM
FS: JP1 cable to program your universial remote control, now youcan control anything you want! Mike DVD Video 0 07-15-2005 02:46 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46