I have a web form in .NET 2005 (c#).
My form contain a TextBox control (called "BirthDate") and ImageButton. One of the TextBox property is ReadOnly=true. Click on the button open a calendar object thatlet the user to select date. The selected date get into the TextBox control (by javascript...
I have a User Control that contain this c# code:
public partial class MyUC: Moia.Components.BaseUserControl
{
protected string str = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
this.str= "aaa";
string strScriptKey = "Replace"...
I have a web part that contain SQL Query for serching users profile
string SQL_QUERY="SELECT " +
\"urn:schemas-microsoft-com:sharepoint:portal:profile:FirstName\", "+
"\"urn:schemas-microsoft-com:sharepoint:portal:profile:LastName\" "+
"FROM " +
"( TABLE Portal_Content..Scope() " + "UNION...
I have DataGrid in my code:
DataGrid dg= new DataGrid();
I have in this DataGrid defenision of 3 BoundColumn:
BoundColumn bc = new BoundColumn();
the 3 columns are: FirstName, LastName, IDnumber
I want to do this: When the user click on any FirstName in the DataGrid, It will open more...
I have a Web part code (in c#) that contain this code
PortalContext context = PortalApplication.GetContext();
QueryProvider qp = new QueryProvider(context.SearchApplicationName);
string query = "SELECT "
+ "\"urn:schemas-microsoft-com:sharepoint:portal:profile:FirstName\", "
+...
I have a web part code (in c#) that try to get to specific List that appear in several Webs (Sub areas) in the portsl. the List name is equal in all instances of the list (called "MyList").
In my code I try to search all instance of this List:
SPSite site = SPControl.GetContextSite(Context)...
I have a web part (in c#) that contain TextBox, Button and Datagrid. I want that when the user enter name into the textBox and click on button , it will give him all the users in the DataGrid (can be more then one).
For this I use in me code the UserProfileManager object and I run in a While...
2 things
1) I dont want to creat a graph, I want to display in wy web part a graph object that exist in an Excel sheet!!!
2) Where can I fint metirial for those Microsoft web controls???
I have a sheet in Excel that contain a Chart\Graph object
How can I get this object for display in a c# code.
Can I do it???
How I display it? as a Image in the c# page (like Html page).
How to do it????
hii!
I want to know if there is any option to write a web part code that open a word application - I want to put a button in my web part that click on it open to me a word application (new document).
I have c# code WebPart that contain this code:
SPSite site = SPControl.GetContextSite(Context);
SPWeb newsWeb= site.AllWebs["News"];
"newsWeb" hold the area (Web) of News.
I want to get the list of all sub webs (sub area) that under it!!!!
How to do it????
I dont find it!!!!
The problem is that I know how to read data (by c# code WP) from a SharePoint list in site (like events). But I dont know to read data from "writing in portal" object which is not act like SharePoint list!!!!
How to access it by code???
I want to access (by c# web part code) to "Writings in Portal" object which in specific area (Web).
as I notice it's not SPList object. So I dont know how to catch it!!!
any help???
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.