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:614811
More Search Options
RSS Available
Matching Posts
Re: accessing anchor text from the url
thanks matloob! if i'm on the right track, to make this happen i would need to: on first page load when the bookmark is in the url, capture it with javascript and put it on a hidden field. submit the form via javascript's form.submit(). on the postback, retrieve that value from the hidden field i stashed it in. this is where i think i'm getting lost. the point of a bookmark is to scroll the page to a certain position, but the postback strips the bookmark id out of the url, meaning the
Posted to
Web Forms
(Forum)
by
bttrflii
on 9/27/2007
Re: accessing anchor text from the url
i truly wish i could say the Request.RawUrl worked, but that only shows the "http://website.com/default.aspx" part and doesn't have the "#hereiam" at all. i've done quite a bit of looking through all of the Request fields while in debug mode (so i could see if "hereiam" showed up anywhere), but i haven't had any luck.
Posted to
Web Forms
(Forum)
by
bttrflii
on 7/12/2007
Re: accessing anchor text from the url
do all of these questions mean it's not possible to access the text after the pound sign?
Posted to
Web Forms
(Forum)
by
bttrflii
on 7/12/2007
Re: accessing anchor text from the url
the first view of the page comes from a simple html link outside of my page -- almost always from a link in a company email or a bookmark they made from that link.
Posted to
Web Forms
(Forum)
by
bttrflii
on 7/11/2007
Re: accessing anchor text from the url
i've looked through all of the Page fields, especially everything within Page.Request. in a nutshell, i ran debug mode and hovered over several levels deep of anything that remotely looked like it could possibly in a blue moon contain the info i needed.
Posted to
Web Forms
(Forum)
by
bttrflii
on 7/11/2007
Re: accessing anchor text from the url
either i'm not being very clear, or i'm not understanding the suggestions. i can not find any way to get my hands on the full url string that includes the "#hereiam" text. i can't store it if i can't find it, and i definitely can't find it. i can't hard code the url because i don't know what the url will be until someone visits the page. the query string doesn't list text that comes after the "#", and i know that because i already tried it before
Posted to
Web Forms
(Forum)
by
bttrflii
on 7/11/2007
Re: accessing anchor text from the url
hey there kb cowboy and robnot. i have not been able to find any place within asp.net that shows the "#hereiam" text at all, otherwise i wouldn't have made this post. if you know where to find the entire url instead of just the "http://website.com/default.aspx" part, that will solve 100% of my issue. :)
Posted to
Web Forms
(Forum)
by
bttrflii
on 7/11/2007
Re: accessing anchor text from the url
hi farooq! i'm using anchors to place bookmarks on the page, so i need to be able to keep the anchor in the URL so that browsers can scroll to the correct part of my web page. the reason i need to be able to see what bookmark is being viewed is so that i can put special formatting on that part of the web page. the process goes like viewer browses to webpage.com/default.asp#section code behind sees that "section" is being viewed code behind changes the css class on the part of the page
Posted to
Web Forms
(Forum)
by
bttrflii
on 7/11/2007
accessing anchor text from the url
how can i access the "hereiam" part of a url such as "http://website.com/default.aspx#hereiam"? i'm working with c#.net in asp.net 2.0.
Posted to
Web Forms
(Forum)
by
bttrflii
on 7/11/2007
Re: binding a textbox to a name with a pound sign
i'll admit i'm not familiar with creating tables with sql code, but after figuring out that computed fields dealt with sql instead of asp.net, i was able to find some search results for it. :p what i ended up having to change (for all you future people looking for answers) was: in my gridview's edit and insert templates: < asp:TextBox Text= " <%# Bind("bugnum") %> " ID= "tbBugNumber" runat= "server" /> in sql select: SELECT *, [Bug#] bugnum FROM [Bugs] WHERE [BugID] = @BugID in sql update
Posted to
Data Presentation Controls
(Forum)
by
bttrflii
on 1/17/2007
Page 1 of 14 (132 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online