Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search


Web Forms :: CssFriendly Not Publishing Correctly

I have problem that just started showing up and I have no idea where it is coming from. I am making a website ( that uses the CSSFriendly.dll and .browser files to make a menu control look pretty. Unfortunately, it looks great when I preview the page from VS2010, but as soon as I publish it, the menu turns into a text menu and it doesn't render any of the ul's and li's that I expect to see. If you go to [URL] I've posted a picture of the code before and after publishing. I am using .net 3.5 because my host is slow at adopting new frameworks versions, but it worked until about a week ago. It just stopped working after that.

View 3 Replies (Posted: Jun 21, 2010 09:19 PM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
Configuration :: CSSFriendly Menu Not Working On Publishing To Server 2003
After months of work I thought I had finished with my web application using VS2008 with CSSFriendly menu. On publishing, the menu did not work and I got all sorts of errors. DeletingCSSFriendlyAdapters.browser in App_Browsers folder improved the layout butthe menu was not rendered with css even though the html source shows thetare linked. On desperation, I changed the target Framework from 3.5 to 2.0 and then back to 3.5 with no avail.

Posted: Dec 13, 2010 03:03 PM

View 5 Replies!   View Related
Web Forms :: Freetextbox Is Not Getting Displayed Correctly In IE8 But Getting Correctly Displayed In Firefox
Freetextbox is not getting displayed correctly in IE8 but getting correctly displayed in Firefox, I mean the icon controls are not getting displayed correctly.

Posted: May 12, 2009 06:02 AM

View 9 Replies!   View Related
Web Forms :: Publishing - Gridview Refuses To Work
i have a web site that for some reason works perfectly when im running through visual studios, but the minute i publish it my one button in a gridview refuses to work.

Posted: Jun 24, 2010 09:13 AM

View 18 Replies!   View Related
Web Forms :: Want To Be Able To Control The Publishing Of The New Webpart So That They Have To Come To Me Before It Can Be Published?
I am creating a webparts solution for a customer. They will have the facility to create new webparts using web user controls. I want to be able to control the publishing of the new webpart so that they have to come to me before it can be published. They will have the source code on their server. I currently useWebPartsListUserControlPath to point to another web user control file that lists the available webparts. Is there a way that I can compile the list file so that they cannot add the new control to it. What I want is for the customer to ask me to add the new webpart and I would add it and recompile the file. Hope this makes sense. If there are any other alternatives I would be most grateful to hear them.

Posted: Oct 28, 2009 09:27 PM

View 1 Replies!   View Related
Web Forms :: Changing Connection String After Publishing?
i have created a website and i have published into a server whose connection string is specified in the connection string

Now i am sending the published filesto some company.

If they just change the connection string of web.config to their server, will it work?

Posted: Apr 12, 2010 05:20 AM

View 1 Replies!   View Related
Web Forms :: Menu Control Not Working After Publishing?
So i've got a website i''ve been working on using the visual studio development server. When Ipublished it to myweb server, the menu control sub-items are not showing up in IE8. They do in firefox.They show in both just fine when workingthrough visual studio.

My dev machine: studio 2008, windows 7 64bit

production server: server 2003 standard 32bit, iis6

Could it be a different version of the .net framework?

Posted: Nov 02, 2010 03:51 AM

View 4 Replies!   View Related
Web Forms :: Publishing Site To Main Server?
can any one suggest me what are the things we should careful in while uploading (publishing) web project to main serveri have a web project which work well under local server but when its published(or up rooted) in to main server there it shows somany exception.

Posted: Oct 14, 2009 12:40 PM

View 6 Replies!   View Related
Web Forms :: Publishing Sample Webform Using Webforms?
I am a newbie at ASP.NET and I am testing ASP.NET Webforms using Microsoft Visual Web Developer 2010 Express to create a sample webpage that allows me to add/delete/edit some tables in a grid directly to a MSSQL2008 database.I did follow te steps on the sample video 'Build Your First ASP.NET Application with ASP.NET Web Forms' on this works fine on my local machine, I am able to add/delete/edit tables in a gridNow I want to publish the webform and database to my webhosting provider and after this my problems started. I founding problems publishing the webfiles using a normal FTP user wich I can use correctly using any other FTP clientI also getting a error when publising my database. I am connecting via the databaseserver IP or host using a normal SQL authentication that works fine at any other connectionscript.What is going wrong?1) Does anybody have a clue what is going wrong?2) Does anybody have a manual or something to publish a ASP.NET Webform from your local machine to a live Windows server?

Posted: Jun 18, 2010 09:04 PM

View 10 Replies!   View Related
Web Forms :: Publishing Content On Website In Regional Languages?
I have to publish content in regional languages on website(using,c#).

Posted: Dec 03, 2009 01:39 PM

View 1 Replies!   View Related
Web Forms :: Display Xml File After Publishing To Production Server
In my Visual Studio 2008 web site, I created a new folder named Reporting. Then one of my web pages creates an xml file in this new folder when the user clicks a button. The user then clicks another button and the xml file displays in the browser. This all works fine on my development PC.Butif I publish this web site to my production server, it does not work. I get an error when I click the first button to create my xml file. The error reads: Could not find part of the path 'c:windowssystem32inetsrvReportingabc.xml' What must I do so that this works on my development PC and also my production server?

Posted: Oct 18, 2010 06:58 PM

View 7 Replies!   View Related
Web Forms :: How To Edit Global Resources After Publishing Website
how i can edit Global resources after publishin web site?

Posted: Jul 08, 2010 05:00 AM

View 2 Replies!   View Related
Web Forms :: Button Background Image Not Showing After Publishing?
I have a button in a gridview. The button is associated with a style sheet.The style has a background image associated with it. It works fine in developement but when I publish it to our server, the images don't show up. If I publish it to a hosting site, it works. It use to work.The images are in the directory. IIS 7


Posted: Mar 10, 2010 03:24 PM

View 2 Replies!   View Related
Web Forms :: Not Usable For A Commercial Product Without Publishing The Source Code?
'm looking for an ASP .net discussion forum widget:I have read somehwere that the ASP .net forum implementation is avialable, buthaven't been able to find it :-(.I have found yet another forum, but isGPL licensed, that means... not usable for a commercial product without publishing the source code.JitBits looks good, di you have any experience with this product?On the other hand my client is VB .net based, all theforums implementations I have found areC# based,will that mean that I have to create a subsite?

Posted: Oct 12, 2010 12:50 PM

View 3 Replies!   View Related
Web Forms :: Form Won't Publish Correctly?
I need a submit form in my site and tried to use this code to create one. It works on one of my sites but won't on this one (see the problem at [URL] I am posting my code below that goes with the page published at the above URL. Can anyone tell me why it displays the way it does instead of as a submit form?

Posted: Sep 13, 2010 10:49 PM

View 2 Replies!   View Related
Web Forms :: Site Not Rendering Correctly
In my dev environment i create a site which looks exactly the way i would like it when previewed inmy localbrowser. My dev machine uses Windows Vista, VS .Net 2008 plus all updates including IE8. I then deploy the site toour web server (Windows Server 2003 with all updates + IIS and IE8 with all web services running). When the site is viewed in a browser from a client PCthe entire site is overlapping certain areas etc which is a problem. I then try and view it in IE 8 on the server and same problem.

I clean out temp files on my dev machine and run the app again - looks perfect on my local machine but completely wrong when viewing in a browser when the site is hosted on the server. I clean out temp files on my PC aswell as the server and same problem. I Install Firefox and both local copies and the copy hosted on the server look perfect.

Posted: Oct 26, 2009 03:08 PM

View 1 Replies!   View Related
Web Forms :: Tables Not Updating Correctly?
In the followingcode, the user documents types are not getting updated, theydo initially but don't stayupdated. perhaps you can see something blatant here:

<asp:BoundField DataField="DocumentType"
HeaderText="Customer Document Types"
SortExpression="DocumentType" />
<asp:ButtonField CommandName="Delete" Text="Delete" />


Posted: Mar 29, 2011 12:24 AM

View 2 Replies!   View Related
Web Forms :: Can't Pull Information From A TableCell Correctly
I have a tablecell that has a dropdownlist in it and I'm trying to pull the dropdownlist text that is in the selected cell but when I try the below code, it doesn't work. How can I get the text from the dropdownlist correctly?

foreach (TableRow row in Table.Rows)


Posted: Nov 03, 2009 07:09 PM

View 4 Replies!   View Related
Web Forms :: File Upload Not Working Correctly?
I have a simple file input field that utilizes a File.Copy routine to move the file from the local store to the server. This part of the application works fine in staging but in production I had to establish a work around in order to get it to work. I have the users do a Save As on the file they want to upload and then slightly change the name of the file and then it will upload. I do not have to do this in staging with the same file in order for it to work. I am racking my brain as to whether this is a permissions issue or code issue or what.

Posted: Apr 01, 2010 11:05 AM

View 4 Replies!   View Related
Web Forms :: HtmlEncode() And HtmlDecode() Not Working Correctly?
I have a url which I wish to encode that contains a couple of encrypted querystring parameters:


I've been asked by a client I'm working with to html encode this url. I've used HttpUtility.HtmlEncode() to do this. This returned the following:


This appears to be correct as the '&' has been replaced with '&'. However a problem arises when I try to use HttpUtility.HtmlDecode() on this new value as I get the following returned:


What appears to have occurred is the '&' has had the 'amp' removed and the ';' has been html encoded (I checked the value of '%3b' and it corresponds with the html encoded value of a semi-colon). I'm not sure why this is happening?

I realise I could manually do a .Replace("%3b", "") as a temporary fix but I can't see this being a good long-term solution.

Posted: Dec 20, 2010 11:45 AM

View 4 Replies!   View Related
Web Forms :: Image Buttons Are Not Loading Correctly?
In my web page i am having lot of imagebuttons. sometimes buttons are loading correctly. sometime i won't load correctly. there will be symbol of image. but if i reload the page. button is appeared.

Posted: Aug 27, 2009 10:14 AM

View 5 Replies!   View Related
Web Forms :: The Profile Is Not Functioning Correctly Under Sqlserver2000
i am using visual basic 2008 with sql server 2000 ,, since sql2005 is not compatible with my vista. how can i connect to my database (default) i am facing a lot of problems .

Posted: Feb 06, 2010 01:15 PM

View 2 Replies!   View Related
Web Forms :: Correctly Reference Root Of Website?
I want to consolidate my internal links to the root of the site. Today, when a user navigates to my site the URL is but all of the links that takes the user back to the root page goes to ~Default.aspx, which gives URL

The reason i want to change is that search engines seem to ranks them separately.

Is a single tilde (~) or a single slash (/) the correct way to do this. The navigation seems to take a bit longer than specifying ~default.aspx.

Is it also recommended to link to querystrings with "~/d=***" instead of "~default.aspx?d=***"

Posted: Nov 16, 2009 12:14 AM

View 1 Replies!   View Related
Web Forms :: Page Not Displaying Content Correctly?
I am rewriting a website for a company who want to keep the existing stock listing format of asp pages pulling info from an uploaded access database. I have left all the asp code alone, just changed the html around it to accommodate a better (albeit not perfect) design than previously used. I have also been adding items to the database exactly the same way the staff do it now.

However, when I view the pages, there is no content, only the html "wrapper". I get the error message displayed where the content should be: "An error occurred on the server when processing the URL. Please contact the system administrator.

If you are the system administrator please click here to find out more about this error."

I am running IIS on my local machine and as far as I am aware, it is configured correctly. I can view asp pages that do not request content from the database fine.

Pages are served on my local machine under
Database is served under

Posted: Mar 02, 2010 12:55 PM

View 1 Replies!   View Related
Web Forms :: Dropdown List Isn't Refreshing Correctly?
I have 2 dropdowns on a page..#1 has a few different "Types" to pick from.. based on whatyou pick, that updates the #2 dropdown withthe values returned.

So when the page loads the #2 drop down is empty and not available until you make a selection on #1. So if i pick one the #2 dropdown updates and i see those selections.. Now if i change my selection in #1, the #2 gets updated.. but its keeping thevalues from the first selection.. soas i pick different types. thelist just keeps growing..

Here is the dropdown for the first selection #1


Here is the dropdown for the second selection #2


Here is the datasource for the #2 dropdown


Here is the code for the event evaltype_SelectedIndexChanged


Posted: Nov 12, 2009 02:48 PM

View 7 Replies!   View Related
Web Forms :: Using Silverlight Within Asp:content Tag Isn't Working Correctly?
new to using Silverlight but have been doing development for a while.Today I added a Silverlight Application to my existing web site solution which contains one other project - my Web Application project.As such, when I created the Silverlight Application, Visual Studio set up a test aspx page for me in my web app that displays the MainPage.xaml content.That works fine - I can add content to the xaml [code]<TextBlock>Hello World</TextBlock>[/code], run the debugger and see the content on the test page.However, what I would like to do is nest the Silverlight content within my already existing master page. So I edited the test page (SilverlightApplication1TestPage.aspx) to use the master page. This should be accomplished by adding the MasterPageFile property to the Page tag at the top of the file ex. [code]<%@ Page Language="C#" MasterPageFile="~/master_page.master" AutoEventWireup="true" %>[/code] then removing the html, head, body and form tags and replacing them with the asp:content tags which have id's corresponding to the master page content holders.The master page does indeed show up when the page is loaded but the Silverlight content does not.I suspect that there is something I need to add somewhere due to the fact that the Silverlight object tag is now nested in the asp:content tag in the page but I really have no clue how to make this work.

Posted: Aug 24, 2009 11:49 PM

View 2 Replies!   View Related
Web Forms :: CustomValidator Doesn't Validate Dropdowns Correctly?
I have two lines of dropdown menus. There are 3 dropdown in each line (together 6). First dropdown in each line is "independent". The second and third are dependent. If user selects second, page loads and user can then selects item in third. So user have option to select first OR second and third in each line.

.ASPX code:


Since I've found out that you can't validate dropdown controls directly with CustomValidator I've wrote few lines of code for each of dropdowns to insert some values in txtBx_Cln1n2 which will be hidden when the page will be finished.


Unfortunately the code for CustomValidator have some bugs. If user doesn't select anything error message is shown. But if he choose 1 employee and then second and then select (I doubt that anybody will do this but I want to be sure and prevent as much exceptions as possible) the first item in one of the dropdowns ("all employees" or "employees by group") the custom Validator will allow execution of code for link button although the validation code should prevent this.


I know I could this a little better since code is quite complicated if I want to tell the user which employee he/she forget to enter. I've tried instead of SelectedItem.Value also SelectedIndex != 0 but the problems are the same.

I couldn't validate this without the use of textbox. But this method is also making complications since user can select 2 employees and then in one of the selected dropdown change selection to index = 0. Maybe I have to disable viewstate on all dropdowns? But this would probably affect INSERT of data?

Posted: Dec 20, 2010 02:07 PM

View 4 Replies!   View Related
Web Forms :: Getting Back / Forward Buttons To Work Correctly?
My program has 4 pages that have session variables on each page and they are retrieved on the 4th and final page then submitted to a database when the submit button is clicked. When i was testing my program i filled out all 4 pages and then clicked back to refill-in something on a previous page and all my information wasn't filled out anymore. So i added the code in the page load sub btnBack.Attributes.Add("onClick", "javascript:history.back(); return false;") and this cured that problem so i could click back and the data would still be filled out.

Then i saw a new problem....after i went back to fix something on previous pages 1 and 2, i would click the next button to go forward to pages 3 and 4 that i've already started filling out and now the data on those pages were cleared. So how do i make it so that the information from the whole
program stays filled out whether i go back and forth from the 1st page to the 4th until i click submit on the 4th page?

Posted: Aug 31, 2010 03:24 PM

View 3 Replies!   View Related
Web Forms :: Javascript Calendar Not Displaying Correctly In Firefox
I'm using javascript calender control in my website. when i open my site in IEand launch the JS calender its shows fine. but in Firefox its not displaying correctly. in my script i'm finding top and left possition of the control where we need to display the calender as follows.

do {
offsetTop +=parseInt(scwEle.offsetTop, 10);
while (scwEle.tagName != 'BODY' && scwEle.tagName != 'HTML');

when i run this script from IE its displaying correct top and left posstion of the object. But in Firefox, the object "scwEle.offsetParent" returns as null. here scwEle is the textbox object present in the page. why this is happening only in firefox.

Posted: Nov 06, 2009 04:06 AM

View 2 Replies!   View Related
Web Forms :: DIV Background Images Not Load Correctly In Firefox
In my website i've done everything in part of header working done in IE, but when i'll try to firefox some part of div background images are not loaded i put the backgroud path in CSS. Can you explain why mozilla Firefox does not load perfectly....

Posted: Sep 21, 2009 01:04 PM

View 4 Replies!   View Related
Web Forms :: Drop Down List SelectedIndexChanged Not Working Correctly
I'vegot a form with 3 drop down lists. If I choose a report on the Actions DDL, which displaysa sql report as a pdf, then select an item in one of the other DDL's, theSelectedIndexChanged eventfor theActionsDDL is fired again. I can't get the other DDL's SelectedIndexChanged event to fire.


Posted: Feb 02, 2010 04:57 PM

View 1 Replies!   View Related
Web Forms :: Tab Delimited File Won't Display Correctly In Excel?
We're converting an old classic asp system to dot Net. The old system has an export link, that creates a tab delimted file and downloads it. If you open the file, it opens in Excel, and Excel automatically uses the tabs to split the data into different fields.

I thought this is going to be a no-brainer. Well, it turns out that Murphy is playing tricks again. My C# application creates the data correctly. If you choose to save the file and open it in notepad, you can see that the fields was delimited. I've made sure that my file is Unicode, as it is in the old system. I even used Quickwatch that the character delimited used by both systems is character 9.

Yet, for some misterious reason, when I open the file in Excel, Excel throws away my tabs and put all the data in the first row. I mean wtf??? I just can't figure out the difference between the two files.

Here is the code generating the file:


Posted: Sep 30, 2009 07:52 PM

View 9 Replies!   View Related
Web Forms :: Master Page Properties Not Working Correctly?
In my default.aspx I have;

<%@ Page Title="" Language="VB" MasterPageFile="~/masterpage.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" AspCompat="true" %>
<% @ MasterType VirtualPath ="~/masterpage.master" %>

I have setup properties, for example;

Private _theskin As String
Public Property theskin() As String
Return _theskin
End Get
Set(ByVal value As String)
_theskin = String.Empty
End Set
End Property

I was then expecting to beable to access these properties from the default.aspx.vb page in this way;

If Master.theskin = foo Then
do things
End if

In the default.aspx.vb the code is highlighted with blue underline and says;

theskin is not amemberof system.Web.Ui.Masterpage

Am I making an error somewhere along the line? Do I need to do more to be able to expose the properties to default.aspx.vb?

Posted: Feb 03, 2010 06:51 AM

View 2 Replies!   View Related
Web Forms :: How To Get AutoPostBack Working Correctly With User Control
I have an AJAX enabled ASP.Net 3.5 app in which I have:

A Master PageA Web Content PageA User ControlMore precisely, there's a Placeholder control in the Web Content Page into which one of many User Controls are loaded (one at a time or none at all).

The basic User Control I'm working with has a bunch of Labels and one DropDown ListBox. The latter control is a date selector - ie. June 2010, May 2010, April 2010, etc. When the user changes the date, since AutoPostBack = true for the control, a PostBack occurs. But when this happens, the User Control disappears!

All I want is for a partial postback to occur so that I can use the new date to repopulate the various Label controls. I even put the Placerholder control in its own UpdatePanel but this didn't resolve anything - the User Control still disappeared.

Posted: Jun 08, 2010 12:07 AM

View 7 Replies!   View Related
Forms Data Controls :: GridView Not Updating Correctly?
I'm using a GridView to retrieve data from a stored procedure using a SQLDataSource (db is SQL Server 2008). When I compile my application and go to my website, all the data is loaded and shown fine. If I was to add a new entry to the table however (a seperate page on my website has a Wizard control to facilitate this) and then return to the page with the GridView, the new entry doesn't show up.

Looking from SQL Server, the data has been added, but the GridView isn't updating to show it. If I were to recompile the project with F6 and refresh the page, the new data will show up. I tried calling DataBind() on the GridView in the Page Load event, however the issue still remains.

Posted: May 14, 2010 07:44 AM

View 5 Replies!   View Related
Forms Data Controls :: GridView Not Updating Value Correctly?
I have a GridView in ASP.NET. I have an Edit CommandButton for every line in the GridView to edit the data on that line. All of this works fine except for the fact that when the user clicks on Update, it does not update with the correct value that the user entered. I have this as a Template field with the textbox to edit bound to the field, so it updates when the user changed the value and clicks Update. However it does not work. I have tried almost everything and its very frustrating. Here is the code for the Data Source:

<asp:SqlDataSource ID="Table1DataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>"
InsertCommand="INSERT INTO TABLE1(ProjectId, WBS, WBSTitle, VersionId) VALUES (@ProjectId, @WBS, @WBSTitle, @VersionId)"


Posted: Feb 01, 2011 01:51 PM

View 3 Replies!   View Related
Web Forms :: Textbox In The Form But Text_changed Not Working Correctly?
I got a textbox in my form and I want to when a user start typing in the textbox the listbox below the textbox will select the item that starts with that string

for example, it i type I

than in myserver side code will call that SearchString method which will go through that listbox and do the rest...

protected void CountryTxt_TextChanged(object sender, EventArgs e)
string s = CountryTxt.Text;

the problem is it only stops in the textchanged after I press the enter key; it doesn't seem to work just by typing the characters in the textbox...

<asp:TextBox ID="MachineTxt"
runat="server" Width="42px"
ontextchanged="CountryTxt_TextChanged" AutoPostBack="True"> </asp:TextBox>

Posted: Oct 22, 2010 10:19 AM

View 4 Replies!   View Related
Forms Data Controls :: Database Won't Update Correctly?
Sometimes the database clears everything and keeps the original status record.I don't know why this won't update,


Posted: Aug 09, 2010 09:20 AM

View 3 Replies!   View Related
Web Forms :: Master Page Label Not Being Updated Correctly?
I run through some code in my debugger that is definitely changing the value of a label on a master page. But it's not changed on the page:

// set the label on the masterpage
olbl.Text = Session["TestScriptCount"].ToString() +
" Test Scripts";
Label olbl = (Label)Page.Master.FindControl("TestScriptCount"].ToString()
+ " Test Scripts";

Posted: Feb 01, 2010 08:20 PM

View 3 Replies!   View Related
Web Forms :: Updated Pages Don't Load Master Page Or CSS Correctly
I updated three pages on my site: [URL] When I navigate to any one of these three pages, they all show the main body content but the master page isn't loading which means none of my CSS is being run either. The webform.aspx and the feedback-form.aspx pages have had <form> and </form> tags added to them - Noting else, however removing the <form> tags doesn't fix the issue. The index.aspx page has had one typo corrected on it.

I haven't changed anything in the master pages or the link to the master page for these child pages. I haven't changed my development tools either - Still using EW3 as I always have been and VS for the code-behind file.

Posted: Sep 11, 2009 12:06 PM

View 2 Replies!   View Related
Copyright 2005-08, All rights reserved