CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 5/17/2004 9:20:02 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
mlibby
Asp.Net User
Web Server Control Containing another Web Server Control?5/17/2004 9:20:02 PM

0/0

I'm building a web server control that needs to include functionality from 3rd party web server control, ASPNetMenu. My web server control needs to render ASPNetMenu at runtime to create a menu. I'd like to do this so that my control's parent ASPX page does not need to register ASPNetMenu or make any configuration changes as this should be done through my web server control.

Does anybody have any suggestions on how to do this?

Mike
- Cache entire web sites at the client and server and keep cache current. Cache just got easier!
master4eva
Asp.Net User
Re: Web Server Control Containing another Web Server Control?5/18/2004 4:56:03 PM

0/0

There are two articles that you would want to be interested in:

http://aspalliance.com/350

http://aspalliance.com/359
-- Justin Lovell
mlibby
Asp.Net User
Re: Web Server Control Containing another Web Server Control?5/18/2004 10:30:35 PM

0/0

Awesome headway!!! Still need some help though.

The following code snippets shows how to configure and display ASPNetMenu via another web server control:

=============
// Note the parent aspx page still needs to set the .css file.

using CYBERAKT.WebControls.Navigation;

public class MyMenuTest : WebControl
{
protected CYBERAKT.WebControls.Navigation.ASPnetMenu _menu;

protected override void CreateChildControls()
{

Controls.Clear();

_menu = new CYBERAKT.WebControls.Navigation.ASPnetMenu();

_menu.ID = "m_" + this.ID;
_menu.TopGroup.Items.Clear();

_menu.MenuStyle = CYBERAKT.WebControls.Navigation.ASPnetMenuStyle.ClassicVertical;

_menu.MenuData = "Menu.xml";
_menu.EnableViewState = false;
_menu.ExpandDelay = 300;
_menu.ShadowEnabled = true;

this.Controls.Add(_menu);
}

protected override void RenderContents(HtmlTextWriter writer)
{
_menu.RenderControl(writer);
}
}
==================
The problem is that child menus are offset too far from the parent menu. They are about as far over horizontally and down vertically as MyMenuTest is from its containing web page borders.

Please let me know if anyone has any ideas,

Mike

- Cache entire web sites at the client and server and keep cache current. Cache just got easier!
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
ASP.NET for Web Designers Authors: Peter Ladka, Pages: 648, Published: 2002
MCAD Developing and Implementing Web Applications with Microsoft Visual C#(TM) . NET and Microsoft Visual Studio(R) . NET Exam Cram 2 (Exam Cram 70-315): Exam Cram 2, McAd Exam 70-315 Authors: Kirk Hausman, Amit Kalani, Ed Tittel, Pages: 600, Published: 2003
Sams Teach Yourself ASP.NET in 21 Days Authors: Chris Payne, Pages: 1104, Published: 2002
Role-based Access Control Authors: David Ferraiolo, D. Richard Kuhn, Ramaswamy Chandramouli, Pages: 316, Published: 2003
Microsoft Office FrontPage 2003: The Complete Reference Authors: Martin S. Matthews, Erik B. Poulsen, Pages: 800, Published: 2003
Beginning PHP5, Apache, and MySQL Web Development Authors: Elizabeth Naramore, Michael K. Glass, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Pages: 798, Published: 2005
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006

