ASP.NET with VB.NET codebehind - controls without postback.

A

Antoine

Forgive me as a beginner in asp.net. I wanted to ask some simple but clear
questions, at least I hope they are.

Ive seen a control in asp.net that works with codebehind and the good thing
about the control it uses, is that it doesnt appear to use postback.
I've generated myown app, it works well but with postback.
I've tried it so that each button click only brings a ranged source of
binded data, but its surely not as quite a preloading all the data and then
navigating the control with-out postback.

Id like to do similar using some kind of javacontrol - but I was wondering,
if my main control with databinded to it is a standard calendar, will I see
ANY advantage in doing it this way as opposed to postback?
I know there are lots of third party controls out there for this but I see
this a bit as perhaps a/cop out? b/expensive c/as difficult as
understanding the controls myself maybe?

I have already tested and its quite easy to make some buttons server side
control, and then access the functions of the calendar to change visible
week etc, but that at least appears to take the same performance and page
refresh as the way I currently have it coded (with postback).
I am not 100% sure if it is. Maybe its just a case of testing for whether
the form is loaded and its just a matter of recoding the codebehind such as
on the form load.
I thought that maybe some technical such as referecing the control in the
codebehind might achieve this - I might be wrong.

Is there any point in trying to recode it, trying to use with javascript
control, or is it pointeless when I am binding to the standard MS calendar?
It works ok AS is with postback, but I wonder if people would be more
impressed if it navigated more smoothly without the postback.

Also, when I am using Java control and trying to interop with the
codebehind, is it easiest to do this with a non-enabled (ie hidden) field,
or is there easier and better ways to do it do you think? I am currently
thinking perhaps the hidden way is easiest for me.

Short of answering this, would otherwise anyone recommend a training course,
cd or manual that discussed non-postback in better detail?
I have literally only been into any kind of VB for less than a month (but I
have written my own app, nevertheless - though debugging may be required!).
Thanks kindly for answering this question, anyone.

Cheers
Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top