Forum  Core :: SDK (Vi...   How do I...?  QueryString Parameters
Previous Previous
 
Next Next
New Post 9/16/2009 2:39 AM
  kamrat1
59 posts
No Ranking


QueryString Parameters 

 There is an application that i am writing that is supposed to be called from another web application on a different server and context.

The other application needs to call my VWG application's using url (GET OR POST)  parameters. every different parameter should cause a different action in the application. (show different controls and selections)

I can get the parameters the first time using VWGContext.Current.Arguments["param1"], which i catch in the (_Load Event) however when the other application resends the new parameters i can not catch it in any event (_load _activate).

How can i achieve this?

 
New Post 9/16/2009 7:01 AM
  dleland
517 posts
www.kadant.com
1st Level Poster


Re: QueryString Parameters 

You can also catch parameters in the Application.ThreadRefresh event.

Dave

 
New Post 9/24/2009 6:28 PM
  palli
11189 posts
1st Level Poster




Re: QueryString Parameters 

Hi kamrat1,

Judging my your description, you are resending the exact same parameters that second time, right ?

There is an issue here describing that exact scenario, and the issue is closed as a "Won't fix", and a workaround is provided. If you do change those query parameters, so they are not exactly the same in your next call, you should get the Load event fired that second time too.

To make sure the parameters are different for every call, you could add a dummy counter parameter that you would increase by 1 for every call you make. That way you have unique query parameters combination every single time.

Hope this helps.

P.S. Regarding parameters in VWG in general, you might find some more information on this Wiki page here.

Palli

 

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...   How do I...?  QueryString Parameters
Azure banner
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS