Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:464441
More Search Options
RSS Available
Matching Posts
Re: strange problem - hyperlink parameter affects rendering of page
the new page is an EXACT COPY of the original, the only difference is that I've added code to handle the parameters. To test this I changed one of the links to the menu and removed the parameters. And it works fine, no rendering problems. As soon as I put in the paramater, the menu bar stops rendering properly, and I just get a list of hyperlinks instead of a drop down menu. FYI see below for top part of html for 1. new page 2. old page 3. master page Thanks Tushar ==========================
Posted to
Web Forms
(Forum)
by
Tushar101
on 8/25/2009
Re: strange problem - hyperlink parameter affects rendering of page
I've just had a thought...... I wonder if the javascript that processes the menu assumes that there are no parameters, so doesn't know how to handle it if it finds one? The javascript it uses is this: <script language="javascript" type="text/javascript"> function P7_ExpMenu(){ if(navigator.appVersion.indexOf("MSIE")==-1){return;} var i,k,g,lg,r=/\s*p7hvr/,nn='',c,cs='p7hvr',bv='p7menubar'; for(i=0;i<10;i++){g=document.getElementById
Posted to
Web Forms
(Forum)
by
Tushar101
on 8/25/2009
Re: strange problem - hyperlink parameter affects rendering of page
as I've said before the menu works without any parameters on the hyperlink, but stops working when I add a parameter. It's the same page!
Posted to
Web Forms
(Forum)
by
Tushar101
on 8/25/2009
Re: strange problem - hyperlink parameter affects rendering of page
I have found the answer. There is no need to have a / as part of the parameter. <li><asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/Section106Monitoring/ ContribPAGE.aspx/?AH ">Affordable Housing</asp:HyperLink></li> should be <li><asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/Section106Monitoring/ ContribPAGE.aspx?AH ">Affordable Housing</asp:HyperLink></li> Problem
Posted to
Web Forms
(Forum)
by
Tushar101
on 8/25/2009
Re: VS 2005 automatic .xsd dataset compiler errror Public Sub New() has multiple definition . . .
Hi march11, perhaps you can try an original basic web.config file so see if it works. If it does you can then assume the fault lies with the web.config file. You can then gradually eliminate a line one by one from the new web.config and see which line is causing the problem. HTH Tushar
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
Tushar101
on 8/24/2009
Re: VS 2005 automatic .xsd dataset compiler errror Public Sub New() has multiple definition . . .
great, glad it's sorted Tushar
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
Tushar101
on 8/24/2009
strange problem - hyperlink parameter affects rendering of page
Hi, This is a bizarre problem. I have a menu bar created in a master page using a list of hyperlinks. This creates a drop down sub menu effect. Each sub menu item points to a different page with a formview. The formview is the same for each page, so I've decided to combine all the pages into one page and use a parameter instead which I pass from the hyperlink. But now this affects the menu bar, and instead of an attractive drop down menu, it produces a list of hyperlinks at the top of the page
Posted to
Web Forms
(Forum)
by
Tushar101
on 8/24/2009
Filed under: hyperlink menu parameter
Re: strange problem - hyperlink parameter affects rendering of page
sure: <li><asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/Section106Monitoring/ContribAFFORD.aspx">Affordable Housing</asp:HyperLink></li> becomes <li><asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/Section106Monitoring/ContribPAGE.aspx/?AH">Affordable Housing</asp:HyperLink></li> i.e. page changes, and parameter added In Page_Load I use this: (which transfers the
Posted to
Web Forms
(Forum)
by
Tushar101
on 8/24/2009
Re: dropdownlist populated with multiple columns
many thanks Tushar
Posted to
Data Presentation Controls
(Forum)
by
Tushar101
on 5/20/2009
Filed under: multicolumn drop down list
dropdownlist populated with multiple columns
Dear All, I have a dropdownlist which is populated by a query to a SQL Server Database. This query has 6 fields. How do I access in code the 5th field if I'm not using it as the value or text in the dropdownlist? I've tried e.g. sender.columns(5) and various other combinations but I can't see how to retrieve it. Any help would be appreciated. Thanks Tushar
Posted to
Data Presentation Controls
(Forum)
by
Tushar101
on 5/20/2009
Filed under: multicolumn drop down list
Page 1 of 7 (68 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Silverlight:
Building extensible Silverlight applications with MEF
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Channel 10:
ASUS Brings GUI to BIOS
ASP.NET:
Microsoft AJAX CDN – Now with SSL Support
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
ASP.NET:
PDC09 Talk: Building Amazing Business Applications with Silverlight 4, RIA Services and Visual Studio 2010 – Now in Visual Basic!!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online