| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 7 months |
| seen | May 8 at 18:07 | |
| stats | profile views | 9 |
|
Oct 13 |
comment |
Special characters in webparts Yes i uses VS. Okay, then i will change every character. I thought their would be a better solution. Thanks guys. |
|
Oct 12 |
comment |
Special characters in webparts Why i must change every special character? If i develop in php that is not necessary, if i use unicode. At the moment, the character is in asp ListItem, that is very time-consuming if i have to change every special character by myself. |
|
Oct 12 |
asked | Special characters in webparts |
|
Oct 11 |
awarded | Scholar |
|
Oct 11 |
awarded | Commentator |
|
Oct 11 |
accepted | Understanding problem: How to add a stylesheet to a web part |
|
Oct 11 |
comment |
Change Doctype for one Site I had some css stuff, which just works fine with loose... Now i changed it and the site works pretty well. Thanks everybody. |
|
Oct 11 |
accepted | Change Doctype for one Site |
|
Oct 10 |
asked | Change Doctype for one Site |
|
Oct 10 |
comment |
Understanding problem: How to add a stylesheet to a web part Okay, after a break, i did it. Now the css style works fine. I added a module and insert into the xml file: <Module Name="Style Library">
<File Path="Style Library\Styles\Button.css" Url="Style Library/Styles/Button.css" />
<File Path="Style Library\Styles\Site.css" Url="Style Library/Styles/Site.css" />
</Module>. After that I could insert the css with: <link rel="Stylesheet" type="text/css" href="http://<Servername>/Style Library/Styles/Button.css" />. Thanks for your help! |
|
Oct 10 |
awarded | Editor |
|
Oct 10 |
revised |
Understanding problem: How to add a stylesheet to a web part added 80 characters in body |
|
Oct 10 |
comment |
Understanding problem: How to add a stylesheet to a web part It's so annoying how to include a damn css file into a web part... Now i had it included with <link rel="Stylesheet" type="text/css" href="./Styles/Site.css" />. In VS the css files would be recognise, everything looks fine. But how could i deploy them to sharepoint? If i use any deployment i cant build the project... :( |
|
Oct 10 |
comment |
Understanding problem: How to add a stylesheet to a web part Mhm, im a little bit confused :). You said i could include css files with CssRegistration in the C# code. But in MSDN Microsift wrote: Available in Sandboxed Solutions: No. I think for the beginning, i will use just a normal visual webpart... I did not get it working... Thats very strange stuff:) |
|
Oct 10 |
comment |
Understanding problem: How to add a stylesheet to a web part Okay, i have added the assembly to the ascx fiel, but it didn't work! I have created a new project as visual webpart without sandboxing and added <SharePoint:CssRegistration runat="server" Name="./Styles/Site.css" /> here the css file work very well. Is it possible, that i can't include a css file in a sandbox project? Greetz |
|
Oct 9 |
comment |
Understanding problem: How to add a stylesheet to a web part Merci. That would be the next step. The asp and c# code is ready, just the css and js are missing. I will give you tomorrow feedback if every think works fine. Thanks! |
|
Oct 9 |
comment |
Understanding problem: How to add a stylesheet to a web part Okay, i will test it tomorrow. But why i get the assembly warning message in the ascx.g.cs file, that's strange... In the the ascx.g.cs file i use the Microsoft.SharePoint assembly. Will will let u know if it's work. So far many thanks! |
|
Oct 9 |
comment |
Understanding problem: How to add a stylesheet to a web part Okay, atm i haven't access to the development pc. Do u mean something like <%@ Assembly Name="Microsoft.SharePoint" %> in the ascx. |
|
Oct 9 |
comment |
Understanding problem: How to add a stylesheet to a web part In the ascx.g.cs file the some CssRegistration code will add automatically. And here Visual Studio tells me, that a assembly is missing. This is the code:private global::Microsoft.SharePoint.WebControls.CssRegistration @__BuildControl__control2() {
global::Microsoft.SharePoint.WebControls.CssRegistration @__ctrl;
@__ctrl = new global::Microsoft.SharePoint.WebControls.CssRegistration();
@__ctrl.Name = "./Styles/Site.css";
return @__ctrl;
} |
|
Oct 9 |
comment |
Understanding problem: How to add a stylesheet to a web part Okay. If i add <SharePoint:CssRegistration runat="server" Name="./Styles/Site.css" /> in the .ascx file, some code will automatically added to the .ascx.gcs file. Must i add the Microsoft.SharePoint assembly to the .ascx file? At the moment, the assembly is in the .ascx.gcs file. |