473,386 Members | 1,803 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,386 software developers and data experts.

problem with Microsoft web controls...

Hi,
I am building a .net 1.1 application with microsoft webcontrols. The
environment that i am deploying this application has 1.1 and 2.0 framework .
My development environment also has these environment side by side. Every
thing works fine on my development machine but on staging area i am have
problem with microsoft webcontrol.
I have downloaded and installed microsoft webcontrols and followed every
step in the readme.txt file but when i view the pages the tab control appears
as plain text rather than tabs. For example if i view tabstrip.aspx page that
comes with the sample i see "tab1 tab2 and tab3" displayed as text only.
I have searched web for help and have verified:
1. The webctrl_Client folder and its contents resides in my web root folder.
2. .htc files are there.
3. Microsoft.Web.UI.WebControls.dll resides under bin folder of my website.
Any suggestion?

--
Thanks
SCS

--
Thanks
SCS
Nov 9 '06 #1
4 4145
Hi,

The style should be set by the .htc file. It's not related to ASP.NET or
IIS. You can test this by using a simple html page:

<html>
<body>
<?XML:NAMESPACE PREFIX="TSNS" />
<?IMPORT NAMESPACE="TSNS" IMPLEMENTATION="tabstrip.htc" />
<TSNS:TabStrip selectedIndex="1"
tabDefaultStyle="background-color:#000000;font-family:verdana;font-weight:bo
ld;font-size:8pt;color:#ffffff;width:79;height:21;text-align:center;"
tabHoverStyle="background-color:#777777;"
tabSelectedStyle="background-color:#ffffff;color:#000000;" >
<TSNS:Tab>Home</TSNS:Tab>
<TSNS:Tab>About us</TSNS:Tab>
<TSNS:Tab>Products</TSNS:Tab>
<TSNS:Tab>Support</TSNS:Tab>
<TSNS:Tab>Contact us</TSNS:Tab>
</TSNS:TabStrip>
</body>
</html>
Put above html page and tabstrip.htc in the same folder and open the html
page in IE, IE Information Bar will first block the content, the TabStrip
just looks like some plain text; after you enabled it, it should render the
tabstrip with styles.

It this doesn't work on your side or the IE Information Bar doesn't show up
at all, it might be related with IE security settings.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 10 '06 #2
Thanks Wang for the reply. But the problem i am facing is that i cannot see
tabstrip on same browser running on same machine when i request for the page
from 2 different website. To elaborate on that, i have same code on my
machine and production environment. When i request that page from my machine
using http://localhost/myPage.aspx (dummy name) then i see the tab strip
correctly but when i request the same page from my machine from our
production environment using https://mywebsite/mypage.aspx(again dummy names)
i don't see the tab strip!!! which means that the problem is not related to
IE security settings ( as i am using same machine to request pages from 2
different website).
Your thoughts...
--
Thanks
SCS
"Walter Wang [MSFT]" wrote:
Hi,

The style should be set by the .htc file. It's not related to ASP.NET or
IIS. You can test this by using a simple html page:

<html>
<body>
<?XML:NAMESPACE PREFIX="TSNS" />
<?IMPORT NAMESPACE="TSNS" IMPLEMENTATION="tabstrip.htc" />
<TSNS:TabStrip selectedIndex="1"
tabDefaultStyle="background-color:#000000;font-family:verdana;font-weight:bo
ld;font-size:8pt;color:#ffffff;width:79;height:21;text-align:center;"
tabHoverStyle="background-color:#777777;"
tabSelectedStyle="background-color:#ffffff;color:#000000;" >
<TSNS:Tab>Home</TSNS:Tab>
<TSNS:Tab>About us</TSNS:Tab>
<TSNS:Tab>Products</TSNS:Tab>
<TSNS:Tab>Support</TSNS:Tab>
<TSNS:Tab>Contact us</TSNS:Tab>
</TSNS:TabStrip>
</body>
</html>
Put above html page and tabstrip.htc in the same folder and open the html
page in IE, IE Information Bar will first block the content, the TabStrip
just looks like some plain text; after you enabled it, it should render the
tabstrip with styles.

It this doesn't work on your side or the IE Information Bar doesn't show up
at all, it might be related with IE security settings.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 13 '06 #3
Well, this looks like your server might not be serving the .htc file to
client browser. Would you please take a look at w3svc log file to check
that?

You can find the log files at %windir%\system32\logfiles\W3SVC1, look for
the newest file and see if the .htc file is served correctly (you might
need to use other folder if you have multiple web sites).

Here's some sample log records on my site:

2006-11-14 11:39:21 W3SVC1 157.60.112.73 GET /tabstrip/test.htm - 443 -
157.60.113.223
Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Maxthon ;+.NET+CLR+2.0.507
27;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.30;+Info Path.2) 200 0 0
2006-11-14 11:39:21 W3SVC1 157.60.112.73 GET /tabstrip/tabstrip.htc - 443 -
157.60.113.223
Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Maxthon ;+.NET+CLR+2.0.507
27;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.30;+Info Path.2) 200 0 0
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 14 '06 #4
Thanks, I found the cause of problem. We have URLScan on the production
machine which was preventing the .htc file to be served. Once i added that
file extension to list of allowed file extension everything started working
like charm...
Thanks a lot for you help

--
Thanks
SCS
"Walter Wang [MSFT]" wrote:
Well, this looks like your server might not be serving the .htc file to
client browser. Would you please take a look at w3svc log file to check
that?

You can find the log files at %windir%\system32\logfiles\W3SVC1, look for
the newest file and see if the .htc file is served correctly (you might
need to use other folder if you have multiple web sites).

Here's some sample log records on my site:

2006-11-14 11:39:21 W3SVC1 157.60.112.73 GET /tabstrip/test.htm - 443 -
157.60.113.223
Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Maxthon ;+.NET+CLR+2.0.507
27;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.30;+Info Path.2) 200 0 0
2006-11-14 11:39:21 W3SVC1 157.60.112.73 GET /tabstrip/tabstrip.htc - 443 -
157.60.113.223
Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Maxthon ;+.NET+CLR+2.0.507
27;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.30;+Info Path.2) 200 0 0
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 14 '06 #5

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

Similar topics

4
by: waltborders | last post by:
Hi, Because the blind are unable to use a mouse, keyboard navigation is key. A major difficulty is that not all windows forms controls are keyboard 'tab-able' or 'arrow-able' or have "tab...
3
by: Eric | last post by:
I have built a composite user web control that I want to create dynamically. The form will contain a variable number of these controls and as well some of the contents of the user web control...
9
by: Matt Tapia | last post by:
I having a problem that receives the following error: Specified cast is not valid And I need some help. Here is what is happening: I have a form with a drop-down control that contains a list...
5
by: Luis Fajardo | last post by:
I'm expiriencing a basic HTML appearance problem with ASP.NET. Following a couple of sample tags to ilustrate my problem: <asp:TextBox id="txtWidthIssue" runat="server"...
3
by: Tim::.. | last post by:
Can someone please tell my why I get the following problem when I type the following piece of code! How do I get around this??? The idea is that when a user clicks a button on a form it causes...
3
by: Ankit Aneja | last post by:
I have a strange situation and I have no idea how to solve this. Its a Recruitment Search Page,in the Admin Page, for every button click event the Admin Person has to create a checkbox on the users...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
26
by: Tom Becker | last post by:
Is there a way, from Access, to programmatically click the Send and Receive button in Outlook?
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.