Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Is there a way .....

Reply
Thread Tools

Is there a way .....

 
 
Greg Smith
Guest
Posts: n/a
 
      12-30-2003
Maybe I should say "what is the best way" to do this.

I have a web app that I am writing that is a questionnaire. I have the
"Submit" button disabled until all of the questions are answered. I have
AutoPostBack set to true on the combo boxes I am using to get the responses.
I do a validity check whenever a combo box is changed. This works just fine
until the page gets large and the post back sends you to the top of the
page. It seems to me there must be a better way of doing this so the user
flows down the page properly.

Any help is greatly appreciated.


 
Reply With Quote
 
 
 
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      12-30-2003
Greg,

SmartNavigation will enable your page to remain in place between postbacks,
but I wouldn't recommend that as the best way. Instead, I would implement
your enabling/disabling of the button via client-side script so that there
is not postback.

Jim Cheshire, MCSE, MCSD [MSFT]
Microsoft Product Support Services
ASP.NET Developer Support

This post is provided "as-is" and confers no rights.

--------------------
>From: "Greg Smith" <>
>Subject: Is there a way .....
>Date: Tue, 30 Dec 2003 09:16:45 -0600
>Lines: 13
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
>NNTP-Posting-Host: pc110-115.ahc.umn.edu 160.94.110.115
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!tk2msftngp13.
phx.gbl
>Xref: cpmsftngxa07.phx.gbl

microsoft.public.dotnet.framework.aspnet.webcontro ls:17131
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontro ls
>
>Maybe I should say "what is the best way" to do this.
>
>I have a web app that I am writing that is a questionnaire. I have the
>"Submit" button disabled until all of the questions are answered. I have
>AutoPostBack set to true on the combo boxes I am using to get the

responses.
>I do a validity check whenever a combo box is changed. This works just

fine
>until the page gets large and the post back sends you to the top of the
>page. It seems to me there must be a better way of doing this so the user
>flows down the page properly.
>
>Any help is greatly appreciated.
>
>
>


 
Reply With Quote
 
 
 
 
Greg Smith
Guest
Posts: n/a
 
      12-31-2003
Thanks for your help Jim. I am going to have to do some reading in order to
write a client side script, I'm still pretty new to the web side.. I tried
the SmartNavigation thing and had no luck. I set the property and double
checked the it was set in the @Page statement but it still behaves the same.
Is there something else that I need to do?


"Jim Cheshire [MSFT]" <> wrote in message
news:...
> Greg,
>
> SmartNavigation will enable your page to remain in place between

postbacks,
> but I wouldn't recommend that as the best way. Instead, I would implement
> your enabling/disabling of the button via client-side script so that there
> is not postback.
>
> Jim Cheshire, MCSE, MCSD [MSFT]
> Microsoft Product Support Services
> ASP.NET Developer Support
>
> This post is provided "as-is" and confers no rights.
>
> --------------------
> >From: "Greg Smith" <>
> >Subject: Is there a way .....
> >Date: Tue, 30 Dec 2003 09:16:45 -0600
> >Lines: 13
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
> >NNTP-Posting-Host: pc110-115.ahc.umn.edu 160.94.110.115
> >Path:

>

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!tk2msftngp13.
> phx.gbl
> >Xref: cpmsftngxa07.phx.gbl

> microsoft.public.dotnet.framework.aspnet.webcontro ls:17131
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontro ls
> >
> >Maybe I should say "what is the best way" to do this.
> >
> >I have a web app that I am writing that is a questionnaire. I have the
> >"Submit" button disabled until all of the questions are answered. I have
> >AutoPostBack set to true on the combo boxes I am using to get the

> responses.
> >I do a validity check whenever a combo box is changed. This works just

> fine
> >until the page gets large and the post back sends you to the top of the
> >page. It seems to me there must be a better way of doing this so the

user
> >flows down the page properly.
> >
> >Any help is greatly appreciated.
> >
> >
> >

>



 
Reply With Quote
 
Alessandro Zifiglio
Guest
Posts: n/a
 
      12-31-2003
smartnavigation works for IE even though it has a few issues with it you
shouldnt have much a problem using it. I love smartNavigation, mostly
because it does all the work of retrieving and reloading your page via an
invisible iframe and your page should not even flicker during postback. Very
clever of MS
As an alternative and a cross browser solution you might want to try and
read this article :
http://www.dotnetjunkies.com/Tutoria...E6AF9052D.dcik



"Greg Smith" <> wrote in message
news:...
> Thanks for your help Jim. I am going to have to do some reading in order

to
> write a client side script, I'm still pretty new to the web side.. I

