Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
This question was asked a few years ago, so I'm going to ask it again.
I'm looking for the best/cleanest option to display a modal popup window upon the click event of an ASP Button control. The contents of the window will be an aspx page.
Cross-browser compatibility is a requirement
jquery/plugins aren't out of the question if they fit the mold.
There are a host of options in the jQuery field:
jQueryUI's dialog
Wijmo's Dialog
SimpleModal
These are just three options out of many. jQueryUI is pretty easy to use out of the box, but isn't as customizable (or easy to) and "pretty" as SimpleModal. At their core, their pretty much all very similar.
If you'd already using jQuery, jQueryUI's option may be a good fit. Wijmo is also jQueryUI compatible/friendly (use the same theme CSS class names and patterns), so it's also a good fit.
So it kind of depends on what you want. Something very simple - maybe jQueryUI. Flashy/pretty -- SimpleModal. More complex but jQueryUI-friendly - Wijmo.
I have had no problems with the ModalPopupExtender in the AjaxControlToolkit, which will do exactly what you are intending.
The sample site for the modal popup is at http://www.asp.net/ajax/ajaxcontroltoolkit/samples/modalpopup/modalpopup.aspx
Note that the tool kit is free, and that it extends the base ASP.Net controls.
Lightbox Gone Wild is insanely quick to integrate, the contents can also be an aspx page.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I am very new to UnoPlatform. I am trying to create a new application. Yet for some time I am stuck at creating convenient way to navigate through views.
I searched through webs and forums. I found that the best design pattern would be MVVM. Demo Apps on platform.uno seems to be implemented using this pattern as well. However some approaches i found online are not possible with unoplatform, as far as I understand it.
To give an example:
The app starts at LoginPage. On successful login I want to be taken to a completely different view with different controls. One of the approaches I found is by holding currently active viewmodel and render pages accordingly.
Is there some approach you would recommend for navigating through views? Or some material I could read to understand this concept better?
Using MVVM Light, the navigation needs to be performed using the NavigationService, as you'll find in this documentation: http://www.mvvmlight.net/doc/nav5.cshtml.
You can also use Prism for Uno, which handles navigation per regions. You can find documentation here https://prismlibrary.com/docs/ and samples here: https://github.com/PrismLibrary/Prism/blob/c71957ad56c0cfedf479d46dcb1870c96232d86c/e2e/Uno/HelloUnoWorld.Shared/ViewModels/ShellViewModel.cs#L30
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
While Single-Page application approach is rising as a web development choice, I still don't understand, practically, how would losing the ability to go back/forward in the browser be an O.K sacrifice? Imagine Facebook without direct page navigation! Is there an essential/direct purpose for SPA I can't get my hands on?
You wont have to give up back button functionality to develop a single page application. HTML5 has a history api (and there's polyfills for older browsers) which allows your to keep back button functioning properly.
The main reason (in my opinion) to go for a single page approach is the more app-like feel it gives you. For example gmail feels more like an app than a web page, and given its purpose, I think that's way it should be too. Another example might be the pixlr online image editor.
Single page approach indeed doesn't suit every purpose, but when you want a webapp to feel just that, instead of a website, then single page might be the way to go.
You mentioned direct navigation in comments, and that's totally doable if it's something that makes sense in your context. Angularjs can do that, and I'm sure pretty much every modern single page framework has a way of implementing this.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Hopefully this question is not to broad or inappropriate for Stack Overflow. I use VS2013 to develop an asp.net website based upon SQL Server. I want to make a jquery mobile app that needs much of the DB content and would like to reuse my existing EF-linq-VB code. I've looked at somewhat similar questions here, but not found a good way to get started. I have ample books for the jquery mobile UI and often use regular jQuery in my web pages. It's not clear to me if I should start with an aspx page or an html page. If aspx then does this cause problems for jquery mobile? If html, then how to call VB code behind and move data back to the html page? Is there an good tutorial or example that deals with this? Thanks.
jquery mobile is Bulid on Javascript Base and It is Client Script , ASP.NET is on ServerSide .
so You can Choice html or aspx to Use jquery mobile. if you want exchange data. like Insert ,
Update, Delete. You can Use Json on ASP.NET in WebService or WebApi
ref
http://demos.jquerymobile.com/1.2.0/docs/forms/forms-sample.html
http://demos.jquerymobile.com/1.0a1/experiments/api-viewer/docs/jQuery.post/index.html
ASP.NET Example
Simple Form Submit in Jquery Mobile
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I want to buid a web page. The page contains a drop down which should look like this:
alt text http://img694.imageshack.us/img694/9350/dropdown.png
Is it possible using CSS or I would need to use a image with some javascipt?
You won't be able to style a select box like this. You have to make a custom one using JavaScript.
You can make using this jquery plugin
http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/
Yes it's possible without Javascript as long as the dropdown is to open automatically when you move the mouse over the button. "Son of suckerfish" is a popular drop-down menu implementation with only minimal added Javascript for older browsers, I have never used it for a standalone button but it should be easy to achieve.
A click-sensitive dropdown can't, to my knowledge, be done using pure CSS.
Edit: on second reading, I'm not sure what exactly you mean. Are you talking about the hand-drawn look of the button, or the behaviour of a dropdown button?
You would need to use a combination of CSS and javascript to create a custom select box. Unfortunately, elements aren't very stylable in most browsers.
EDIT
An example: http://lab.aspektas.com/select/select.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm currently attempting to create a tabbed interface in a web application, and based on my search, there aren't any 'built in' tab controls in ASP.NET. There are some in the ASP.NET AJAX downloadable toolkit, as well as a wealth of 'pay for use' third party Tab Controls.
My question is: What Tab control have you used for ASP.NET applications, and why do you use it?
You can use MultiView/Views and your own navigation to get tabs in ASP.NET.
I've used the AJAX TabControl in the past and I like it. It's pretty straight forward. It's easy enough to get to the active tab and its content.
I have used the Rad TabStrip control by Telerik and it is one of the best to work with in my opinion.
We use multiviews most of the time, or, in some cases, we build our own tab controls out of a combination of link buttons and overlapping panels and swap their visibilities based on what link button has been pressed (this may seem primative, but it works well).