View Complete Post
I have created a silver light application which leverages the ADO.NET Data Services in SharePoint 2010 and trying to achieve the CRUD functionality through ADO.NET data service.
For that I have added service reference by specifying URL as http://<server name>:1111/_vti_bin/listdata.svc
to my silver light application in visual 2010. Now I have written the desired code in MainPage.xaml and code behind by using DataGrid control (System.Windows.Controls.Data) of silver light 4.0. I have build the application and pasted .xap file in to ClientBin
folder of 14 hive.
Now I open a web browser and put the site URL as
http://<server name>:1111/. On home page itself I have added a silver light web part but when I configure it by specifying the URL as _layouts/ClientBin/<xap file name>.xap it shows
me the regular error saying &ldqu
The control in tool box is disabled. This is the issue I had faced.
Find out how to integrate SharePoint and Silverlight by creating a Silverlight media player and deploying it as a SharePoint Web Part.
Steve Fox and Paul Stubbs
MSDN Magazine November 2008
I am showing preview of text in text box.
But if text color is light(Like white) and i want to show that text preview than text is not visible because textbox background color is white.
Can i get the range of dark and light color so i'll change textbox backgroun color accordingly.
Thanks in advance.
I been tasked to create a traffic light system report in Reporting Services 2005.
We have a DUNDAS add-on feature installed, but they don't have any features.
Can anyone suggest other means of creating this.
i want to use ligh box effect like i have login control and i want to show login control in ligh box effect so its like if i open on login link login control wil show and same time we can control click anywhere in page ??
can u help in thse ? pls??
i am using light box in one of my asp.net website
On a linkbutton click, an application form opens in a lightbox. this form contains a dropdownlist.
till now it was working fine. but now i have to change some coding.
Whenever a value is selected from that dropdownlist, its selectedindexchanged is fired. At this moment my form with light box gets disapper.
what i want is, it should remain on screen as it is when any of the server side event is fired.
is it possible ?
I am having to do a custom visual web part in VS2010 because the calendar view does not support filters/connections out of the box (OOTB). So, I am filtering list results and programatically creating a SPCalendarItemCollection and feeding it to
an SPCalendarView datasource.
Everything works fine with one exception, when I click on the event it does not open in the standard light box. OOTB does this just fine. I cannot see a way to change this behavior.
I have a aspx page which fetches data from one table every few seconds and it 'caches' my previous rows; so does the following:
1 - Fills Gridview with data from table;2 - After 5 seconds it 'caches' the previous rows in the Gridview by calling FetchData();3 - Fills Gridview with new data from table again;4 - Compare old rows with the new ones if they are 'contained' inside the 'cache';
So every 5 seconds I call the FetchData() function:
private void FetchData()
// Save Previous GridView values in a list
var cachedList = GridView1.Rows.Cast<GridViewRow>().Select(a => new
instanceID = ((Label)a.FindControl("lblInstanceID")).Text,
CommentsBackup = ((TextBox)a.FindControl("txtBoxComments")).Text
// Load New GridView values. Here I execute the GridView1.DataBind();
// Save the new updated rows (new rows/data) in a list
var newRows = GridView1.Rows.Cast<GridViewRow>().ToList();
// Loop through previous rows and concatenate comments if different
foreach (var oldRow in cachedList)
// Find the row and update comments
var newRow = newRows.Find(a => ((Label)a.FindControl("lblInstanceID")).Text == oldRow.instanceID);
if (newRow != null)
On my machine ,i have VS 2008 profession edition,sp1.
Installesd silverlight sdk and sliverlight tools 3.0 exe.But i am not seeing any project type with silver light ,when i am creating new project.
I don't like dragging and dropping stuff, even I don't like to see them at all. I would like to ask if Microsoft provide a light version of Visual Web Developer that only provides source view only?