Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP.NET


Advertisements:










MVC :: Error Putting Flash In A View?


I am getting an error whenItry andembed an swf file in a view.My flash file doesn't show up and when I look at the call through firebug it tells me that it cannot find a controller formy swf file. Why would it need a controller for a flash file? I have the flash file in my content folder. I figured servering the flash file would happen similarly to how images, css, and javascript files are server in MVC. Any thoughts on how Ican overcome this?


View 1 Replies (Posted: Nov 25, 2009 03:14 PM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
MVC :: Putting Partial View Values On A Parent View / Page?
I have a partial viewthat is renderedon a view. That partial view has textboxes in it. The user can enter values into them.

I need to put all thevalues from the textboxes inmy partial view into an array, and then give theview (the parent page rendering that partial view) access to that array.

Posted: Feb 11, 2011 08:57 PM

View 6 Replies!   View Related
View Flash Image Inside An Iframe Tag?
Can I view a flash image inside an iframe tag?

Posted: Sep 14 10 at 11:09

View 2 Replies!   View Related
Flash Can't Find FLVplayback Skin File While Running In Mvc View
why FLVPlayback isn't working properly in MVC views? I think i narrowed it down to the "hard coded" skin url file not being correct. Where should I put the skin file( e.g. skinOverAllNoCaption.swf) so that flash can find it? Or are there any alternative approaches to somehow setting the skin file dynamically.

Posted: Nov 22 10 at 9:16

View 1 Replies!   View Related
Web Forms :: Putting A Control On An Aspx Page And Double-clicking In Design View To Create VB Page?
I've always depended on putting a control on an aspx page anddouble-clicking in design viewto create my VB page. But this isn't happening in my current project. It creates an inline script in my aspx page instead. Where is the option or preference or XML file or.... that controls this?

Posted: Apr 22, 2010 06:23 PM

View 5 Replies!   View Related
Flash Game Embedding Into Web Form And Retrieving Flash Applications Data
I am a student and i want to make online gaming website as a part of my academic project.

Now the problem that i am facing is that as it is an academic project i have to use downloaded swf games into my project . now i want to fetch the highest score for an individual for a particular game and i want to store that data into my database so that i can populate the list of high scorers for any particular game on my webpage.

Posted: Jul 14, 2010 08:11 PM

View 1 Replies!   View Related
Modal Pop Up Showing Behind Flash Control Error?
I am using a modal popup extender and I have a flash banner.when the popup opens it does behind the flash which does not lookgood. and I want it to sit in front.<param name=wmode value="opaque"I have set the below but it still does it.<param name=wmode value="opaque"

Posted: Jan 21, 2010 01:02 PM

View 1 Replies!   View Related
Embeded Flash In Page Iis 7.5 Local Flash File?
I'm trying to add Embeded flash in aspx page running on iis 7.5 windows server 2008. When i'm adding the Embeded code src=/mylocation/test.swf it works fine. But when I'm adding fileserver location src="file:\c: est.swf the page doesn't load.

The code works fine in normal html file on my desktop.

Posted: Mar 29 at 12:21

View 1 Replies!   View Related
C# - Uploadify Flash Button Not Working In Browser Without Flash
I have done an multiple upload with uplodify jquery, but when i check it in a system with no flash player installed a blank area is present in the region of the uplodify flash button, how can i show the user some missing plug-in like in other sites to install latest flash player plug-in... or suggest some option to make upload possible in a button click (single/multiple) even when user don't have flash installed.

Posted: Sep 3 10 at 12:49

View 2 Replies!   View Related
Inserting Flash In An Ajax Page / Compiler Error Message: BC30203: Identifier Expected
I have no idea which forum this needs to go in, so I am posting on the "getting Started" and hoping the mods will put it in the best location to get some ...

I have a flash file that I have created - and have embeded the flash HTML in my .Net page, but am getting this error:

Compilation Error:

Description: An error occurred during the compilation of a resource required to service this request. review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30203: Identifier expected.

Source Error:

Line 3: Inherits System.Web.UI.MasterPage
Line 4:
Line 5: Public Function GetSlides() As AjaxControlToolkit.Slide[]
Line 6:
Line 7: End Function

I don't have a Public Function GetSlides - and I don't see where my HTML code is calling it...here is the HTML code for my flash:

[Code]....

Posted: Feb 02, 2009 11:04 PM

View 3 Replies!   View Related
MVC :: Error In View While Looping Trough IQueryable(of T) Entity From A SQL View?
whenI'm building a menu in a viewI get following error when code reaches <% Next item%> :

System.InvalidOperationException was unhandled by user code

Message=The value of a property that is part of an object's key does not match the corresponding property value stored in the ObjectContext. This can occur if properties that are part of the key return inconsistent or incorrect values or if DetectChanges
is not called after changes are made to a property that is part of the key.

Source=System.Data.Entity

My view: (its a userview)

[Code]....

MyModel
[Code]....

My Datasource
[Code]....

I use this way of looping frequent the only thing is that this isthat thisentityhas a viewas source andnot a table, so I think it has to berelated with that.

Posted: Jan 18, 2011 04:25 PM

View 3 Replies!   View Related
MVC :: How To Display Error In View When There's An Exception While Rendering A Partial View
I need to display an error message in the view when there's an error in rendering the partial view in that View.

How can i handle the exception while rendering partial view and display the error message in the view?

Posted: Feb 16, 2011 10:09 AM

View 3 Replies!   View Related
Web Forms :: Select One Flash Template / Edit Flash Template?
I create a static website , but i want to master page, i select one flash template but i dont how to edit flash template.

Posted: May 14, 2010 12:38 PM

View 1 Replies!   View Related
Addhandler Causes 'Error Creating Control - MainContent' Error In Design View?
I'm working on a page that uses a master page. In the master page, I have a drop-down and when a value is selected I generate an evenIn the web page, I havethis statement"Addhandler Master.FilterChanged, AddressOf FilterChangedFromMasterPage"Everything works fine, and can edit the page as much as I want, but only with the Source view - because if I look at the design view, the entire MainContent section is reduced tothis error;"Error Creating Control- MainContent / Object Reference not set to an instance of an object"But if I debug it locally, or FTP it to the server, it works just fine!

Posted: Dec 11, 2010 05:31 PM

View 1 Replies!   View Related
Putting MVC Into A WebForms Page?
Is there any way to render a normal view of asp.net MVC action onto an old .aspx WebForm using an MVC helper or some other method?

Posted: Nov 22 10 at 11:38

View 3 Replies!   View Related
MVC :: Putting Asp Page Into Contentplaceholder?
I'm incorporating some parts of an old asp application into a newly written mvc app. In most places I've separated out the data access and business logic into the model, and written new view's and viewmodels on the mvc side, although what I ended up with wasnot perfect, it works reasonably well.There's one area that's probably a bit too much work to do that. It uses an asp treeview and custom controls, and has lot's of code that just isn't partitioned very well. It's one of those 'well I wouldn't start here' situations, but unfortunately it's the code I have. As an application in it's own right it works well and has done for the past 5 years or so. Although it does want re-writing, that's probably more work than I wanted to do right now if I can get away with it.

The asp pages decend from a custom asp page, which itself decends from asppage and contains a custom DAL. What I'd really like to do, is 'paste' the page produced by this legacy asp page into the 'main' contentplaceholder area on an mvc form. I know I can incorporate standard asp pages into an mvc application, but that isn't what I'm trying to do as I want to use the master page from the mvc application.

Posted: Apr 24, 2010 09:45 PM

View 2 Replies!   View Related
Putting A Timer On Try Attempt?
Hey I have a connection to a web service in a try & catch

60% of the time its instant but other times it times out trying to connect and causing my page loads forever, is there a timer i can put on this where it would just give up trying to connect in try for example.

Posted: Dec 08, 2009 02:19 PM

View 3 Replies!   View Related
Putting A Anchor Link In A Repeater?
These are not working:

<a
href='#<%#GetFirstAlphabet(DataBinder.Eval(Container.DataItem, "Name").ToString())%>'
>Test</a>
<a
href="#"
+
'<%#GetFirstAlphabet(DataBinder.Eval(Container.DataItem, "Name").ToString())%>'
+
">Test" </A>

Posted: Nov 02, 2008 03:26 PM

View 3 Replies!   View Related
Putting Values From Application_Start Into Web Form?
I have defined a string in the Application_Start called strTest.

On my web form, I would like to show the value of strTest in some Javascript code. Here is my Javascript code:

[code].....

Posted: Sep 29, 2009, 08:22

View 3 Replies!   View Related
Putting Processes Other Than Db Access In A Transaction?
I've been building my app services and wondering what the best approach is to making them transactional considering not everything involved will be db access. For example say a user adds a document to an item in your system and you send this off to your app service that has to :-

1. Index the document in the database (using a repository)

2. Save the document to a folder within the web application

3. Email concerned parties to notify them a document has been added.

Now say you want to roll back everything from 1-3 if something goes wrong at any point. Whats the best approach here? I've seen Rob Connery using Windows Workflow to achieve this kind of thing but it seemed quite convoluted to to get it running in a web application. Is there any kind of standard approach to this? Should I write a DocumentSaver object that has roll back capability and similarly an email object?Also in terms of saving a document in part 2 there. Is there a way to make your app service ignorant of the client. i.e. if it's a web app use the httpcontext to save it, a windows app the environment path etc.?

Posted: Aug 18, 2009, 09:06

View 4 Replies!   View Related
SQL Server :: Putting An Element And Attributes Together In Sql Xml?
I have the following sql:

[Code]....

and I am getting this:

[Code]....

However what I want is this:

[Code]....

how I change the sql to do this?

Posted: Jan 13, 2011 09:19 AM

View 2 Replies!   View Related
Configuration :: Putting Website Online With ISS?
Im trying to put a Asp.net web site online with ISS the web site is published but i dont know where to go from here.

Posted: May 17, 2010 08:05 PM

View 2 Replies!   View Related
Putting Comments In DetailsView Or GridView
How can I put HTML Comments into a DetailsView? When I have larger pages I like to put comment after the </tr> so i can minimize the row and still no what's in it This doesn't work with DetailsView or Gridview. I have tried everything I can think of like putting it in block tags <% %> and can't get it to work. I know I have seen it somewhere but can't seem to find it again.

Posted: Apr 17, 2009 10:41 PM

View 2 Replies!   View Related
Putting Focus On A Field In A Webusercontrol?
I have a textbox on a webusercontrol thats on a webusercontrol thats on a webusercontrol thats on a page.

I tried using the javascript below but it cant find the control.

<asp:Content ID="Content1" ContentPlaceHolderID="CustomerContentPlaceHolder" Runat="Server">
<SCRIPT language=javascript>
var control =
alert(control)
if( control != null ){control.focus();}
</SCRIPT>

Posted: Mar 29, 2010 06:58 PM

View 6 Replies!   View Related
Making Up A CV Emailing And Putting Them In Folders?
i want another thing now when client submit his CV. the cv go one with email and on to cv folder on server. now i creat inside the cv folder 14 sub folder for Positions.Now i want to make if statment for make each cv depend on Positions go to it's folder like if client select IT-Head oofice Positions and put his cv after click submite the cv go to IT-Head oofice folder inside cv folder on cv

Posted: Feb 15, 2011 07:59 AM

View 11 Replies!   View Related
Configuration :: Putting A Website Online?
I have never put a website online before so I want to know a few things.

Iunderstand that you must buy a domain name like 'www.example.co.uk' to get to your site.

1) If I bought a domain name from www.123-reg.co.ukand used their hosting package, how would I get it online. I have already completed my website. Can I still put it on?

