These are my tabbed page.
If I click on the GÖNDER button, I'm going to the SONUÇ page.
When I open the program, my % value in my SONUÇ page is opening %0 by default. I need a set of actions. But the master-detail page opens automatically when the program is opened.
When I click on the GÖNDER button, the % VALUE on the SONUÇ page changes but I can not show because I can not Reload.
How can I reload or refresh when my SONUÇ page changes % value?
Might be in this case MessagingCenter concept will useful for you in xamarin.forms
Reference link:
https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/messaging-center/
Related
i have some issues right here with ASP Multiview which i can't seem to figure out.
I have this page called Submit.aspx, it is fired up via iframe in AJAX toolkit popup modal extender. I have applied Multiview to this form. When it loads, it will display ActiveIndex 0. If user has clicked the submit button, it will change ActiveIndex to 1 which display "your form has been submitted, etc. and it will auto close via javascript. When i click on Submit link again, the ActiveViewIndex is still stucked at 1, how do i go about programming it to sort of reset/clear the ActiveViewIndex?
You could specifically set the MultiView value with MultiView.SetActiveView(view value)
i have two asp page,first one is home and second one is test. In home page user can select the type of test they want to take up, and after pressing start button a new window is open for taking the test. What i want to achieve is , after completing the test i want to close the test window and redirect to another page, and this redirect should hit the previously opened home window.
You don't clarify that you have popup window or blank window i am aspecting for the popup
In submit click button press
String x = "<script type='text/javascript'>window.opener.location.href='**Your new url of new page after completing test**';self.close();</script>";
ScriptManager.RegisterClientScriptBlock(this.Page,this.Page.GetType(), "script", x,false);
From self close you will be able to close current window and by window.opener.location.href you will able to redirect to new url
I hope this will help you
regards....:)
Yes you can do these 2 ways:
Window.Open() /.showmodalDialog() and keep parent and child open as well, or
On the home page click on your start button. Use code Response.Redirect("~/Test.aspx"); assuming it resides with Home.aspx. Take your test using ASp.Net wizard control or hiddens divs what ever suits you easy. Manipulate data on test page , save and get result to and from database using SqlConnection and SqlCommand assuming you have Sql Server as backend. Hold the table or any value in either cache or Session and throw it on your home page. Do whatever you want.
This will be not possible. What you can do is to redirect the user to the home page after completing the test, but this will be in the same windows.
I am building a .Net 3.5 WinForms based questionnaire comprising 9 steps (each on a tab page using a TabControl control). I would like users to move to the next tab ONLY when they click a "Next Step" button I've provided and not jump to later steps by clicking on the tab buttons above.
Basically, I dont want them to see contents of later steps/tab pages without completing the current step/tab page they are on, and then clicking my "Next Step" button.
Any ideas would be appreciated. Cheers.
you can create your tabe pages and remove all pages except first page by
Like
tabControl1.TabPages.Remove(tabPage2);
.
.
.
tabControl1.TabPages.Remove(tabPageN);
and after each click of next button
add proper page (may be next page ) to tabecontrol
tabControl1.TabPages.Add(tabPage2);
and
tabControl1.TabPages.Add(tabPage3);
I have an Index.aspx with a button inside which that button will call a controller, doing some logic and returning to a PartialView control - let's named it PopUpPartialView.ascx (as a popup). So to make it clear, the popup windows(PopUpPartialView) actually stays ON the top of Index.aspx when user clicks on the button.
In PopUpPartialView.ascx, there is another button, that returns say a GenerateList and now the problem is - how do I pass the thing back to the same popup windows in PopUpPartialView.ascx on the top of Index.aspx as it was before? How should my controller codes look like?
Here's what I have on the return:
return PartialView("PopUpPartialView", GenerateList);
this clearly NOT working as what I want, because it doesn't point back to Index page. I was thinking perhaps to use ajax so that I could stay on that popup ascx page. Confused~~ Someone please guide me.
Thanks.
My advice is to use a plugin which handles all the popup plumbing for you.
My poison of choice is jqModal.
It's very easy to work with - essentially a hidden container on the page, and you can load contents in there either on the initial render, or on a click event via AJAX.
So in your example, you could handle the button event click, show the dialog and load the contents of your partial view into the hidden container.
Just wondering will it be possible to passing a value from one page (window browser 1) to another page (window browser 2) without reloading the page?
Example:
I have a page called test1.aspx, and inside this page with a button, when user clicked on this button, this will pop-up a new browser by displaying test2.aspx.
Inside test2.aspx will contain some data and when user clicked on the 'close' button there, it will passing the value back to test1.aspx without reload the page for test1.aspx (by fill in all data from test2.aspx into the fields in test.aspx).
Does anyone know will it possible? also any way I can find out some example? Thanks.
Yes you can do this by using AJAX and JQuery.
From the POP-UP window you can store the value in the Session variable, You have to do some code of Jquery when POP-UP Window is closed and then reload the particular portion in your page using AJAX. This is how you can do this.
You need to search the Jquery using which you can get the event of closing the POP-UP Window.