tried
> the SmartNavigation thing and had no luck. I set the property and double
> checked the it was set in the @Page statement but it still behaves the

same.
> Is there something else that I need to do?
>
>
> "Jim Cheshire [MSFT]" <> wrote in message
> news:...
> > Greg,
> >
> > SmartNavigation will enable your page to remain in place between

> postbacks,
> > but I wouldn't recommend that as the best way. Instead, I would

implement
> > your enabling/disabling of the button via client-side script so that

there
> > is not postback.
> >
> > Jim Cheshire, MCSE, MCSD [MSFT]
> > Microsoft Product Support Services
> > ASP.NET Developer Support
> >
> > This post is provided "as-is" and confers no rights.
> >
> > --------------------
> > >From: "Greg Smith" <>
> > >Subject: Is there a way .....
> > >Date: Tue, 30 Dec 2003 09:16:45 -0600
> > >Lines: 13
> > >X-Priority: 3
> > >X-MSMail-Priority: Normal
> > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> > >Message-ID: <>
> > >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
> > >NNTP-Posting-Host: pc110-115.ahc.umn.edu 160.94.110.115
> > >Path:

> >

>

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!tk2msftngp13.
> > phx.gbl
> > >Xref: cpmsftngxa07.phx.gbl

> > microsoft.public.dotnet.framework.aspnet.webcontro ls:17131
> > >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontro ls
> > >
> > >Maybe I should say "what is the best way" to do this.
> > >
> > >I have a web app that I am writing that is a questionnaire. I have the
> > >"Submit" button disabled until all of the questions are answered. I

have
> > >AutoPostBack set to true on the combo boxes I am using to get the

> > responses.
> > >I do a validity check whenever a combo box is changed. This works just

> > fine
> > >until the page gets large and the post back sends you to the top of the
> > >page. It seems to me there must be a better way of doing this so the

> user
> > >flows down the page properly.
> > >
> > >Any help is greatly appreciated.
> > >
> > >
> > >

> >

>
>



 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      12-31-2003
Greg,

That should do it. However, I really wouldn't spin any wheels on it.
Instead, I would definitely pursue a client-side solution. It will be a
much better experience.

Jim Cheshire, MCSE, MCSD [MSFT]
Microsoft Developer Support
ASP.NET


This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "Greg Smith" <>
>References: <>

<>
>Subject: Re: Is there a way .....
>Date: Wed, 31 Dec 2003 10:19:19 -0600
>Lines: 63
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
>NNTP-Posting-Host: pc110-115.ahc.umn.edu 160.94.110.115
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!cpmsftng xa09.phx.gbl!TK2MSFTNGP08.
phx.gbl!TK2MSFTNGP10.phx.gbl
>Xref: cpmsftngxa07.phx.gbl

microsoft.public.dotnet.framework.aspnet.webcontro ls:17146
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontro ls
>
>Thanks for your help Jim. I am going to have to do some reading in order

to
>write a client side script, I'm still pretty new to the web side.. I tried
>the SmartNavigation thing and had no luck. I set the property and double
>checked the it was set in the @Page statement but it still behaves the

same.
>Is there something else that I need to do?
>
>
>"Jim Cheshire [MSFT]" <> wrote in message
>news:...
>> Greg,
>>
>> SmartNavigation will enable your page to remain in place between

>postbacks,
>> but I wouldn't recommend that as the best way. Instead, I would

implement
>> your enabling/disabling of the button via client-side script so that

there
>> is not postback.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> Microsoft Product Support Services
>> ASP.NET Developer Support
>>
>> This post is provided "as-is" and confers no rights.
>>
>> --------------------
>> >From: "Greg Smith" <>
>> >Subject: Is there a way .....
>> >Date: Tue, 30 Dec 2003 09:16:45 -0600
>> >Lines: 13
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
>> >NNTP-Posting-Host: pc110-115.ahc.umn.edu 160.94.110.115
>> >Path:

>>

>cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFT NGP08.phx.gbl!tk2msftngp13

 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      12-31-2003
Good point, Alessandro. If you are using a browser other than Internet
Explorer, SmartNav isn't going to work.

Jim Cheshire, MCSE, MCSD [MSFT]
Microsoft Developer Support
ASP.NET


This post is provided as-is with no warranties and confers no rights.


--------------------
>From: "Alessandro Zifiglio" <>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
>References: <>

<>
<>
>Subject: Re: Is there a way .....
>Lines: 85
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <mkEIb.22421$>
>Date: Wed, 31 Dec 2003 19:07:05 +0100
>NNTP-Posting-Host: 62.94.97.216
>X-Complaints-To:
>X-Trace: news.edisontel.com 1072894354 62.94.97.216 (Wed, 31 Dec 2003

19:12:34 MET)
>NNTP-Posting-Date: Wed, 31 Dec 2003 19:12:34 MET
>Organization: EdisonTel SpA
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!newsfeed00.su
l.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!newsfee der.edison
tel.com!news.edisontel.com!53ab2750!not-for-mail
>Xref: cpmsftngxa07.phx.gbl

microsoft.public.dotnet.framework.aspnet.webcontro ls:17148
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontro ls
>
>smartnavigation works for IE even though it has a few issues with it you
>shouldnt have much a problem using it. I love smartNavigation, mostly
>because it does all the work of retrieving and reloading your page via an
>invisible iframe and your page should not even flicker during postback.

Very
>clever of MS
>As an alternative and a cross browser solution you might want to try and
>read this article :
>http://www.dotnetjunkies.com/Tutoria...6-530E6AF9052D.

dcik
>
>
>
>"Greg Smith" <> wrote in message
>news:...
>> Thanks for your help Jim. I am going to have to do some reading in order

>to
>> write a client side script, I'm still pretty new to the web side.. I

>tried
>> the SmartNavigation thing and had no luck. I set the property and double
>> checked the it was set in the @Page statement but it still behaves the

>same.
>> Is there something else that I need to do?
>>
>>
>> "Jim Cheshire [MSFT]" <> wrote in message
>> news:...
>> > Greg,
>> >
>> > SmartNavigation will enable your page to remain in place between

>> postbacks,
>> > but I wouldn't recommend that as the best way. Instead, I would

>implement
>> > your enabling/disabling of the button via client-side script so that

>there
>> > is not postback.
>> >
>> > Jim Cheshire, MCSE, MCSD [MSFT]
>> > Microsoft Product Support Services
>> > ASP.NET Developer Support
>> >
>> > This post is provided "as-is" and confers no rights.
>> >
>> > --------------------
>> > >From: "Greg Smith" <>
>> > >Subject: Is there a way .....
>> > >Date: Tue, 30 Dec 2003 09:16:45 -0600
>> > >Lines: 13
>> > >X-Priority: 3
>> > >X-MSMail-Priority: Normal
>> > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> > >Message-ID: <>
>> > >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
>> > >NNTP-Posting-Host: pc110-115.ahc.umn.edu 160.94.110.115
>> > >Path:
>> >

>>

>cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFT NGP08.phx.gbl!tk2msftngp13

 
Reply With Quote
 
Greg Smith
Guest
Posts: n/a
 
      12-31-2003
> That should do it. However, I really wouldn't spin any wheels on it.
> Instead, I would definitely pursue a client-side solution. It will be a
> much better experience.


Hum...... guess I have some reading to do. I seem to be struggling with
referencing the properties of an object on the web page.

Can you recommend any good books?


 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      12-31-2003
Greg,

I personally like O'Reilly's Dynamic HTML: The Definitive Reference, but
it's a little dated. MS Press has a good book on IE development as well.

Jim Cheshire, MCSE, MCSD [MSFT]
Microsoft Developer Support
ASP.NET


This post is provided as-is with no warranties and confers no rights.


--------------------
>From: "Greg Smith" <>
>References: <>

<>
<>
<>
>Subject: Re: Is there a way .....
>Date: Wed, 31 Dec 2003 13:37:13 -0600
>Lines: 10
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
>NNTP-Posting-Host: pc110-115.ahc.umn.edu 160.94.110.115
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP10.
phx.gbl
>Xref: cpmsftngxa07.phx.gbl

microsoft.public.dotnet.framework.aspnet.webcontro ls:17153
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontro ls
>
>> That should do it. However, I really wouldn't spin any wheels on it.
>> Instead, I would definitely pursue a client-side solution. It will be a
>> much better experience.

>
>Hum...... guess I have some reading to do. I seem to be struggling with
>referencing the properties of an object on the web page.
>
>Can you recommend any good books?
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Parsing Binary Structures; Is there a better way / What is your way? Paul Rubin Python 5 08-06-2009 08:06 AM
Is there a way to do 2-way binding with .Net XmlDataSource Controls? Bill Nicholson ASP .Net Web Controls 1 09-26-2007 08:42 PM
Is there a way with Linux x86 to report a way the current stack trace for a thread? kevin.hall@motioneng.com C++ 4 10-20-2005 09:43 PM
TURNING CRAZY, is there a way to write it in a different way? whats wrong francisco lopez Javascript 2 12-31-2004 11:15 PM
is there a way ..... any way Andries Perl Misc 27 04-27-2004 06:15 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57