Questions tagged [servertag]

13 questions
60
votes
5 answers

Set Visible property with server tag <%= %> in Framework 3.5

I have been working in a .NET Framework 4 project using server tags like <%=whatever %> to set the visibility of runat="server" controls, like the following:
tomasofen
  • 1,330
  • 2
  • 12
  • 16
2
votes
4 answers

server tag not well formed error

I know there are a lot of threads about this error, but I've looked through all of them and haven't been able to make it work. It's probably something very small that I am overlooking. This is the code I have now, in an asp:Button…
silvdb
  • 193
  • 1
  • 4
  • 11
1
vote
3 answers

ASP.NET server tag with colon?

I searched all around, but could not find any reasonable explanation. I found <%: tag in one of the projects. It works like the <%= tag. I could not find any description on this tag I only found that <%: and <%= are the same. So the question popped…
To Ka
  • 640
  • 8
  • 24
1
vote
5 answers

ASP.NET inline server tags

I'd like to start by saying that my code is working perfectly, this is more a "how best to do it" kind of question. So I have code like this in my .aspx file: function EditRelationship() { var projects=<%=…
Blindy
  • 65,249
  • 10
  • 91
  • 131
1
vote
0 answers

Parser Error Message: The server tag is not well formed. ImageButton

" /> I have retrieved the ProdImagePath from the database and Images is the internal folder which has Images and I am trying to…
1
vote
1 answer

The server tag is not well formed for imageButton

' /> Does anyone tell me…
1
vote
2 answers

Pass a parameter to server method using JavaScript

I have a public in my code behind page that takes a string. I would like to call this method from javascript. The parameter that I want to pass down is variable that changes from a ddl. So I have something like this: var value =…
Brad8118
  • 4,672
  • 11
  • 36
  • 48
1
vote
2 answers

The Server tag is not well formed error in a Wizard

I am getting the "The Server tag not well formed error". Please see the below code:
bunnie
  • 65
  • 1
  • 12
1
vote
2 answers

Server tag not parsed in asp:Hyperlink

I have to admit to start that I am relatively new to ASP.NET and shamefully have not really used server tags on the client side page yet. I have a repeater on my page that iterates through the rows of a datatable and shows a hyperlink object for…
scholzr
  • 245
  • 8
  • 17
0
votes
1 answer

In a .Net Remoting service hosted in IIS 7.5, how can remove "Server : IIS/7.5" tag form response header

I have a .Net application which uses spring.net remoting to expose remoting services, over IIS 7.5.for security reasons, I want to remove some information like "Server: IIS/7.5" from HTTP response header. I removed other tags like X-Powered-By…
0
votes
1 answer

ASP page not retrieving import files

On a newly created website, based on an existing site, the @import is not locating the CSS files. I am just attempting to pull in the CSS files for a simple Hello World in order to make sure that this first step is functioning. The HTML heading…
Galactic
  • 400
  • 4
  • 14
0
votes
1 answer

The Server Tag is not well formatted error ASP.NET

I am trying to figure out why I am getting the server tag is not well formed error in the following codes. on Line 61. Any explanation will be appreciated.
Loic
  • 123
  • 1
  • 18
0
votes
2 answers

Can't add button column in asp.net gridview

Here is my the code for my gridview
daidai
  • 531
  • 5
  • 10
  • 22