2) On their website, it says that you need to buy databases (I think) and add them to the hosting package? I have already got databases in use on my website. What does this mean?

3) Could you in brief sum up the steps of outting a website online.

Posted: Nov 08, 2010 04:11 PM

View 1 Replies!   View Related
Web Forms :: Putting Server Controls On Top Of Each Other?
I have 2 server controls. A control that we can call 'SwapImageControl' where the user can change images via AJAX and a 'DoctorNameControl' where a user can change the dr. name via AJAX...

The 'SwapImageControl' has a image control in it that will span over the entire table row... I am wanting to place the 'Doctor Name Control' over the 'SwapImageControl' so the user can still see the DoctorNameControl label. I tried using opacity on the Dr. Control in css but it looks terrible...

Posted: Sep 14, 2010 06:06 PM

View 3 Replies!   View Related
Putting A Function In Class Instead Of Code Behind?
I have a function in a code behind file that's used to respond to a gridview event:

protected void GridviewEval(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
foreach (TableCell cell in e.Row.Cells)
{
if (cell.Text == "0") { cell.Text = "-"; }
}
}
}
It's currently in the code behind of a page and I'll be using it in other other pages.I would like to use the same code in other pages.When I cut and paste the function into a class,it's not working.

Posted: Jan 7 at 22:55

