CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 6/17/2007 11:40:53 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 6 Views: 16 Favorited: 0 Favorite
7 Items, 1 Pages 1 |< << Go >> >|
GDAR
Asp.Net User
Youtube Code causing problems with VWD express6/17/2007 11:40:53 PM

0

I have a page where i dynamically change a Youtube Video based on a database.  The code runs great when i look at it in a browser, but the problem is that by inserting the following code into my file, VWD Express won't enter Design Mode and a lot of editing features are disabled.  I.e.  I can't use backspace,delete, none of the control keys work(cut,copy, paste) among other things

  

          <object width="425" height="350"><param name="movie" value='http://www.youtube.com/v/<%# Eval("youtubeid") %>'></param><param name="wmode" value="transparent"></param><embed src='http://www.youtube.com/v/<%# Eval("youtubeid") %>' type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

 

Anybody have any idea how to fix this?  Right now my only fix is to edit that page using a text editor or Visual Studio Orcas beta.

d4dennis@inspir
Asp.Net User
Re: Youtube Code causing problems with VWD express6/18/2007 1:31:22 AM

0

Hi There,

Because the way you concat string will break the quote in design time, that is why it failed to switch to design mode.

Try to use format string as follow:

<object width="425" height="350"><param name="movie" value='<%# Eval("youtubeid", http://www.youtube.com/v/{0}) %>'></param><param name="wmode" value="transparent"></param><embed src='<%# Eval("youtubeid", http://www.youtube.com/v/{0}) %>' type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

Hope this is help



a computer <dummy> inside!

Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved.
GDAR
Asp.Net User
Re: Youtube Code causing problems with VWD express6/18/2007 4:05:49 AM

0

That doesn't do it.  The thing is, when i click design it doesnt say that it fails to go into design mode, it just does nothing.  Also why do simple functions like the delete button, cut copy and paste fail? 

d4dennis@inspir
Asp.Net User
Re: Youtube Code causing problems with VWD express6/18/2007 4:23:31 AM

0

Hi There,

Aarrh, i see what you see now.

When you switch to design mode, VS is trying to display the embedded object but failed and therefore fell into infinity loop ?

or perhaps VS just do not handle enbedded object from utube.

 

 



a computer <dummy> inside!

Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved.
GDAR
Asp.Net User
Re: Youtube Code causing problems with VWD express6/18/2007 4:28:13 AM

0

Is there anyway to bypass this? VS Orcas doesn't seem to have a problem going into design mode. 

Benson Yu - MSF
Asp.Net User
Re: Youtube Code causing problems with VWD express6/19/2007 3:50:20 AM

0

Hi GDAR,

I would like to know whether you have installed SP1 for your Visual Studio 2005. I copied the code in my page to test but didn?t have this issue. Though My Visual Studio is the Team Suite Edition, I think you should try to apply the Service Pack.

The Service Pack can be downloaded from the following link. I hope it is helpful.

Visual Studio 2005 Service Pack 1 (SP1)
http://msdn2.microsoft.com/en-us/vstudio/bb265237.aspx

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Mikhail Arkhipo
Asp.Net User
Re: Youtube Code causing problems with VWD express6/19/2007 6:23:26 PM

0

Generally VS Design view does not support working with ActiveX controls. Some controls work when control binary is already installed on the machine. If control is not installed, designer may attempt to download it (it is based on IE after all) and that process may hang since designer has no means to show confirmation dialogs that IE is showing when it needs to download and install a control.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
7 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Youtube Code causing problems with VWD express - ASP.NET Forums The code runs great when i look at it in a browser, but the problem is that by inserting the following code into my file, VWD Express won't ...
Free microsoft visual tools for office Download - microsoft visual ... Microsoft Visual Studio 2008 SP1 with the Visual Web Developer feature or Microsoft Visual Web Developer 2008 Express with SP1 .... Microsoft Visual SourceSafe delivers version control and code management tools that professional ..... all files containing broken links, so they can be fixed before causing problems. ...
Free .net windows application Download - .net windows application ... Net / C# code, Visual Web Developer / Visual Studio project, ... Compatible with SQL Server (including free Express editions) and Visual Studio 2008 (including ..... Visit our forums to find out which hotfixes have been causing problems. ... Wondershare YouTube Downloader · Sitemap Writer Pro · RSS Channel Writer ...
Developer -- Download Squad NET) and some free development tools (Visual Web Developer Express, Silverlight Tools, ASP . ... at a user's backup to figure out what's causing problems with an app. ... So you can't get a metric on how frequently that YouTube video is played .... For those of us that like to hand code everything, the automatic ...
MS SQL Server :: The Application For The Project 'c:C....dtproj ... Problem In Opening The Project..&&"Make Sure The Application For The Project ... the SP1 fails to install (i dont know if its causing problem becoz i already installed ..... When it expired, I uninstalled it and downloaded VWD Express to install. ... Been looking all over the Internet (Google Video/YouTube) for the ...

Visual Web Developer Express Templates - ng.asp-net-forum ... youtube code causing problems with vwd express · why don't edit the gridview by xmldatasource · Privacy | Contact Us All Times Are GMT.






does some one meet this bug ?

all warnings or errors in page stop intellisense from working

sql server yukon cache dependency in page directive

database is not showing up in ide of vwd. “object reference not set to instance of an object”.

cannot databind to userid "databinding: 'system.web.profile.defaultprofile' does not contain a property with the name 'userid'. "

user defined namespace in vwd, but not 03' vs

advanced sql generation options - grey out

my code cuase vswd2005e to crash.

weird problem

activex control greyed out in toolbox

query builder gone haywire

please enter a different password

visual web developer 2005 express not reading all installed fonts

what does an empty date cell equal?

vs 2005 loading image display while query data executing

aspx.vb editor pb

database owner change

is it a new bug in vwd?

updating objectdatabinding.aspx not working in guided tour

can we add an enent handler to a button in a web user control

how to create seperate upload folders for users in starter kit?

asks to register vwd express every startup

cannot login to the asp.net development server

paypal starter kit

[detailsview] after javascriptpostback automaticly redirection

vwd express 2005 final release bug

vwd always asking to register

can i make vb components using vwd 2005?

why does page.clientscript.registerstartupscript execute on time?

c# for pocketpc developement

   
  Privacy | Contact Us
All Times Are GMT