I'm using a GridView in ASP.NET web application and want to open something like a "new form" (like in Windows Forms application) which will contain the selected GridView row data. I don't have issues selecting the row and the data, I just want to know how to open a new pop-up window, or secondary page or something like that, and how to pass the information to newly opened pop-up.
Years ago I wrote a simple tutorial on that:
http://netpl.blogspot.com/2007/12/autocompleteextender-key-value-issue.html
http://netpl.blogspot.com/2007/12/autocompleteextender-and-key-value.html
Related
I am quite new to C#. I am creating a Windows Form Application in Visual Studio 2017 and I was wondering how I link one page to another? e.g. clicking on next which will guide the user to the next page. I do not know the exact words for how to explain this but my research as of now has been quite useless.
I would like to know if I need to create another form? or simply add a new item to the existing form.. I am just not sure. Any help would be great thank you.
Sorry if unclear: E.g.
I have a form I am creating, which requires several details which should be on different stages of the app? I am wanting to have a next button which moves the user from the first page where it may have textboxes to a next page (which I will create - depending on how it works) where there may be radioButton questions.
If you want to project the new page in separate dialog or window just create separate form and trigger the open function of the form when next button is clicked.
If you want to project the new page in the same dialog then use tab control in that same form and make some validation to switch to next tab when next button is clicked.
Note: Using tab control is the best idea for your case.
I am doing a project in which I have to make a windows application that will have some texboxes and checkboxes and these has to be filled by the user. I want to use this information and to automatically fill some fields in a Website when I click on a button, in my windows form.
I'm quite new to the subject and I have searched and found some ways that maybe I can do it, but I'm not sure how to do it. I heard about Web Client, Web Request and Web Response, and also HTML Agility Pack. The site is http://re.jrc.ec.europa.eu/pvgis/apps4/pvest.php#.
I want to fill some of these fields and checkboxes with the information that I have in my Windows Form, and then click the calculate button and save the output. What is the best way to do that? I'm programming in C#.
Thanks for your time.
How can I limit the amount of windows opened from a grid-view in an web (web forms) application?
I have a grid-view that has a view link for each row. Each time I click on Edit I can open a new window to present details about the record, but I want to force the application to close the previous window opened before showing the next one.
I've tried to implement Singleton, but it didn't work (that window needs to update x seconds). I also attempted using Application.OpenForms, but that's only for WPF.
Any suggestions are greatly appreciated.
Thank you,
I'm using Visual Studio 2010, and i'm creating a website using C#.
I'm opening a pop-up when user clicks a button.
Now i want to perform the task mentioned below:
When a pop-up opens i do not want user to click anywhere else. I mean
he should be able to click or do any activity in the pop-up window
ONLY, whereas he shouldn't be able to do anything in the parent
window until and unless he closes the pop-up.
How to achieve this?
Depends on how you are creating the website. C# is the server-side language and can be used in ASP.Net websites as well as MVC.
If ASP.Net, Ajax Control Toolkit has a modal popup:
http://www.asp.net/ajaxlibrary/ajaxcontroltoolkitsamplesite/modalpopup/modalpopup.aspx
If MVC, jQuery has a modal popup:
http://jqueryui.com/dialog/
I'm fairly new to WPF and .NET in general. What I am trying to do is to create an application that has multiple forms. My question is that how should navigate through these forms?
Imagine there are 10 forms and each form has a button on it saying "Next" and upon click, goes to the next form, except the last form which terminates the entire application, like an installer if you will.
What should the "Next" buttons do? Should they create a new object of the next form and close the current form? I noticed this has a closing/opening visual effect which made me realize maybe I'm not doing it right.
What you need is a Wizard like approach.. look at this thread
Developing wizard UI - WPF