Web:
Yaws Embedded mode where Yaws runs as an embedded webserver in another erlang ..... This is essential if we want explicit control over the virt hostnames. ...
I:/kbm/papers/survey 1 (Introduction to web server analysis and ... Admission control is one way of preventing a web server from being. overloaded. Another technique is content adaption. Content adaption ...
MSDN Team Foundation Server - Work Item Tracking web custom ... web custom control to change another field. ... You can use Javascript to call web service to update the work item in the server side. ...
How to pass variable from calender server control A to another ... how to get the value variable TolProd pass to another web server control. I have try b4 but the TolProd variable initial to 0 again ...
Authentication, Authorization and Access Control - Apache HTTP Server You probably also want to take a look at the Access Control howto, which discusses the various ways to control access to your server. ...
Invoking Other Web Resources To invoke a resource available on the server that is running a web component ... To transfer control to another web component, you invoke the forward method ...
Caching Tutorial for Web Authors and Webmasters They can’t be seen in the HTML, and are usually automatically generated by the Web server. However, you can control them to some degree, depending on the ...
Debian -- Debian BTS — control server The control server works just like the request server, except that it ... Please see the introduction to the request server available on the World Wide Web, ...
CodeProject: Another AJAX Custom Web Control. Free source code and ... A simple custom web control for using AJAX.; Author: Tad McClellan; Section: Ajax and Atlas; Chapter: Web Development.
Best Practices for Speeding Up Your Web Site The user's proximity to your web server has an impact on response times. ... For dynamic components: use an appropriate Cache-Control header to help the ...

Videos:
IPView IPVIEW USB Camera Server สนใจติดต่อ 0-2935-6886-7 บริษัท APS INTER SUPPLY CO.,LTD. Ipview is an affordable solution to your surveillance and securit...
Seriously Owned! Compilation - Must See! (Stereo!) To listen in STEREO and watch in HIGH QUALITY click here: http://www.youtube.com/watch?v=MnZYARNXaYk&fmt=18 Pwn (/poʊn/, /puːn/, /pəʔˈoʊn/, /pɔːn/, ...
Core Patterns for Web Permissions Google TechTalks July 19, 2006 Tyler Close Visiting Scientist Hewlett-Packard Laboratories Mr. Close is a researcher and developer, working in the...
What is a Website? Debbie Ducic, founder of Gutzy Women, talks about an article she wrote that starts with the basics of the internet so that "newbies" can get over the...
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal Interaction....
WHIR TV | Web Host Industry Video News | Sept 17th, 2005 WHIR TV is an engaging online broadcast featuring the latest news and trends from the Web hosting world.
Aaron Swartz - On Peer To Peer, Digital Rights Management and Web 2.0 San Francisco, April 2007 // Categories: DRM, Decentralization, Web2.0 From its inception in 1999, Napster was pursued by the music industry who su...
Free Bird / Expert 517k 97% on Drums Lots of new stuff: 1) My old TV died and I got a new one. When on film, my old TV had a greenish band across it and was darker at the bottom. My n...
How To Break Web Software - A look at security vulnerabilities in web software Google TechTalks April 13, 2006 Mike Andrews Mike Andrews is a senior consultant who specializes in software security and leads the web application...
Aaron Swartz - The Network Transformation San Francisco, April 2007 // Categories: DRM, Decentralization, Web2.0 From its inception in 1999, Napster was pursued by the music industry who su...




Search This Site:










production environment links broken (portal alias don't work)

account login op tab and then logout

file manager in dnn 3

asp controls are not working with sp1 (major problem)

use loginview rolesgroup without sqlroleprovider & memberships

problem with child portals in dnn3.013

redirecting a login page

improving dnn load time performance

check online if a credit card is valid - webservices

login page issue

speed up dnn - how?

createuser method in membershipprovider

problems on customizing the createuserwisard control by adding more fields.

designer window html row heights not correct

rollover problem

authorization issues

asp.net wizard control in vs2003

in praise of video learning for successfull instalation.

gravatar implementation

dnn setup on porcution questions iis 6.0

click event handling: what should be such as easy task........

how to get user’s password by username?

cannot write to custom eventlog

key words field in page settings

error while trying to run project: unable to start debugging on the web server.

access classes stored in separate directory from aspx.cs page

new free module - simpletabmodules (by friend software)

website, iis and dll

masterpage treeview not keeping its state

error upgrading to 3.1.1 from 3.0.12

 
All Times Are GMT