Web Design - Silverlight Control (domaindatasource) Missing
Feb 21, 2011
Iīm just starting to program for the web, so please bear with me. I need to develop a website with a connection to a database. I would like the database to be access, but if necessary I can upgrade it to sql server. In visual web developer, I know how to connect to the db, and it works so for the moment thatīs ok. However... thereīs got to be something very wrong with the vwd. Even the simplest things donīt work. I canīt even place a textbox right. when you change a property, nothing happens. The controls are all over the place, they even move from the default.asp to the master page. 90% of the time is spent on trying to figure out how to get rid of borders from a table and such stupid things (wich by the way is impossible). So I thought of silverlight.
But then of course thereīs the thing with the data interchange. Iīve learned to send variables via querystring. However that wonīt do when I want to dsiplay a large table of data in a gridview for instance. So Iīve gathered Iīm supposed to use RIA. I studied this tutorial [URL] Itīs just that when Iīm supposed to put the domaindatasource control on the asp page, itīs not there. And when I try to add it via the "choose item", itīs not in the .net list. Itīs in the silverlight list though. Is vwd supposed to be this bad? Itīs ridiculous really. Or did I mess up the installation? I use the express version of 2010. If you know of a good tutorial please point me in that direction. I donīt know any c# though so that wonīt work.
View 5 Replies
Similar Messages:
Jul 29, 2010
I have a Silverlight site hosted in an asp page, it has been developed using vs2010 using .net 3.5 framework and silverlight 4. It all works on my dev box. However when I publish the site and get it deployed I get the error:
Could not load file or assembly 'Moe.Tactical.Ttas.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Moe.Tactical.Ttas.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
I have checked that the ISS asp setting are using 2.0.50727, and that all my references are using that runtime also.
I am not sure what to do to work out what the missing dependencies are at this point (I don't have access to the deployment box, I will have to go and sit with a system admin).
View 2 Replies
Dec 26, 2010
I have a main silverlight control named MainPage.xaml in an asp.net web site.
I want to dynamically add and remove control at run time.
So, I have created another control Top10.xaml and added to selected canvas area on MainPage.xaml as described on this page(Click Me):
Now i need to modify Top10 visibility in MainPage.xaml dynamically when a button is clicked on MainPage.xaml using C# code in MainPage.xaml.cs.
View 1 Replies
Feb 1, 2011
i create a composite control as can be seen in code below, and add this control to webform, assign FormView1 to the HeaderControlName property, Run the page, the system will generate parse error message :
Cannot create an object of type 'System.Web.UI.WebControls.FormView' from its string representation 'FormView1' for the 'HeaderControlName' property. However, if i don't assign FormView1 in design screen and manually (through coding) assign FormView1 to the custom control on init, it works as expected.
custom control
public class CmdTest : CompositeControl
{
public virtual FormView HeaderControlName
{
get
{
object oObject = ViewState["HeaderControlName"];
return (oObject == null) ? null : (FormView)oObject;
}
set
{
ViewState["HeaderControlName"] = value;
}
}
protected override void CreateChildControls(
{
Controls.Clear();
Button xx = new Button();
Controls.Add(xx);
}
}
webpage.aspx (assign FormView1 in design time, it will generate error)
<Utils:CmdTest ID="CmdTest1" runat="server" HeaderControlName="FormView1" />
webpage.aspx (didn't assign FormView1 in ASPX, but assign it on Init Code, it works)
<Utils:CmdTest ID="CmdTest1" runat="server" oninit="CmdTest1_Init" />
Webpage.aspx.cs
protected void BsCmdTest1_Init(object sender, EventArgs e)
{
CmdTest1.HeaderControlName = FormView1;
}
View 2 Replies
Apr 14, 2010
If i have two aspx pages in each of them i want to put differents silverlight contents (2 differents usercontol) what can i do?.. am i obliged to add 2 silverlight projects with my asp.net website and insert in each page an *.xap content..?
View 1 Replies
Apr 15, 2010
I have a user control in silverlight which contains both XMAL and .cs file. But I wanna make it into a base control. In other word,I can make a control inherited it whose area in it can be edited. Just like Master Page in asp.net,you know. In the base control,I only have a lot of description in XMAL,perhaps it can be described in the .cs file,too.
View 1 Replies
Oct 26, 2010
I am using Visual Studio 2010 and I am working with a simple asp.net website project. I don't see any silverlight controls in the toolbox. Even after right clicking the toolbox and choosing the elements from the silverlight tab I still don't get anything in the toolbox. I even restarted Visual Studio but get nothing.
View 2 Replies
Nov 1, 2010
I want to add a silverlight control to a div panel at runtime (dynamically) ( on an aspx or user control). How can one achieve this?
View 1 Replies
Jul 5, 2010
I downloaded Tool Kit.Create New Website-->Add Tab(Ajax Control Tool Kit)-->Choose items-->added dll file
All the controls Appeared in the tab.I closed VS 2008 and opened again.Created new website.I cant find the AjaxControl Tool Kit Tab.I thought that i should add it for every project.So again Add Tab(Ajax Control Tool Kit)But, a popup said that Tab name "AjaxControlToolKit" already exist.But i cant see that tab.How can i see that tab in all the projects..
View 3 Replies
Apr 29, 2010
We have a ASP.NET web application written in VB.NET where we build content programmatically during the Init event.
We make extensive use of user controls, building them on the fly, and I now want to start including SilverLight content.
Is there an easy way of embedding a SilverLight application in a control, and then instantiating the whole thing in code, in the same way as you'd programmatically add ordinary ASP.NET controls to a page?
The SilverLight component itself works fine when added to a page using the <object> tag but I really want to be able to reuse it elsewhere in code.
Since I'm expecting use of SilverLight to increase in our application, and the asp:Silverlight control seems now to be deprecated, I'm looking for an alternative way of wrapping the content.
View 1 Replies
Mar 1, 2010
Can any body tell me how to add silverlight 3.0 control in master page in asp.net 3.5 (ide VS2008)?
View 2 Replies
Feb 15, 2011
i have made a user control carrying a grid which is showing different uploaded images , description etc. I am putting this in another aspx page and want to fetch the values of the silverlight grid. I have made a class file for that but unable to get the grid collection.
View 1 Replies
Nov 16, 2010
I am running Visual Studio 2010. I do not see a label control in my toolbox HTML tab. How can I add it?
View 10 Replies
Feb 3, 2011
I have created user control and placed inside panel in main form. i made panel visible property false because i want to avoid user control html to load at form load time. The problem is that when i make panel visible true on checkbox selection user control is loading in main form but its html is not loading means when i check html code by source view its same as the form load time and because of this i am getting ajax problem as my calendar control is not working. If you know the solution of this
View 3 Replies
Feb 22, 2010
i have many css problems with asp:menu /here is one of them
i use this slideshow http://www.codeplex.com/SlideShow
on top of it i have asp:menu
when i hover over the menu i didnt view the child item correct
View 1 Replies
Feb 21, 2010
I know silverlight page doesn't make postback itself but does event fired from silverlight control postback whole asp.net page If this silverlight,control embedded in aspx page?
View 2 Replies
May 19, 2010
I have a silverlight application project in my solution. The other project is a web application project that has a .xap file in ClientBin.
When I created the silverlight project, it asked if I wanted the asp.net application to host it (and I said yes).
In the root directory, there is a test page for the silverlight control. That loads the control.
In another directory, I insert the SAME asp markup to get the silverlight control to launch again.
Nothing happens.
Why would the silverlight launch on one page and not on the other? how to documentation about dependencies that I might not know about?
I've put a reference to Silverlight.js on the page as well.
Here's the markup:
[code]....
View 1 Replies
Sep 1, 2010
Where can I find a silverlight 3 or 4 user control that contains multiple file upload and resize capability?
UPDATE:This will be used for uploading images. We'd like to resize the images prior to posting up to the server.
View 2 Replies
Dec 8, 2010
Can a ASP.Net 4.0 Web Aplication use (or host) a silverlight control directly without first creating a Silverlight Application
View 4 Replies
Jul 2, 2010
When I drag and drop an SQLDataSource control to my new web page it disappears after I set it up.
It exists in Source but I can't see it in Design. I'm doing the same thing I would do in VS 2005 and I can see the control in design view.
Why can't I see the control? I'm new to VS 2008 and .Net 3.5.
View 2 Replies
Apr 29, 2010
Is there a generic control that can be added to all aspx pages that checks for silverlight plugin and the version.. I know there is javascript and the silverlighthost object tag that accomplishes this. Is there an existing ascx control that wraps this functionality ? I need to be able to set the path to the xap on each page (via a property on the ascx control).
View 2 Replies
Oct 25, 2010
I want to embed a silverlight app into a web page and have the height/width of the div that contains the silverlight control match the dimensions of the actual size of the silverlight control.
I essentially want the div to stretch to accommodate the size of the silverlight control. I do not know what size the silverlight control will be before it loads as it is pulling in data and adding controls dynamically. I want to avoid dueling scroll bars and use only the browser scroll bars.
I need this to work in both IE and Firefox.Is there a way to accomplish this?
View 2 Replies
Mar 31, 2010
When Bing map control loads for first time on any browser all pushpin on map are visible.
Bing map control renders perfectly.
Then I refresh browser it create rendering issue some custom pushpin on map gets disappeared. This behavior continues with pushpin. Pushpin are (.png) images and I am not using default bing map thumbtacks.
May be it is issue of browser caching content or Bing map control rendering issues on various browsers.
View 1 Replies
Apr 26, 2010
I'm developing a web site, and i'm using infragistics for web, but I want to use in some pages silverlight controls (Infragistics too). Is there a way to access a silverlight control's properties and methods from an aspx page?
View 3 Replies
Dec 23, 2010
I'm using VWD2008, I just downloaded AJAX Control Toolkit 3.5 and installed it following the steps in the official site but can't find "Add Extender" option. I also have another problem that I cant fine the "EnableHistory" property in scriptmanager control properties.
View 2 Replies