View 2 Replies!   View Related
Web Forms :: Putting A Search Box Which Searches The Whole Website?
is dere any way i can put a search box on my web form which searches the whole website?

Posted: Sep 06, 2010 07:08 AM

View 2 Replies!   View Related
Web Forms :: Putting List Items Into A Textbox
Is there a simple way of putting all list items from a listbox into a textfield? I'm not interested in selecting individual items, I want all items in the box to appear. I'd like the items toappear in the textbox as x, y, z, orx y z. The seperator type / format isn't important as long as long as there is some sort of spacing between each item.

Posted: Feb 21, 2011 07:56 PM

View 2 Replies!   View Related
Web Forms :: Putting Box Around Sitemap Menu Items?
How can I put a box around each of my Sitemap menu items? Also what are my options for graphically manipulating these Sitemap menu items?

Posted: Jan 14, 2010 12:03 PM

View 4 Replies!   View Related
Putting Id In Input Hidden - Is It Working With JTemplate
I'm working with jquery.ajax() I'm getting a object and I use jTemplate to write the html. My problem is now that I need to place the id of the object in a input hidden. I have no idea how I should do this. I tried to do a <script> in the template.htm with jquery to place the id in hidden but with no luck.

this is my jTemplate html file

<div style="background-color: #ccc">
{$T.Email}
</div>
<div style="background-color: #ddd">
{$T.Password}
</div>

