View Complete Post
This month's column continues the discussion around code access security in WCF and partially trusted services.
MSDN Magazine July 2008
Here we discuss code-access security in Windows Communication Foundation (WCF) and present a solution for enabling partially trusted clients for WCF services.
MSDN Magazine April 2008
With over 9,000 files, and including some 1300 public classes to pore through, the Shared Source CLI can teach you quite a bit about the internal workings of the CLR. But the sheer amount of source code included can make just starting your exploration a monumental task. This article discusses some of the things you can learn from the source code facsimile of the CLR, like how JIT compilation works. It will also help you understand how to control execution along with debugging and loading classes. A walk through the steps involved in setting up the runtime will let you become familiar with the process.
MSDN Magazine July 2002
I am trying to program my first webpart based on this:
This webpart must show people who have birthdays on particular day of the month. There should be a button for each month (and one for "whole year) and button for each day (and one for "whole month") and so user can choose to show only those with birthdays
in say, april 23, or whole june...
I did it this way:
Following the tutorial, i create all my controls inside the CreateChildControls() and i store references to them as properties of the webpart class. Also the class (public class BirthdayFullScreenWebPart) has properties (int chosen_month) and (int
Then i have have onclick for buttons that changes the chosen month and/or day web part property, based on which button was clicked.
Then i have a function "UpdateUserList" that ouptuts list of users into the webpart's table control, based on the chosen month and day. this function is called inside createchidlcontrols after all of them are created, and inside onclicks when the month/day
What i got is that the values of the variables were behaving really odd.
In my mind, it
I am working on converting a project from C# to VB and am facing this weird issue. 1 page cannot compile and I get the reference error, but the weird thing is that the compiler shows the error as coming from ASP.NET generated code. Visual Studio shows me that error is coming from my ASPX page. I cannot seem to figure out why or where this error is occuring. Also if I take the inherits attribute out I don't get the compilation error. The code in aspx page is below:
<%@ Page Language="VB" AutoEventWireup="true" CodeBehind="diff.view.aspx.vb" Inherits="MR.ControlApp.diffview" MasterPageFile="~/Site1.Master"%>
<asp:Content ID="Header1" ContentPlaceHolderID="head" runat="server">
Page: <select onchange="sel(this);">
Dim j As Integer = 0
While j < pageCount
<option <%= IIf(currentPage = ( j + 1 ), "selected", "") %> value="<%= j+1 %>"><%= j + 1 %></option>
<%j = j + 1
<% 'Print(); %>
<div style="font-family: verdana; font-size: 10pt; font-weight: bold">
MDM Data Inconsiste
I have a public class MyShared.cs in App_Code. I am able to access the code in code behind by referencing MyShared.PrepareButton(ThisButton); but I don't know how to reference it from <asp:Button/> tag.
I would like to do something like <asp:Button OnPrerender="MyShared.PrepareButton"/>, but the compiler says the page does not contain a definition for MyShared.
I did include using MyShared; in the aspx.cs page
I am wondering if it is possible to "hard-code" a particular report in the report viewer web part, such that this report is automatically loaded when a user visits a particular
site. I am asking that question because I do not want to select the same report each time I want to view it; I just would like to have a link that will get me the report right away.
I added the following code in content editor web part.
<!-- Code to hide Tab Page Help Link -->
<!-- Code to add Tabs -->
<ul class="tabNavigation ms-WPBody">
<li><a href="#tab-1" class="selected ms-topnavselected"><span>TAB 1</span></a></li>
<li><a href="#tab-2" ><span>TAB 2</span></a></li>
<li><a href="#tab-3" ><span>TAB 3</span></a></li>
<li><a href="#tab-4" ><span>TAB 4</span></a></li>
<div style="clear: both"></div>
After few edits to the page, when I try to edit the code in the content editor web part, the code appeared as follows. Not sure why these jquery ids got appended everywhere. Any suggestion as a solution for this issue ?
<!-- Code to add Tabs --><div id="tabs"><ul cla
I'm trying to add the Shared Documents "web part" that is part of the default Team Site template to a custom site template. However, from what I've found this is not really a web part for Shared Documents, but a generic List View web part with Shared
as the data source. Also, I don't see where this is listed in the onet.xml file of the Team Site template (which I believe is the "sts" template, correct?). Also, you cannot export/download the xml for this webpart from the page and when it is
viewed via SP Designer, the way it is defined is not supported in an onet.xml file.
So how do you add this webpart to a site template?
I am looking at ways of embedding videos into the SharePoint site so our users (in multiple countries) can watch them without bloating our database or getting a massive
hit on performance.
I have seen sites and books suggesting that SharePoint isn’t always the best place to store large media files, and that they should remain on a shared drive
with a link to them from SharePoint. Our videos range from 1 MB - 400 MB.
With this in mind, I have copied a couple of videos to the shared drive and I’m trying to link to them
using the out-of-the-box Media Web Part (Change Media > From Address). I’m using the address file://K:/SharePoint/VideoName.mp4. One of these videos is a
(55 MB) and the other is one of my own screen recordings (1.2 MB). I used
Hi Every One,
I have use SQL Server Reporting Service in
SharePoint integrated mode. I have deployed all reports and data source in SharePoint Document Library using CODE. I need to show those report in “SQL
Server Reporting Services Report Viewer” Web Part on Web Part Page, I have created Web Part page by code. But I cannot import this Web Part on Page using Code.
How I can do this by code.
I am using Dynamic Data 4 in VS2010 with EF4.
So I have noti