MVC 4.0 Show simple grid [closed] - asp.net-mvc

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm new to mvc, and i'm now trying to show a simple gridview which will be loaded from my sql server.
I can't even find the gridview in the toolbox.
i'm using the razor view engine.
example will be appreciated.
Thanks.

You mention mvc and toolbox. Those are incompatible concepts. You don't drag things out of the toolbox in MVC like you do in Web Forms. You type out various fields using html helpers.
While there is, in fact, a WebGrid available (quite a few actually), you would be better suited (at least initially) doing a manual table generation. Once you understand how it works, then you can move on to more advanced uses.
Any good MVC tutorial should have an example, such as MVC Music Store, or Nerd Dinner.

Related

Drawing using asp.net mvc [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Is there any way to draw a simple image like some lines with asp.net mvc?
Any component or tool?
Actually user wants to draw a simple map and save it to database. Any idea?
I think they warn against doing it in ASP.NET but we've used the graphics libraries to do it before. http://msdn.microsoft.com/en-us/library/5y289054.aspx
try to understand mvc first, its a framework on top of ASP.NET not a client side tool. You could try HTML5 Canvas

Recommended Blog Engine for ASP.NET MVC site [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am building a website in ASP.NET MVC 4. I want a lot of control over this site. For this reason, I'm not using a full blown CMS. However, I would like to integrate a blog engine into my site.
What is the most recommended blog engine for an ASP.NET MVC site?
Thank you
oxite its an mvc blog engine. There are lots of other blogs that use web forms, which wouldn't be that hard to implement

what's the best javascript UI framework integrated with ASP.NET MVC 3? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
What's the best JavaScript UI framework integrated with ASP.NET MVC 3?
jQuery is a must library now, and...
for UI framework, I have tried www.jqwidgets.com, jquery easy ui
now i am looking at KendoUI...
my expectation is, the UI framework should be a plus, the content(elements) will be generated by asp.net MVC, and the UI framework would make UI better, more friendly, more nice.
You can try the jQuery UI Extensions for MVC. See here: http://jmvcui.codeplex.com/

Print Page functionality in MVC [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Anyone done this in MVC? any info would be great!.
Thanks.
You can get pretty far simply by including a print.css file for media type print.
Hide everything you don't want and include logical page breaks and demensions (inches, etc... actually format more correctly using the print.css override).
I have used a custom controller (or filter) to handle links using something like index.print instead of index.html, which simply overrides the master layout with a layout more suitable for printing, but I still feel that the alternate stylesheet is the best way to go.
http://www.alistapart.com/articles/goingtoprint/
Printing a page isn't really a matter for ASP .NET or MVC. Printing is a client-side operation, and therefore can (and should) be done entirely in client-side code. JavaScript has a method call for this:
window.print()

What is the diffrence between MVA and ASP.NET web form? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
What is the diffrence between MVA and ASP.NET web form?
As your question is tagged with "asp.net-mvc" I will answer the following question...
What is the difference between MVC and
ASP.NET web forms?
State
I'm mentioning this one because I think it is one of the most important differences, a full list is provided in the link below.
An ASP.NET web form is stateful, it remembers stuff for you between "post backs". It makes the internet behave a little bit like a windows forms application. This is great if you are a forms developer moving into web development, but it breaks the natural behaviour of web pages.
ASP.NET MVC applications are stateless. They don't remember anything between pages. This is how web pages are supposed to work - each request should supply the required information for any action to be taken, all using the standard HTTP verbs as detailed here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
The Lowdown
Dino Esportivo has written a really detailed article on all of the subtle differences here:
http://msdn.microsoft.com/en-us/magazine/dd942833.aspx
Check the following links and find your answer Biggest Advantage to use asp.net MVC vs web forms and
Advantages and disadvantages to use asp.net MVC vs web forms and this
there are lots of discussion on such question you may call them debate also
thanks

Resources