This is my jquery

[code]....

Posted: Apr 29 10 at 9:44

View 1 Replies!   View Related
MVC :: Putting Param1 And Param2 In Hidden Fields?
I have a dropdownlist for sorting a table as follows:

[Code]....

Which generates something like this:

[Code]....

Why does it submit as:

[Code]....

Do I need to put param1 and param2 in hidden fields?

Posted: Oct 07, 2010 06:17 PM

View 2 Replies!   View Related
MVC :: Putting The JavaScript File In The Views Folder?
I do have many JS files that are unique to various aspx (Views) pages (they are the js containing the event handling for the pages for example). I'd like to put the JS files in the same folder as the aspx files (so in the Views/{action}) folder. How can I do it? It seems that the Views folder isn't directly accessible from outside, I tried using the IgnoreRoute but there isn't much documentation about it.

To reiterate: I'm already using a "generic" Scripts folder for the "generic" scripts (jquery library etc.)

Posted: Sep 25, 2009 08:14 AM

View 1 Replies!   View Related
Web Forms :: Putting Email Class In App_Code
I'm trying to set up a smart way to handle email in my ASP.NET Web Application Project. I created a class in my App_Code folder named "MailHelper.cs" but am having trouble invoking it in the code-behind pages. Can someone please correct me on the correct way to do this?Here's the Mail.Helper.cs file in App_Code:

[Code]....

How do I invoke this when I'm ready to fire off a message? Let's say I have a Submit_Click event and want an email to be generated:

[Code]....

Posted: Dec 06, 2010 02:18 PM

View 3 Replies!   View Related
DataSource Controls :: Putting A Image In A Database?
I have created a SQL DB in Visual Web Developer Express Edition and i am using a aspx form with connection strings and grid views to call the informationbut the problem i have is that i wish to insert an image into the databaseand i have tried numorus ways and i can't seem to even put the image in the DB letalonecall it in the grid view.

i'm not sure what datatype to select and i'm not sure what i'm supposed to write in the data field to call the image,can i use a image saved on my computer or have i got to use a image that isalready posted on the internet some where?

Posted: Mar 26, 2010 09:57 AM

View 7 Replies!   View Related
Web Forms :: Putting Multiple Links In An Image?
This should be easy. On SharePoint Designer I can do this with the click of a mouse. I have a large image I am using for a banner. In that image I have several words that should each link to separate paeges, but alas, it seems I can not embed links within an image using Visual web Developer.

Posted: Dec 15, 2009 01:10 AM

View 4 Replies!   View Related
Having Trouble Putting Together A Good Solid Newsletter?
Having trouble putting together a good solid newsletter.Can some of you experts help me with this problem.
Either with code or link tutorials.everything!

Posted: Jan 02, 2010 02:29 AM

View 3 Replies!   View Related
Putting Text In Textbox When 2 Checkboxes Are Checked
I have 3 webforms controls: 3 checkboxes and 1 textbox. When I check checkbox1 and checkbox2, then in the textbox it should appear as 1,2. How can this be done using ASP.NET webforms controls?

Posted: Nov 9 10 at 16:06

View 1 Replies!   View Related
Security :: Login Doesn't Work After Putting On IIS
I have created a login pageusing the login control provided by the visual web developer and set up all the accounts and rolesusing the web admin tool. Everything works fine if I run the page within the developer but when I host it on IIS, The login does not work. It shows the invalid password message from the login control.

Posted: Feb 01, 2010 09:01 PM

View 3 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved