Navigation in Window
-
Hi, Can we use navigation in windows. I want to move to anotherwindow on clicking Login button in one window.I also want to store some session values.Ihad done all these in Page. But i want the application window to be small.Hence i want to do it in window.Any idea! :(
Gomathi R
-
Hi, Can we use navigation in windows. I want to move to anotherwindow on clicking Login button in one window.I also want to store some session values.Ihad done all these in Page. But i want the application window to be small.Hence i want to do it in window.Any idea! :(
Gomathi R
GomathiR wrote:
Ihad done all these in Page. But i want the application window to be small.Hence i want to do it in window
What do you mean ? What page are you talking about ? Have you taken a look at the Navigation service feature WPF provides ? See here Link[^] I have not used it but it seems to be for both standalone and borwser applications.
-
Hi, Can we use navigation in windows. I want to move to anotherwindow on clicking Login button in one window.I also want to store some session values.Ihad done all these in Page. But i want the application window to be small.Hence i want to do it in window.Any idea! :(
Gomathi R
You could show your login screen as a modal dialog. WPF is perfectly happy with you displaying dialogs.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
You could show your login screen as a modal dialog. WPF is perfectly happy with you displaying dialogs.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Hi, i am using this method only. But it is applicable for Page navigation only.I want window navigation. :(
Gomathi R
GomathiR wrote:
But it is applicable for Page navigation only
No it's not. A standard Windows application can show a Dialog. What you could do - and this is a hack, is show the login dialog before you call
InitializeComponent();
in the window class. Then, callApplication.Shutdown();
if the login fails."WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
GomathiR wrote:
But it is applicable for Page navigation only
No it's not. A standard Windows application can show a Dialog. What you could do - and this is a hack, is show the login dialog before you call
InitializeComponent();
in the window class. Then, callApplication.Shutdown();
if the login fails."WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Thanks Pete. But now i am looking at another serious problem. I am using infra grid in my page. I want to perform edit operation in it. I found a method which works only when "Select *" is used.And also it displays two objects in the grid. Any idea regarding this.very urgent
Gomathi R
-
Thanks Pete. But now i am looking at another serious problem. I am using infra grid in my page. I want to perform edit operation in it. I found a method which works only when "Select *" is used.And also it displays two objects in the grid. Any idea regarding this.very urgent
Gomathi R
I don't use the Infra grid, so I can't help you on this. If you can't figure it out, you should raise this on the Infragistics support forums - they are the best place to figure vendor specific issues out.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.