Web Forms :: Weird Characters Inserted In The URL Of The MenuItem Tab?
Jun 3, 2010
In my website I use a <asp:menu> control in the master page. And I use Web.sitemap file to define the menu items. And everything works fine.But every few days when I click on the menu item tabs to change to another page, strange characters are embedded in the URL like this:
- http://www.mydomain.com/(A(5wNJHLUjywEkAAAAZDhkNW....))/nextPage.aspx
(supposed to be just http://www.mydomain.com/nextPage.aspx)
By checking the following MSDN link I realize that these strange characters stands for anonymous user:
http://msdn.microsoft.com/en-us/library/aa479315.aspx
However, I already set the following in web.config:
- <forms cookieless="UseCookies" .... />
- <anonymousIdentification cookieless="UseCookies" enabled="false" />
- <sessionState cookieless="UseCookies"/>
but these strange characters are still inserted into the URL every few days.Once it happens, I need to restart the website, or restart or recycle the Application Pools in IIS, then it will become normal again.
View 6 Replies
Similar Messages:
May 13, 2010
Every few days when my webpage is accessed strange characters are embedded in the URL like this:[URL] I did some searches on the internet and found that if the characters begin with the letter 'S', it is the session id used when cookieless is set to true. In my case the beginning letter is 'A', and i couldn't find anything about that. This is bad because once these strange characters appear, all the submenus in my page will disappear (I had another post about his menu problem in here:[URL]
Once I restart the webpage in IIS the URL will become normal again, but it will appear again in a few days.
Does anyone know what these strange characters (that begin with 'A') are? How to avoid them?
[Code]....
View 9 Replies
Dec 29, 2010
I have one web page that has some spanish contents , in design view it shows fine , but when I view it in browser, it shows gibberish character, for instance: i have following character in desing view Unión and it gets dispalyed Unión in browser what am I doing wrong, or is there any reference I am missing.
View 3 Replies
Jul 7, 2010
I wrote a small .NET applications that removes all line breaks in aspx/html/css code to make it harder to read for people trying to steal my design. And surprisingly I get weird characters that appear out of nowhere such as Â, » and others. They all stay at the same places, but I have no clue why they appear.
View 2 Replies
Oct 12, 2010
I uploaded my .net website precompiled under vs 2008. I do not have this issue with my site running on a webhost with .net 2.0 under sql 2005. When I login to the site, there are oriental characters:
[Code]....
Every one of the squares is an oriental character. I have tested this on two servers now. As you can see, the characters start right after the Doctype line. This is where another page is loaded on my site.
View 3 Replies
May 24, 2010
this is my url http://localhost:4985/mail_tracking/main.aspx?user=12345
how to get the user=12345 and put in...
<asp:MenuItem Text="ADD MAIL" Value="New Item" navigateurl="addmail.aspx?user=??????????" separatorimageurl="images uldokmenu.gif"></asp:MenuItem>
View 2 Replies
Mar 8, 2011
I'm getting the old "Validation of viewstate MAC failed" error when I click the submit button on my form. (Seehttp://blogs.msdn.com/b/tom/archive/2008/03/14/validation-of-viewstate-mac-failed-error.aspx) The thing is I'm getting the error even when the page is completely loaded (it can be sitting there for five minutes before I hit submit but I still get the error). This isn't even a particularly lengthy page (which is one of the preconditions). It uses a DetailsView (which I understand is another precondition for this error), but it's the only databound control on the page. Also, whenever users get this error (which is 100% of the time when they click Submit), they lose their login authentication and have to log back in. This page/site has been in use for about six months but the error suddenly started a few weeks ago without any changes being made to the code.
View 2 Replies
Dec 22, 2010
i am "attempting" to use the Menu control to dispaly a static site map. To do this i simply set my StaticDisplayLevels to 10 to ensure the 4 levels of navigation i have all show up. this works fine but we require styling the upper level items differently from the lower items. Since i am not using Dynamic items i can't set DynamicItemStyles separate from StaticItemStyles (if anyone knows how to keep other levels dynamic but force them to stay expanded im all ears!)
Anyways i set an even on the MenuItemDataBound that gets rid of hidden elements and i wanted to use this similarly to a repeater control to hook into the hyperlink i have in the StaticItemTemplate and set a class. Only problem is using e.Item does not allow for a "FindControl" method. Is there any way to cast a menu item as a ListItem or somethign where i can actually try to find the control within it?
Or any other alternatives on styling levels differently. I noted that the e.Item has a propert of Depth which i can use to determine how to style it. just can't seem to get into the item to find any controls.
View 1 Replies
May 19, 2010
With Menuitem in horozontal display mode, i want it to be displayed accross the top of the screen, filling the whole width - any idea how you specify this? I see there is a width parameter, but what value to use? Additionally, if say it contained 4 items say and I wanted to display the 4 items justified in the centre only of the screen - how would I do this?
View 1 Replies
Jan 29, 2011
im developing my first website in asp.net 3.5 using images or icons as menuitems.
What i want to know is how to use different images (I created images in fireworks JPG) for each menu items.
i have images for about,home,help,contact us,.How can i place it through CSS in each menuitem horizantel
i have images for hover n selected to...but placement is problem through CSS .
my CSS:
div.Menu123
{
margin: 0px;
height: 85px;
width: 500px;
position: relative;
z-index: 2;
top: 0px;
left: 400px;
right: auto;
}
.MyMenu a
{
background-image: url('../Images/Styles&Buttons/About.jpg');
background-repeat: no-repeat;
}
.MyMenuhover a
{
background-image: url('../Images/Styles&Buttons/AboutHover.jpg');
background-repeat: no-repeat;
}
View 1 Replies
Dec 14, 2010
I'm using VS2010, where the automatically renders the menu items on an ASP.NET menu control in <ul> and and <li> tags with anchor and image tags--the image tags for the ImageURL reference that I specify for each MenuItem, which is great...
trying to get an id property into the img tag rendered for each menu item. Is there anyway to do this, so that I can use Jquery easily to access each of the items? The closest I can come to a unique identifier on each rendered img tag is the title property--which translates into the tooltip property on the control.
View 1 Replies
May 17, 2010
their is an easy way to supply data to a menuitem from a sqldatasource?
View 6 Replies
May 22, 2010
my web.sitemap file is given below,
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="Home.aspx" title="Home" description="Home">
<siteMapNode title ="User" description ="Edit Personal Information" roles ="*" >
<siteMapNode url ="~/User/ChangePassword.aspx" title ="Change Password" description ="Change Password" roles ="*" />....
but its visible always.only authenticated user only see this.what can i do .
View 5 Replies
Feb 16, 2010
I have one menu control, when the mouse hover on it sub menu items text does not appear.
View 3 Replies
Jan 11, 2010
<asp:MenuItem
Text="Airport Authorities"
Value="New Item"
NavigateUrl="sub_cat_list.aspx?cat_id=<%=Encryption("1")%>"
separatorImageUrl="border.gif"
>
Literal content ('<asp:MenuItem Text="Airport Authorities" Value="New Item" NavigateUrl="sub_cat_list.aspx?cat_id=') is not allowed within a 'System.Web.UI.WebControls.MenuItemCollection'.
how to pass querystring in menuitem contorl?
View 18 Replies
May 26, 2010
How can I databind a MenuItem to a SQLTable entry?
View 5 Replies
Jan 5, 2011
im just getting started with asp.net and so far im enjoying it! However at the moment im struggling to work out what is possible and what isnt. What i need is a menu control, where one of the submenu items drtops down to show the calender control... With any luck i can expand this so other controls are Drop Down menus, and text boxes etc.
<asp:Menu
ID="mainMenu"
runat="server"
[code]...
View 3 Replies
Jan 7, 2010
Login control is nested inside the div element.
aspx file:
[Code]....
a) As far as I know, the width of a nested element (Login) should by default be constrained by the width of a parent element. But that isn't the case, since Login is always expanded to its full width, no matter how small is the width of a #parentE element. why Login
doesn't have its width constrained?
b) I'm also getting some inconsistent results: if I change the value of "right" property to 200px, then element should be closer to the right edge by one third, but is in fact closer to the edge by 50%. If I then change the value of "right" property to 100px, then the element is only few pixels removed from the right edge of the browser ( while it should be 100px removed from the right edge )
View 1 Replies
Jan 24, 2010
I have a menu control on a master page with mouse hovering effects that is populated dynamically. Now i am playing .flv video on the content page. Everything works fine, but when a mouse is hovered on a menuItem, .flv video is hanging. Is it because of javascript execution when the mouse is hover on a menuItem?
View 1 Replies
Aug 2, 2010
I have a search page, detailspage with formview and formview has multiple templates (item, edit, insert).
At the master page (I use vb as code), I have a menu with menuitems (for example "New Contact"), what I want is when I click on the New Contact menu item, I get redirected to the page with the formview on it and the mode of the formview is set to insert.
How can I do this?
My menu is as followed:
<asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
View 4 Replies
Mar 25, 2010
I am using ASP.NET 3.5 Menu Control.Is there a way to disable the default "hover" behavior, and change it so that user CANCLICK on the static menu item in order to make the child menu item appear?
View 1 Replies
May 21, 2010
How can I use menuitemclick event to control what menu item data is slected for display on a gridview from my database.mdf sql datafile?
View 1 Replies
Mar 24, 2011
I have create a asp:sitemap on my asp:masterpage. I am then populating the sitemap from an SQL table programmatically. Everything works perfectly except one thing - clicking on the items causes a new window to appear and the selected page opens in that new window. I need the items to open in the existing window. Perhaps sitemapnode - but this gave me some errors. The following is my code.
[Code]....
View 2 Replies
Oct 1, 2010
if the menuitem included a navigateUrl , selected property does not work. Have anyone encounter the same problem as well? what I want is selected a menu item, and asp.net bring to some page with the selected menu item's color changed.
View 2 Replies
Feb 19, 2010
I'm having a little trouble with the asp:MenuItem and Google's Chrome. Basically, when using just an ImageUrl (i.e. no text) the links don't work in Chrome. Here's my code
<asp:Menu ID="LeftNaviMenu" runat="server" Height="100%" Width="109px">
View 4 Replies