Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

ASP.NET SmartNavigation alternative

Posted on 2004-04-01
3
Medium Priority
?
621 Views
Last Modified: 2012-08-14
I need some code to replace smartnavigation functionality (it's too buggy).

Thanks.
0
Comment
Question by:gromul
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
pillbug22 earned 2000 total points
ID: 10732438
A couple of common alternatives:

* Use anchor tags in your page. When you run code and do a post back, you can use JavaScript to move to the specified anchor on your page (ex. name the anchors the same as your controls for easy detection)

* For controls that accept user input, you can ue the JavaScript .GetFocus() command to move the focus to that controls, which should also move the page.

Out of these 2, the first probably requires a little more work, but it should have fewer problems.
0
 

Author Comment

by:gromul
ID: 10745515
I'm trying to use the first method with anchors. Have you been able to automatically generate them through datagrid's ItemDataBound function? I'm trying to use xcom's method described here - http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_20823426.html - but so far it's not working.

Thanks
0
 

Author Comment

by:gromul
ID: 10755252
Thanks pillbug.

The best thing so far is SmartScroller: http://www.asp.net/ControlGallery/ControlDetail.aspx?Control=1351&tabindex=2
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question