Forum  General Visual ...  How do I...?  Control HtmlBox redirect events
Previous Previous
 
Next Next
New Post 12/15/2011 7:27 AM
  ferroch85
35 posts
No Ranking


Control HtmlBox redirect events 

 Hi,

i'm doing an application with an htmlbox which loads some aspx pages. I need to know, during the aspx page navigation, which new url is going to load the htmlbox.

There's a way to do this?

Thank's

  Marco

 
New Post 12/18/2011 10:47 AM
  palli
11824 posts
1st Level Poster




Re: Control HtmlBox redirect events 

Hi Marco,

Can you explain in more detail what you are trying to accomplish. The HtmlBox is rendered as a component of the Visual WebGui Form or UserControl, and there isn't any specific Url that you can use to load it from the outside.  If you need to communicate from the aspx pages to the Visual WebGui application there are ways to do that, but we need more information before we can recommend any specifics.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 12/20/2011 4:04 AM
  ferroch85
35 posts
No Ranking


Re: Control HtmlBox redirect events 

 I need to know client side, which is the current url that the htmlbox is displaying !

 
New Post 12/20/2011 12:05 PM
  palli
11824 posts
1st Level Poster




Re: Control HtmlBox redirect events 

Hi,

You should view the rendered Html to see the structure, and that if you don't have HtmlBox.IsWindowLess = True, the HtmlBox is rendered as an IFrame with the src set to the Url your loaded .aspx page. This means that client side you should be able to issue a window.frameElement.src inside the scope of the HtmlBox's loaded resource to get that invormation.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 1/18/2012 11:26 PM
  ferroch85
35 posts
No Ranking


Re: Control HtmlBox redirect events 
Modified By ferroch85  on 1/19/2012 5:49:48 AM)

I tried what you say, but it isn't my solution :( . I explain you why:

for example i set in my htmlbox the following url: http://localhost:13050/AAA/example.aspx

my htmlbox load that page and inside of this page I've a filter box. So i put the filter and i press a button to trigger the filter action (all those elements are inside the page loaded by the htmlbox). Well, the htmlbox correctly reload the filtered page, and now the new url will be

http://localhost:13050/AAA/example.aspx?PAR=bbb  (i can see that from my browser with right mouse click on the htmlbox  and click properties).

But now, if i reload the src property, remain the initial (http://localhost:13050/AAA/example.aspx).

But it's fundamental for me retrieve the new url!

 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  Control HtmlBox redirect events
Assessment Bottom
.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