How To Use Html5 In Framework 2.0
Jul 24, 2010can any one please tell how to use html5 in asp.net framework 2.0. My need is If internet gets disconnected, my page(aspx) should able to work in offline.
View 9 Repliescan any one please tell how to use html5 in asp.net framework 2.0. My need is If internet gets disconnected, my page(aspx) should able to work in offline.
View 9 RepliesI'm a MVC[3] noob trying to intergrate html5 framework in the shared [site] layout. Just getting the index page to load is not working. I started from scratch (new MVC3 project). I also compared the web.config files and the controllers to the MVC3 sample project from asp.net/mvc site. Everything appears to be in order.
View 6 RepliesIs anyone using HTML5 notifications in practice, and is there any value in doing so? From my understanding it's limited only to Chrome, and so I can't imagine people jumping on this thing.
View 1 RepliesHTML5 is just an updating to XHTML 4.1 or it brings some thing different and new to the web world ,, what are the major differences between it and its predecessors..
View 1 RepliesPlease give an example how I can integrate HTML code of offline caching in my ASP.Net application?
View 2 RepliesI am new to mvc I want devlop a small application in mvc using html5 for that I have downloaded html5 toolkit for mvc and add refernce system.web.mvc.html5 but i am unable to get html.html5Textbox please help me how to get html5 controls.
View 8 RepliesI'd like to get an HTML5 video player working in my mvc 2 project - specifically Kaltura video [URL] , so im trying to integrate their demo html into my Index.aspx..and i get a "Validation (XHTML 1.0 Transitional): Element 'video' not supported"
[Code]....
Here is my Site.Master, in case im missing something there
./Content/Skins/jquery.ui.themes/redmond/jquery-ui-1.7.2.css");
</style>
<style type="text/css">
@import url("../../Content/Skins/mwEmbed-player-static.css");
</style>
</head>
And im basically just copying their example.html here: Is it becasue of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" [URL] in my Site.Master? I'm guessing maybe the word "Strict" is not allowing video tag since HTML5 isnt W3C complaint?
How to check browser support html5?
View 2 RepliesThere is a lot of chatter about the improvements HTML5 is about to unleash on the web development world. How will this new standard affect web dev frameworks like Faces, Struts, or even ASP.NET? How long will it take them to 'catch up' in order to emit such code? Will controls get deprecated?
View 1 RepliesIs it possible (using HTML5 Shiv, for example) to implement HTML5 on a Webforms-based platform? Will ASP.NET Webforms allow the developer to semantically mark up a page using the new HTML5 elements?
View 3 RepliesI am trying to live stream my desktop over http to one or more users. The immediate goal is just to share the desktop in real time in read only mode for several users. In future we might allow the users to control the desktop as well by mouse or keyboard. I have these queries in this context- Is HTML5 + H.264 right for this or do I need to go with Flash?In either case what are all the components/servers I need for a live streaming infrastructure? (Like desktop, encoder, streaming server, web server, media player etc)? It will help compare the options, if You can post your preferences for each of these components/servers.
View 1 RepliesFor now, I just want to use the <audio> and <video> tags and maybe try out the drag and drop features since these are supported by Firefox 3.6. The project will just be a test project, not necessarily for production.
View 5 RepliesI am creating a control that contains an html5 audio element and I want to be able to change the source of the audio dynamically. I can access the audio element in C# but am unable to figure out how to change the src attribute.
View 1 RepliesI have created a Default.aspx page using HTML5 tags such as header, nav, section, footer.
1. The content renders fine on my dev machine (running IE11).
2. However, it doesn't render on my network (live client) PC running IE11. But, it is fine rendering in Chrome!!!!
Here is an example:
Code:
<body>
<form id="frmDefault" runat="server">
<header>
<h1>Resource Portal</h1>
</header>
<nav>
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager" runat="server" />
[Code] ....
As I understand it, the <input type=email> element in HTML5 will render as a simple text field in browsers that do not support the tag. On other browsers it will render properly, like on the iPhone it will bring up the e-mail keyboard layout.
like to use this in a project but my input fields are <asp:TextBox> controls. How can I use the HTML5 element but still access its data server-side like the rest of my fields?
I'm building a iPhone, iPad website I'd like to use the new HTML 5 input types: [URL] so a numeric keyboard will pop.
I'm using a ASP .NET TextBox :
<asp:TextBox
ID="txtNumber"
runat="server"
Width="220px"
Height="25"
MaxLength="25"
BorderStyle="Solid"
BorderWidth="1px"
BorderColor="White"
ForeColor="#000000"
AutoCompleteType="Disabled"
autocapitalize="off"
autocorrect="off"
style="-webkit-border-radius:10px;"
/>
On run the TextBox translates to the following HTML :
<input name="ctl00$ContentPlaceHolderMain$txtNumber" type="text" autocomplete="off" maxlength="25" id="ctl00_ContentPlaceHolderMain_txtNumber" autocapitalize="off" autocorrect="off" style="color:#000000;border-color:White;border-width:1px;border-style:Solid;height:25px;width:220px;-webkit-border-radius:10px;"
/>
I can add another type attribute which doesn't work, but I can't seem to be able to change the original one.
foreach (HttpPostedFile file in FileUpload1.PostedFile) {
string filename = Path.GetFileName(file.FileName);
string foldername = DateTime.Now.ToString();
Directory.CreateDirectory("../Webimage/"+foldername);
file.SaveAs(Server.MapPath("../Webimage/" + foldername + filename));
[Code] ....
I am getting this error under foreach
foreach statement cannot operate on variables of type 'system.web.httppostedfile'
[Code].....
To create chartrs on web page(ASP.NET) uding the above link is (WebMethod) workong fine.
But I want to export that chart into Excel,PDF,PPT...
I need a cross browser solution to upload multiple files without using Flash or HTML5 in ASP.Net
View 1 RepliesI am using ajax and javascript to play sound from specific time till a specific time.
I do change the class from play to pause when user plays it but i am unable to change it back to play when the sound duration stops
<script type="text/javascript">
function aud_play_pause() {
var myAudio = document.getElementById("myTune");
var musicStartTime = 25;
var musicStopTime = 35;
[Code] ....
i have readed your post(html5 canvas chart using asp.net)
and now i want to create line chart of chart.js
Has anyone been able to cache .aspx pages using the HTML cache manifest? I am porting an html application over to asp.net (and mvc2) and I get a 404 error when trying to cache any *.aspx page. Other files still cache normally (.js, .css, etc). I have changed permissions, handlers, and file names and still no luck. Below is the actual manifest:
CACHE MANIFEST
# This file was generated at 2/28/2011 4:03 PM
CACHE:
/Content/Site.css
/Content/Table_style.css
/Scripts/jquery-1.5.min.js
/Scripts/json.js
/Scripts/persist-all.js
/Views/Data/Details.aspx
/Views/Data/NotFound.aspx
/Views/Data/OffLine.aspx
/Views/Data/OnLine.aspx
/Views/Data/Test.aspx
/Views/Home/About.aspx
/Views/Home/Index.aspx
/Views/Shared/Error.aspx
So I know how to store and retrieve data in a local database (Chrome). My function to retrieve data is
function SelectHandler(transaction, results) {
for (var i = 0; i < results.rows.length; i++) {
var row = results.rows.item(i);
[code]...
how would I handle textbox text change event in oulhtml 5. I have a text area where i enter project details and i want to store every description i enter in it. which textbox event of html5 should i use? I want to create an html5 textbox text change event like we have in asp.net I mean the code behind will be in c#.
protected void TextBox1_TextChanged(object sender, EventArgs e
what i will do is upload the mp3 files in my directory and called the file name on button click event in query string how can i pass query string vlaue to this html tag.
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio tag.
</audio>