Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Server Side code in schema.xml

  Asked By: Garret Stephenson         Date: Mar 02, 2005      Category: Sharepoint      Views: 242
 

I am modifying a view, and I want to use server side code in one of
the columns (to look up a database value).

It looks as though you can do this, as

<%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%>

works; however it seems as though SP is looking for exactly this
string, as no other server-side code will work, not even adding
whitespace into the same line.

I have also tried writing out a user control, this also fails to run
(is rendered straight to the client).

Is there any other way of doing this?

Tagged:            

 

1 Answer Found

 
Answer #1       Answered By: Darrel Sexton          Answered On: Mar 02, 2005       

I haven't tried this but it would likely fail if the page ever got
unghosted.

 
Didn't find what you were looking for? Find more on Server Side code in schema.xml Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].