|
I do not follow you.
is this the error GET http://localhost:1377/bundles/bootstrap ?
Can you explain a bit more.
|
|
|
|
|
When I tried to debug on Chrome Developer tools it was showing this line in red on the Console. That discrepancy is not happening on the Chrome browser.
Actually the discrepancy is happening on the IE browser. On Chrome its refreshing good, does AngularJS have any problem in executing on IE? or the Above line could be problem.
But when I try to check on IE Developers tools, it was saying error on DocumentType element, but there is actually no error there
And its showing warning for every element like more than one html element can't be there and more than one body element can't be there like that.
I am also not understanding why and this problem is happening only on IE not on Chrome.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
Looks like you are missing the bundle. Can you check that you have the file in your project.
|
|
|
|
|
ASP.NET has become increasingly complex.
Webforms was the old but still valid technique.
MVC means you can stucture your application better and have more controll.
So is Web api a third technique or should I use it to create webservices and other things.
So my questions is:
Is Web Api a third technique to be used instead of webforms and MVC?
|
|
|
|
|
Web API is not a substitute for webforms or mvc, it is for creating APIs (ergo the name), or basically things that have no visual interface themselves, they are endpoints other apps can call to "do things".
|
|
|
|
|
Ok, thanks!
Kind of what I guessed.
Still a bit confusing that you can start a project as Web API I think.
Feels like you should start MVC and then Add Web API.
But I think I have to read more about it.
|
|
|
|
|
You might just be writing the API though and no front-end service. Even if your site does use API it is generally advised to keep the web api part in its own project anyway so you can enforce separation of concerns.
|
|
|
|
|
Ok, I see. Thanks!
By the way, do you know of any good MVC 5 tutorial?
I have tried some but they seem to get to comlicated to fast.
|
|
|
|
|
I used the "MVC Music Store" to get started with (just google it and you'll find it).
|
|
|
|
|
|
|
I tried to get some video tutorials for you, but for some reason, the moderators keep deleting my posts. Good luck, pal !
|
|
|
|
|
Oh, to bad.
I have looked as some videos and in some ways it is easy to understand but then again not
Thanks anyway!
Edit: I saw the link in the email I got from the post so I see the video there.
Thank you!
|
|
|
|
|
Check for Mosh Hamedani's video. He is really good, and i learnt a lot on MVC 5.
|
|
|
|
|
I am seeing the alert textbox, but my progress bar does not increment, can anyone tell me what I've done wrong? The static value does work.
Thanks
<asp:FileUpload ID="thefile" runat="server" onchange="readURL(this);fill_out_filesize(this.files[0].size);progressBar();" itemid="thefile" value="thefile" Width="347px" />
function progressBar() {
alert("test");
var variable = 1;
var result = 0;
do {
result = ++variable
$("#progressbar").progressbar({
value: result
});
sleepFor(2000);
} while (true);
}
function sleepFor(sleepDuration) {
var now = new Date().getTime();
while (new Date().getTime() < now + sleepDuration) { }
}
|
|
|
|
|
This is exactly what I want, only I am not sure how to implement into my code and where? I've tried and done so unsuccessfully because it is still not working
Edit fiddle - JSFiddle[^]
|
|
|
|
|
<h2>Dynamic Progress Bar</h2>
<div class="w3-progress-container">
<div id="myBar" class="w3-progressbar w3-green" style="width:1%"></div>
</div>
<br>
<button class="w3-btn w3-dark-grey" onclick="move()">Click Me</button>
<script>
function move() {
var elem = document.getElementById("myBar");
var width = 1;
var id = setInterval(frame, 10);
function frame() {
if (width >= 100) {
clearInterval(id);
} else {
width++;
elem.style.width = width + '%';
}
}
}
</script>
trust mauchaza #facebook
|
|
|
|
|
Hi Exports,
I have an asp.net 2.0 application, which is very slow in performance. we have triggered the issue down the line, we are surprised with issue. The application used lot of database operations and respective stored procedure have lot of complicated business logic, but the stored procedure won't take much time to execute on SSMS(SQL Server) but when we access same stored procedure through the application it take huge time. please suggest me how i can resolve the time consuming problem.
|
|
|
|
|
There are lots of good suggestions in this article[^] for you to try.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Are you sure it is the sql that is taking longer? If you are displaying results into a grid and have lots of results I'll bet the slowdown has nothing to do with SQL but is actually the browser trying to render all that html. This is a common problem.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hey
SQL query works on very efficient manner, my stored procedure won't take more than 2sec to execute, but the issue with application
|
|
|
|
|
VishwaKL wrote: , but the issue with application That's what I was saying. You're probably trying to display too much data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hello,
I am getting error while navigating to a asp page using,
WebBrowser1.Navigate "http://www.website.com/serial.aspx"
as
"An error has occured in the script of this page"
Error: "Webform_Postbackoption" is undefined
How to solve this error ?
|
|
|
|
|
You can't. The error is on the website you're trying to navigate to, and needs to be fixed by the people who wrote that site.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: needs to be fixed by the people who wrote that site Sorry for not mentioning. The website which I am navigating is belongs to me.
|
|
|
|