User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 397,773 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,530 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 6732 | Replies: 3
Reply
Join Date: May 2005
Posts: 20
Reputation: lorf14plus is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
lorf14plus lorf14plus is offline Offline
Newbie Poster

Calling function to add HTML to the page

  #1  
May 12th, 2005
I have a page that have a dinamic menu and i have created a function to create the correct HTML to view the menu, but how can I call this function in my aspx page that I see the generated HTML in the correct position?? :rolleyes:
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2005
Location: Phoenix
Posts: 29
Reputation: sypher is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
sypher's Avatar
sypher sypher is offline Offline
Light Poster

Re: Calling function to add HTML to the page

  #2  
May 13th, 2005
check out user controls.

here's a quickstart with some examples:
http://www.dotnetjunkies.com/quickst...bpagelets.aspx
Reply With Quote  
Join Date: May 2005
Posts: 20
Reputation: lorf14plus is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
lorf14plus lorf14plus is offline Offline
Newbie Poster

Re: Calling function to add HTML to the page

  #3  
May 13th, 2005
Thanks for your help but I want to generate dinamic HTML during compilation of the page.
When the user login in the application i generate the correct HTML with a check to the right that are stored in the database.
DIfferent user have differenz HTML page, i don't have any event and any botton, I must display different page to different users.
I have create a sub that create the correct HTML but I don't now how call this sub to print out the result.
Reply With Quote  
Join Date: May 2005
Posts: 20
Reputation: lorf14plus is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
lorf14plus lorf14plus is offline Offline
Newbie Poster

Solution Re: Calling function to add HTML to the page

  #4  
May 17th, 2005
I found in the tutorial that you have post it in an other page the solution to my problem thanks a lot for your help.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 4:35 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC