How do i load a new page
hey guys n'girls
so im working little around on silverlight(1.0) hompage asp c# .net , these things.
i had create firstly login page called 'default.aspx'. there can give username , password login. when login button clicked, handling authorisation , errors handeled in 'sendlogin_click' function in 'default.aspx.cs'
everything sounds amazing in ear, how nudge browser these .cs file load new page or load same page failure if login incorrect.
hope understand problem is.
sincerely yours
aqa
one way have userid , password textboxes , submit button on aspx page display style of "none" and, in sl code, populate controls values input sl app , call button's click() event. that's fine if going use sl on login page, but, keep in mind if next page uses sl, too, new sl app have no knowledge of happened on previous page.
if you're going keep user in sl after login, though, should consider doing authorization via web service in sl code , staying on default.aspx. instead of posting , changing aspx page user on, change see in sl page.
i don't think i'm explaining well, please feel free ask more questions.
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment