473,320 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Passing strings between webforms

Hi!

How do I pass strings between webforms using Request["..."] in the target
webform but without using

Response.Redirect("SearchPOs.aspx?vendorName=" + vendorName);

in the source webform. This is bec. the source webform is a popup window and
I am not able to pass the strings. I also dont want the popup (source)
webform to become another target webform. Any suggestions?

thanks,
newbie
Nov 16 '05 #1
1 1909
There are a couple ways to do that. In your main page, when you call the
ShowModalDialog or ShowModelessDialog method, assign the string to the
returnValue property, test that value in the parent page, and then you can
include it in the querystring or, if you don't want it in the querystring,
then assign the value to a hidden element in your webform.

DalePres
MCAD, MCDBA, MCSE

"Newbie" <Ne****@discussions.microsoft.com> wrote in message
news:F7**********************************@microsof t.com...
Hi!

How do I pass strings between webforms using Request["..."] in the target
webform but without using

Response.Redirect("SearchPOs.aspx?vendorName=" + vendorName);

in the source webform. This is bec. the source webform is a popup window
and
I am not able to pass the strings. I also dont want the popup (source)
webform to become another target webform. Any suggestions?

thanks,
newbie

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ivan Sammut | last post by:
I have 2 webforms (WebForm1 & Webform2) I have a button on webform1 that when I click it I need to pass some variables to webform2 and then Popup webform2 and show the variables I passed. Any...
6
by: Newbie | last post by:
How do I pass string values from one webform to another?
1
by: Newbie | last post by:
Is there a way to pass strings from one webform to another without using Response.Redirect( ) ? The reason is that I need the webform passing the string to close its window.
1
by: Paul R | last post by:
Hi, I have a Winforms application that access some SQLServer2000 stored procedures. I have now written some new Webforms pages to use some of the same stored procs. The Webforms use the SAME...
0
by: AM | last post by:
Hi All, I am trying to implement paging for datalists on all webforms. I have a classtest with some functions. The code works fine with webform1 but my query is how should i pass the references of...
3
by: Mantorok | last post by:
Hi all I'm pretty new to ASP.Net, is it possible to pass arguments (maybe objects too) to web forms without using a querystring in the URL? Thanks Kev
4
by: 3Cooks | last post by:
I have a windows application written in Visual Basic 6.0 that is going to be redeveloped in dotNET. We are trying to decide if we should deploy using Webforms or Winforms and I need advice from...
5
by: Bit byte | last post by:
Can I use C# (Winforms) to design a website?. I am from C/C++ background but know nothing about Internet programming. My understanding of WebForms are that they are similar to WinForms in that...
6
by: Andy Baker | last post by:
I am attempting to write a .NET wrapper for a C++ DLL file, but am having problems with passing strings as parameters. How should I be writing my C# function call when the C header file is...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.