943,752 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 13484
  • ASP.NET RSS
May 12th, 2005
0

Calling function to add HTML to the page

Expand Post »
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:
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
lorf14plus is offline Offline
20 posts
since May 2005
May 13th, 2005
0

Re: Calling function to add HTML to the page

check out user controls.

here's a quickstart with some examples:
http://www.dotnetjunkies.com/quickst...bpagelets.aspx
Reputation Points: 13
Solved Threads: 0
Light Poster
sypher is offline Offline
29 posts
since May 2005
May 13th, 2005
0

Re: Calling function to add HTML to the page

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.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
lorf14plus is offline Offline
20 posts
since May 2005
May 17th, 2005
0

Re: Calling function to add HTML to the page

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.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
lorf14plus is offline Offline
20 posts
since May 2005
Jan 27th, 2010
0
Re: Calling function to add HTML to the page
ASP.NET Syntax (Toggle Plain Text)
  1. CREATE FUNCTION dbo.update
  2. (
  3. @Quantity int
  4. )
  5. RETURNS TABLE
  6. AS
  7. GO
  8. UPDATE Quantity.Quantity1
  9. SET Quantity = Quantity+Quantity
  10. FROM Quantity.Quantity1 AS sp
  11. JOIN Quantity.InwardEntries AS so
  12. ON sp.Id = so.Id
  13.  
  14. GO
  15.  
  16.  
  17.  
  18.  
  19.  
  20. RETURN /*select ... from ... */
how to call above function in asp.net
Reputation Points: 10
Solved Threads: 0
Newbie Poster
diptibhatore is offline Offline
5 posts
since Nov 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: How can i take all the rows values from Data table otherwise DataList
Next Thread in ASP.NET Forum Timeline: Login Page in asp.net using C# using MS access database





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC