CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 7/14/2003 6:42:54 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
14 Items, 1 Pages 1 |< << Go >> >|
notsocleverdick
Asp.Net User
Treeview structure not displaying when connecting through proxy7/14/2003 6:42:54 PM

0/0

Hi all!

I have a problem in deploying an application that uses the treeview web control. The application resides on a machine on the LAN (Let's call it <webserver> and give it IP 100.100.100.10). The LAN is connected to the Internet through an ISA server (<ISAserver>, Internal IP 100.100.100.1, External IP 200.200.200.200). On the <ISAserver>, web publishing is set up to forward any request for 200.200.200.200/mywebapp to internal IP 100.100.100.10. I doubt any of this is really relevant, but just to be sure...

Now the problem:
- Using URL localhost/mywebapp from the <webserver> machine everything is OK.
- Using URL 100.100.100.10/mywebapp from a machine on the LAN, the app works 100%, including the treeview.
- Using URL 200.200.200.200/mywebapp from a machine on the LAN, the treeview doesn't display correctly. I see only text where the treeview should be (as if IE web controls haven't been properly set up, but it has, because it works when I use the internal IP 100.100.100.10)
- Using URL 200.200.200.200/mywebapp from any machine in the world, the treeview works on some, doesn't work on others. To date the ones where it doesn't work all connect to the internet through a proxy server and the ones where it does work don't connect through a proxy server.

Any ideas would be much appreciated!

Thanks

nscd
nscd
notsocleverdick
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy7/16/2003 4:13:50 PM

0/0

Some more info has come to light!

The proxy server connection thing was simply coincidental. The users who were not connecting through a proxy all had old browsers. I then found that if I changed the web publishing rule in ISA to route 200.200.200.200/* to the internal IP of my webserver everything worked OK, because the webctrl_client folder containing the .htc's is located in the web root and not the application root (and previously the routing was only set up for mywebapp subtree).

I still have a problem though. I want to move the webctrl_client folder to the application root (so that each application root will have a subfolder webctrl_client) because on my ISA server I want to set up multiple rules to point to multiple servers. (And I don't want them all to have the same one just for /webctrl_client, because then if I take one server offline it will affect all)

I've copied the webctrl_client folder from C:\Inetpub\wwwroot to C:\Inetpub\wwwroot\mywebapp, but this doesn't work. I'm hoping there is some way of pointing my application to the correct location (i.e. /webctrl_client relative to the app root) by setting something in web.config, but I haven't been able to find anything along those lines.

As always, any ideas are welcome...

nscd
nscd
stiletto
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy7/18/2003 1:29:01 PM

0/0

The webctrl_client folder is specified by the BaseRichControl class which is a parent of the TreeView control.

The only way to change this would be to get the IE Controls Source and build your own version of the controls and set it to use the AppRoot when it's building the directory reference.

The IE Controls Source is available and if you come up with a neat idea for setting the control's directory reference dynamically, let me know.
bill2clone
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy7/21/2003 8:11:50 AM

0/0

Sumthin you can test.
You can set a different virtual directory by adding a MicrosoftWebControls section to your web.config file like this:

e.g. Folder/webcontrols
iewebctrls installed in GAC


<configuration>

<configSections>

<section name="MicrosoftWebControls" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>

</configSections>

<MicrosoftWebControls>

<add key="CommonFiles" value="Folder/webcontrols" />

</MicrosoftWebControls>

</configuration>




if you have Version 1.1 of the Framework > "5000"
if you have Version 1.0 > "3300"

And don't forget to add this:
ImageUrl="Folder/webcontrols/images/folder.gif"...
and the dll in your site /bin dir
DNN skins Forum
Tressleworks modules
DNN & webhosting
IEWCtrls
notsocleverdick
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy7/21/2003 11:34:59 AM

0/0

Bill

Thanks a million. I found a similar posting somewhere else a few days ago and tried to paste it into my web.config without success, must have been some small syntax error. But yours works 100%.

Cheers


nscd
bill2clone
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy7/22/2003 8:26:39 AM

0/0

every day the same pleasure to help others.
I love this comunity.
DNN skins Forum
Tressleworks modules
DNN & webhosting
IEWCtrls
SamTheMan
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy12/22/2003 3:18:25 AM

0/0

Can you possible send me a copy o fthe relevant section of the Web.config file you used that works, my problem is very similar to yours.

It works fine in the devlopment environment, on on the local install but not when posted to the web.
Bill2clone
Asp.Net User
Re: SamTheMan12/22/2003 8:37:02 AM

0/0

Are U sure you installed iewebctrls in GAC?
DNN skins Forum
Tressleworks modules
DNN & webhosting
IEWCtrls
SharepointKida
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy3/11/2004 9:10:32 AM

0/0

Hi Mate!

I am using treeview control in My Sharepoint Webparts page. It's working fine as long as there is only 1 treeview in a page. as soon as I put another one, the new one just doesn't display the treeview! And if i check it on server (which is in NY and i am in Singapore). It shows both treeview happily!! I think it;s a proxy issue. Do you have any idea why this is happening? as i saw your post and you've faced a similar problem before.

Any help in this will be much appriciated.

thanks &
Regards,
Nilesh
notsocleverdick
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy3/20/2004 11:34:53 AM

0/0

Nilesh

I've had a similar problem, but only when the path for the webcontrols was specified in one of the treeview pages. Check this thread:

http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=332266

My app now uses two treeviews and they both work fine with the webcontrols path as specified in the web.config

Cheers
nscd
SharepointKida
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy3/23/2004 7:15:52 AM

0/0

Hi nscd!
I have tried what you have suggested and specified the newpath to implement treeview control on the server in web.config file, but it still didn't work! it's still showing me only first treeview control. though it generate tags for second treeview with all the correct paths and everything but it just doesnt show it. following is the code which generates both the treeview control, but only shows the first one. though i can see both the treeview displaying fine on the server or other computers on the same network in the server back in the NY. outside the network/outside proxy it just doesn't show the second treeview. Any Ideas??

thanks,
Nilesh

///////<!-code which generates the first treeview control -->

<?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS IMPLEMENTATION="/webctrl_client/1_0/treeview.htc" />
<tvns:treeview onselectedindexchange="SRNodeSelect()" id="SRTree" hoverStyle="text-decoration:underline;" selectedStyle="text-decoration:underline;" imageUrl="/webctrl_client/1_0/treeimages/closed.gif" selectedImageUrl="/webctrl_client/1_0/treeimages/open.gif" expandedImageUrl="/webctrl_client/1_0/treeimages/open.gif" selectedNodeIndex="0" HelperID="__SRTree_State__" systemImagesPath="/webctrl_client/1_0/treeimages/" showLines="false" indent="19" showPlus="false" selectExpands="true" style="font-family:Arial;font-size:Small;">
<tvns:treenode Type="SRNew" NodeData="http://www.bbc.co.uk" ID="2">
BBC Reports<tvns:treenode Type="SRThis" NavigateUrl="http://snyc99t20699.csfb.cs-group.com:81/test2/SG/shared%20documents/" ImageUrl="/webctrl_client/1_0/images/NEW.gif" SelectedImageUrl="/webctrl_client/1_0/images/NEW.gif" ExpandedImageUrl="/webctrl_client/1_0/images/NEW.gif" ID="3">
NY Reports
</tvns:treenode>
</tvns:treenode><tvns:treenode Type="SRNew" NodeData="http://www.expat.com.sg" ID="4">
SG Reports<tvns:treenode Type="SRNew" NodeData="http://www.google.com.sg" ImageUrl="/webctrl_client/1_0/images/NEW.gif" SelectedImageUrl="/webctrl_client/1_0/images/NEW.gif" ExpandedImageUrl="/webctrl_client/1_0/images/NEW.gif" ID="6">
SG Subreports
</tvns:treenode>
</tvns:treenode>
</tvns:treeview>

///////<!-code which generates the second treeview control -->

<?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS IMPLEMENTATION="/webctrl_client/1_0/treeview.htc" />
<tvns:treeview onselectedindexchange="QLButtonClick()" id="QLTree" hoverStyle="text-decoration:underline;" selectedStyle="text-decoration:underline;" selectedNodeIndex="0" HelperID="__QLTree_State__" systemImagesPath="/webctrl_client/1_0/treeimages/" showLines="false" indent="19" style="font-family:Arial;font-size:Small;">
<tvns:treenode Type="Consumer" NodeData="http://www.microsoft.com" DefaultStyle="font-weight:bold;" ID="4">
Microsoft<tvns:treenode Type="Consumer" NodeData="http://msdn.microsoft.com" DefaultStyle="font-weight:bold;" ID="3">
MSDN<tvns:treenode Type="Consumer" NodeData="http://support.microsoft.com" ImageUrl="/webctrl_client/1_0/treeimages/dot.gif" SelectedImageUrl="/webctrl_client/1_0/treeimages/dot.gif" ExpandedImageUrl="/webctrl_client/1_0/treeimages/dot.gif" ID="7">
MS Support
</tvns:treenode><tvns:treenode Type="NewWin" NodeData="http://www.google.com" ImageUrl="/webctrl_client/1_0/treeimages/dot.gif" SelectedImageUrl="/webctrl_client/1_0/treeimages/dot.gif" ExpandedImageUrl="/webctrl_client/1_0/treeimages/dot.gif" ID="9">
MSDN Child
</tvns:treenode>
</tvns:treenode><tvns:treenode Type="Consumer" NodeData="http://www.microsoft.com/sharepoint" ImageUrl="/webctrl_client/1_0/treeimages/dot.gif" SelectedImageUrl="/webctrl_client/1_0/treeimages/dot.gif" ExpandedImageUrl="/webctrl_client/1_0/treeimages/dot.gif" ID="2">
SharePoint
</tvns:treenode>
</tvns:treenode><tvns:treenode Type="Consumer" NodeData="http://www.yahoo.com" DefaultStyle="font-weight:bold;" ID="5">
Yahoo!<tvns:treenode Type="Consumer" NodeData="http://photos.yahoo.com" ImageUrl="/webctrl_client/1_0/treeimages/dot.gif" SelectedImageUrl="/webctrl_client/1_0/treeimages/dot.gif" ExpandedImageUrl="/webctrl_client/1_0/treeimages/dot.gif" ID="6">
Yahoo Photos!
</tvns:treenode>
</tvns:treenode><tvns:treenode Type="Consumer" NodeData="http://www.csfb.net" DefaultStyle="font-weight:bold;" ID="10">
CSFB
</tvns:treenode>
</tvns:treeview>
stiletto
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy3/23/2004 11:15:17 AM

0/0

My guess would be that the proxy server sees the second request for the .htc file and thinks "The browser already has that, I don't need to send it again."

I would check with the people responsible for the proxy server and see if it can be set to always send files with the .htc extension.
strumphyus
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy10/4/2004 8:14:37 AM

0/0

The solution is to make WebPublishing Rule for the WebCtrl folder also, from ISA Server 2000, if you want more explanations mail to me on [email protected]

notsocleverdick
Asp.Net User
Re: Treeview structure not displaying when connecting through proxy10/31/2004 6:35:19 AM

0/0

Strumpshyus

I don't agree with that. It depends a lot on the environment.

For example, we have about ten different .net web apps hosted on a number of different machines on our LAN. Accessing these from the outside world is done through a single static IP which goes to an ISA server. The ISA server through Web Publishing rules passes http and https requests on to the respective machines on the internal network making a distinction by way of the path. E.g. xxx.xxx.xxx.xxx/app1 goes to server1/app1, xxx.xxx.xxx.xxx/app2 goes to server2/app2 etc. etc.

All these apps use web controls. Now, if I specified a web publishing rule that says xxx.xxx.xxx.xxx/WebCtrl requests should go to 192.1.168.1/app1, I suddenly have a problem, because now app2 falls over for anyone accessing it through the ISA server anytime server1 goes down even though app2 has nothing to do with server1.

So I prefer to put the Web controls in a relative path on every server and configure my apps to recognise that the web controls are in a relative path.

Cheers
nscd
14 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Treeview structure not displaying when connecting through proxy ... Treeview structure not displaying when connecting through proxy. Last post 10-31 -2004 5:17 AM by notsocleverdick. 13 replies. Sort Posts: ...
Amazon S3 :: September Public Beta Release Sep 28, 2007 ... With the latest version, I can't connect through my proxy server. When I go back to view the proxy server settings, they are not what I set ...
X-Chat ChangeLog ... The userlist and treeview can now be placed on the same side, with a resize handle .... Improved the error reporting when connecting through a Socks proxy. ...
Graphical Interfaces for Racer: Querying DAML+OIL and RDF documents Racer Proxy is started as a front-end to an associated Racer Server. ... not shown in RICE. RICE can connect to a Racer Server that has already loaded a ...
14-July-2008 Build 253 release ... Fixed zip files within zip files not displaying their sizes (broken in 2.4.2). .... Fixed bug when connecting through an FTP proxy to a host on a non ...
(WO/2002/006981) METHOD OF REFORMATTING WEB PAGE AND METHOD OF ... As described above, if check boxes in the tree view section 22 are checked, .... the request is transmitted to a real server through a proxy server, ...
WinFuture-Forum.de > X-chat Fixed dialog buttons not displaying correctly if you have "Resizable userlist" turned .... Fixed connecting to a IRC server via proxy (bug in 2.6.5 only). ...
FTP Explorer Review and Download,FTP Software,Networking Software Can't connect? Not to worry. FTP Explorer will automatically retry if the ... Its intelligent tree view learns the directory structure as it goes. ...
.NET Forum Page 29 - Bytes Site Map Net 1.1 (2003) - trouble with using IE proxy server settings ยท WEB-VB Impersonation within VB .... Populating four levels of tree view from the database ...
NowSMS 2006 Now Available NowSMS is an SMS Gateway, MMS Gateway, WAP Push Proxy Gateway and Multimedia .... "Help" button was not properly enabled for displaying the NowSMS 2006 PDF. ...




Search This Site:










dataset vs sqldatasource

search module for 2.0.4

adding language package + forum issue

duplicate index question

passing information between pages

theme is not applied to a generated page

ftb 'import from image gallery' error

is there a page execution timer around?

setting a button click event to check to see if a username is a member

web server control containing another web server control?

help!! unable to get dnn to run for 1st time

popcalwin is null or not an object

login loop

need container help - parsing (3.0.12)

configuring adam

configuration error

vss get, compile, publish web site in whidbey?

web.config separate login forms for multiple directories

themes

login link

are there any free webparts for stocks, weather, etc???

dotnetnuke ... how to modify it

please please help with capturing dropdown postback!

simple image pathing solution

how to change the verb order?

reset ad password using smart-card client-certificate

session variables in a login page

controlling "require client certs" from code

10.0.10.e issue with graphics

ie web control treeview

 
All Times Are GMT