|
Subject:
|
asp.net masterpage
|
|
Posted By:
|
request
|
Post Date:
|
1/23/2006 5:01:21 AM
|
Hi
I need help in ASP.NET 2.0
I have placed master page in .aspx page .
If I try to put form tag inside contentplaceholder says server tags are defined at multiple places.
Will give u simple example where I need form name in javascript.
I have two serverside listboxes list1 & list2 and one button.
Displaying data in list1
I select the items in list1 and click on button then the selected items need to be added in list2
Written javascript function to add those items but these are not getting added at server side
For this I have taken one tempstring where it can hold selected items in javascript.
How to get those value in aspx.cs file
Even I tried with hidden variable but this variable is not accessible in code behind
Early response is appreciable
Thanks
|
|
Reply By:
|
Imar
|
Reply Date:
|
1/23/2006 6:33:43 AM
|
You can't add a form tag to a <content> tag. Your master page defines the form, and you only need one form in the entire page.
Simply add whatever controls and other markup to your <content> controls and things should work.
I am not sure I understand the rest of your questions. Can you elaborate a hit?
Imar --------------------------------------- Imar Spaanjaars Everyone is unique, except for me.
|